Repository: incubator-nifi Updated Branches: refs/heads/NIFI-353 0ebb54a50 -> b1873d866
NIFI-353: - Adjusting the layout of the file name and content type. Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/b1873d86 Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/b1873d86 Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/b1873d86 Branch: refs/heads/NIFI-353 Commit: b1873d86649d22fcf39956c93371be124a2e161b Parents: 0ebb54a Author: Matt Gilman <[email protected]> Authored: Wed Mar 18 23:08:57 2015 -0400 Committer: Matt Gilman <[email protected]> Committed: Wed Mar 18 23:08:57 2015 -0400 ---------------------------------------------------------------------- .../src/main/webapp/WEB-INF/jsp/header.jsp | 3 ++- .../nifi-web-content-viewer/src/main/webapp/css/main.css | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/b1873d86/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp/header.jsp ---------------------------------------------------------------------- diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp/header.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp/header.jsp index 6501f5b..83b3ade 100644 --- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp/header.jsp +++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/WEB-INF/jsp/header.jsp @@ -87,5 +87,6 @@ <body class="message-pane"> <div id="view-as-label">View as</div> <div id="view-as" class="pointer button-normal"></div> - <div id="content-filename">${filename} <span id="content-type">(${contentType})</span></div> + <div id="content-filename"><span style="font-weight: bold;">Filename</span> ${filename}</div> + <div id="content-type"><span style="font-weight: bold;">Content type</span> ${contentType}</div> <div class="message-pane-message-box"> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/b1873d86/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/css/main.css ---------------------------------------------------------------------- diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/css/main.css b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/css/main.css index 0d260ee..19b7b9b 100644 --- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/css/main.css +++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-content-viewer/src/main/webapp/css/main.css @@ -37,16 +37,18 @@ #content-filename { position: absolute; - top: 72px; + top: 58px; right: 50px; line-height: 24px; font-size: 12px; - font-weight: bold; } #content-type { - font-style: italic; - font-weight: normal; + position: absolute; + top: 75px; + right: 50px; + line-height: 24px; + font-size: 12px; } .pointer {
