NIFI-3245:

- Adding notes to the controller service tables to better define their availability.
- Clarifying support of Safari.

This closes #1593

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
This commit is contained in:
Matt Gilman 2017-03-13 13:01:35 -04:00 committed by Scott Aslan
parent 620c572703
commit 9d4239be1e
7 changed files with 34 additions and 1 deletions

View File

@ -47,6 +47,8 @@ Browser Support
Current and Current - 1 indicates that the UI is supported in the current stable release of that browser and the preceding one. For instance, if Current and Current - 1 indicates that the UI is supported in the current stable release of that browser and the preceding one. For instance, if
the current stable release is 45.X then the officially supported versions will be 45.X and 44.X. the current stable release is 45.X then the officially supported versions will be 45.X and 44.X.
For Safari, which releases major versions much less frequently, Current and Current - 1 simply represent the two latest releases.
The supported browser versions are driven by the capabilities the UI employs and the dependencies it uses. UI features will be developed and tested The supported browser versions are driven by the capabilities the UI employs and the dependencies it uses. UI features will be developed and tested
against the supported browsers. Any problem using a supported browser should be reported to Apache NiFi. against the supported browsers. Any problem using a supported browser should be reported to Apache NiFi.

View File

@ -61,5 +61,7 @@
Last updated:&nbsp;<span id="process-group-configuration-last-refreshed" class="last-refreshed"></span> Last updated:&nbsp;<span id="process-group-configuration-last-refreshed" class="last-refreshed"></span>
</div> </div>
<div id="process-group-configuration-loading-container" class="loading-container"></div> <div id="process-group-configuration-loading-container" class="loading-container"></div>
<div id="flow-cs-availability" class="hidden">Listed services are available to all descendant Processors and services of this Process Group.</div>
<div class="clear"></div>
</div> </div>
</div> </div>

View File

@ -70,5 +70,7 @@
Last updated:&nbsp;<span id="settings-last-refreshed" class="value-color"></span> Last updated:&nbsp;<span id="settings-last-refreshed" class="value-color"></span>
</div> </div>
<div id="settings-loading-container" class="loading-container"></div> <div id="settings-loading-container" class="loading-container"></div>
<div id="controller-cs-availability" class="hidden">Listed services are available to all Reporting Tasks and services defined in the Controller Settings.</div>
<div class="clear"></div>
</div> </div>
</div> </div>

View File

@ -44,6 +44,7 @@
position: absolute; position: absolute;
bottom: 20px; bottom: 20px;
left: 0px; left: 0px;
right: 0px;
height: 32px; height: 32px;
} }
@ -65,6 +66,14 @@
font-weight: 500; font-weight: 500;
} }
#flow-cs-availability {
float: right;
margin-top: 8px;
color: #775351;
font-family: Roboto;
font-size: 13px;
}
/* general */ /* general */
#general-process-group-configuration input, #general-process-group-configuration textarea { #general-process-group-configuration input, #general-process-group-configuration textarea {

View File

@ -35,7 +35,7 @@ div.settings-header-text {
div.settings-container { div.settings-container {
position: absolute; position: absolute;
top: 58px; top: 58px;
bottom: 0px; bottom: 52px;
left: 0px; left: 0px;
right: 0px; right: 0px;
} }
@ -49,6 +49,7 @@ div.settings-container {
bottom: 20px; bottom: 20px;
right: 0px; right: 0px;
left: 0px; left: 0px;
height: 32px;
} }
/* settings tabs */ /* settings tabs */
@ -94,6 +95,14 @@ div.settings-refresh-button {
font-weight: 500; font-weight: 500;
} }
#controller-cs-availability {
float: right;
margin-top: 8px;
color: #775351;
font-family: Roboto;
font-size: 13px;
}
/* general */ /* general */
#general-settings input { #general-settings input {

View File

@ -288,6 +288,7 @@
var tab = $(this).text(); var tab = $(this).text();
if (tab === 'General') { if (tab === 'General') {
$('#flow-cs-availability').hide();
$('#add-process-group-configuration-controller-service').hide(); $('#add-process-group-configuration-controller-service').hide();
if (canWrite) { if (canWrite) {
@ -296,6 +297,7 @@
$('#process-group-configuration-save').hide(); $('#process-group-configuration-save').hide();
} }
} else { } else {
$('#flow-cs-availability').show();
$('#process-group-configuration-save').hide(); $('#process-group-configuration-save').hide();
if (canWrite) { if (canWrite) {

View File

@ -1146,6 +1146,7 @@
select: function () { select: function () {
var tab = $(this).text(); var tab = $(this).text();
if (tab === 'General') { if (tab === 'General') {
$('#controller-cs-availability').hide();
$('#new-service-or-task').hide(); $('#new-service-or-task').hide();
$('#settings-save').show(); $('#settings-save').show();
} else { } else {
@ -1174,6 +1175,12 @@
$('div.controller-settings-table').css('top', '0'); $('div.controller-settings-table').css('top', '0');
} }
if (tab === 'Controller Services') {
$('#controller-cs-availability').show();
} else if (tab === 'Reporting Tasks') {
$('#controller-cs-availability').hide();
}
// resize the table // resize the table
nfSettings.resetTableSize(); nfSettings.resetTableSize();
} }