You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2015/03/16 12:31:05 UTC
[6/6] incubator-nifi git commit: NIFI-250: - Adjusting the layout of
the reporting task dialog. - Renaming the reporting task run status column.
NIFI-250:
- Adjusting the layout of the reporting task dialog.
- Renaming the reporting task run status column.
Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/92cbce49
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/92cbce49
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/92cbce49
Branch: refs/heads/NIFI-250
Commit: 92cbce496936c7e166c8666b379dcc8582b6d121
Parents: 2c6f3a9
Author: Matt Gilman <ma...@gmail.com>
Authored: Mon Mar 16 07:30:50 2015 -0400
Committer: Matt Gilman <ma...@gmail.com>
Committed: Mon Mar 16 07:30:50 2015 -0400
----------------------------------------------------------------------
.../canvas/reporting-task-configuration.jsp | 45 +++++++++-----------
.../src/main/webapp/css/reporting-task.css | 8 +---
.../src/main/webapp/js/nf/canvas/nf-settings.js | 2 +-
3 files changed, 24 insertions(+), 31 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/92cbce49/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/reporting-task-configuration.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/reporting-task-configuration.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/reporting-task-configuration.jsp
index 29737ea..8dbbc57 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/reporting-task-configuration.jsp
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/reporting-task-configuration.jsp
@@ -62,32 +62,29 @@
<div class="spacer"> </div>
<div class="settings-right">
<div class="setting">
- <div class="reporting-task-scheduling-strategy-container">
- <div class="setting-name">
- Scheduling strategy
- <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The strategy used to schedule this reporting task."/>
- </div>
- <div class="reporting-task-editable setting-field">
- <div id="reporting-task-scheduling-strategy-combo"></div>
- </div>
- <div class="reporting-task-read-only setting-field hidden">
- <span id="read-only-reporting-task-scheduling-strategy"></span>
- </div>
+ <div class="setting-name">
+ Scheduling strategy
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The strategy used to schedule this reporting task."/>
</div>
- <div class="reporting-task-scheduling-period-container">
- <div class="setting-name">
- Run schedule
- <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The amount of time that should elapse between task executions."/>
- </div>
- <div class="reporting-task-editable setting-field">
- <input type="text" id="reporting-task-timer-driven-scheduling-period" class="reporting-task-scheduling-period small-setting-input"/>
- <input type="text" id="reporting-task-cron-driven-scheduling-period" class="reporting-task-scheduling-period small-setting-input"/>
- </div>
- <div class="reporting-task-read-only setting-field hidden">
- <span id="read-only-reporting-task-scheduling-period"></span>
- </div>
+ <div class="reporting-task-editable setting-field">
+ <div id="reporting-task-scheduling-strategy-combo"></div>
+ </div>
+ <div class="reporting-task-read-only setting-field hidden">
+ <span id="read-only-reporting-task-scheduling-strategy"></span>
+ </div>
+ </div>
+ <div class="setting">
+ <div class="setting-name">
+ Run schedule
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The amount of time that should elapse between task executions."/>
+ </div>
+ <div class="reporting-task-editable setting-field">
+ <input type="text" id="reporting-task-timer-driven-scheduling-period" class="reporting-task-scheduling-period"/>
+ <input type="text" id="reporting-task-cron-driven-scheduling-period" class="reporting-task-scheduling-period"/>
+ </div>
+ <div class="reporting-task-read-only setting-field hidden">
+ <span id="read-only-reporting-task-scheduling-period"></span>
</div>
- <div class="clear"></div>
</div>
</div>
<div class="clear"></div>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/92cbce49/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/reporting-task.css
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/reporting-task.css b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/reporting-task.css
index 50ecd41..a94ed6c 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/reporting-task.css
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/reporting-task.css
@@ -94,17 +94,13 @@ div.availability-setting {
width: 140px;
}
-div.reporting-task-scheduling-strategy-container, div.reporting-task-scheduling-period-container {
- float: left;
- width: 175px;
-}
-
#reporting-task-scheduling-strategy-combo {
- width: 145px;
+ width: 150px;
height: 18px;
line-height: 18px;
}
input.reporting-task-scheduling-period {
font-size: 11px !important;
+ width: 150px;
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/92cbce49/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
index d3a3eff..35e7e5e 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
@@ -1378,7 +1378,7 @@ nf.Settings = (function () {
{id: 'moreDetails', field: 'moreDetails', name: ' ', resizable: false, formatter: moreReportingTaskDetails, sortable: true, width: 50, maxWidth: 50},
{id: 'name', field: 'name', name: 'Name', sortable: true, resizable: true},
{id: 'type', field: 'type', name: 'Type', sortable: true, resizable: true, formatter: typeFormatter},
- {id: 'state', field: 'state', name: 'State', sortable: true, resizeable: true, formatter: reportingTaskRunStatusFormatter},
+ {id: 'state', field: 'state', name: 'Run Status', sortable: true, resizeable: true, formatter: reportingTaskRunStatusFormatter},
{id: 'actions', name: ' ', resizable: false, formatter: reportingTaskActionFormatter, sortable: false, width: 90, maxWidth: 90}
];