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
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
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>
</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>

View File

@ -70,5 +70,7 @@
Last updated:&nbsp;<span id="settings-last-refreshed" class="value-color"></span>
</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>

View File

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

View File

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

View File

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

View File

@ -1146,6 +1146,7 @@
select: function () {
var tab = $(this).text();
if (tab === 'General') {
$('#controller-cs-availability').hide();
$('#new-service-or-task').hide();
$('#settings-save').show();
} else {
@ -1174,6 +1175,12 @@
$('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
nfSettings.resetTableSize();
}