mirror of https://github.com/apache/nifi.git
NIFI-2430 This closes #737. Update some tooltip text and context menu text/icon
This commit is contained in:
parent
a8224edb8d
commit
0c8fc25ba4
|
@ -421,7 +421,7 @@ nf.ContextMenu = (function () {
|
||||||
{condition: isRemoteProcessGroup, menuItem: {clazz: 'fa fa-cloud', text: 'Remote ports', action: 'remotePorts'}},
|
{condition: isRemoteProcessGroup, menuItem: {clazz: 'fa fa-cloud', text: 'Remote ports', action: 'remotePorts'}},
|
||||||
{condition: canStartTransmission, menuItem: {clazz: 'fa fa-bullseye', text: 'Enable transmission', action: 'enableTransmission'}},
|
{condition: canStartTransmission, menuItem: {clazz: 'fa fa-bullseye', text: 'Enable transmission', action: 'enableTransmission'}},
|
||||||
{condition: canStopTransmission, menuItem: {clazz: 'icon icon-transmit-false', text: 'Disable transmission', action: 'disableTransmission'}},
|
{condition: canStopTransmission, menuItem: {clazz: 'icon icon-transmit-false', text: 'Disable transmission', action: 'disableTransmission'}},
|
||||||
{condition: supportsStats, menuItem: {clazz: 'fa fa-bar-chart', text: 'Stats', action: 'showStats'}},
|
{condition: supportsStats, menuItem: {clazz: 'fa fa-area-chart', text: 'Status History', action: 'showStats'}},
|
||||||
{condition: canAccessProvenance, menuItem: {clazz: 'icon icon-provenance', imgStyle: 'context-menu-provenance', text: 'Data provenance', action: 'openProvenance'}},
|
{condition: canAccessProvenance, menuItem: {clazz: 'icon icon-provenance', imgStyle: 'context-menu-provenance', text: 'Data provenance', action: 'openProvenance'}},
|
||||||
{condition: isStatefulProcessor, menuItem: {clazz: 'fa fa-tasks', text: 'View state', action: 'viewState'}},
|
{condition: isStatefulProcessor, menuItem: {clazz: 'fa fa-tasks', text: 'View state', action: 'viewState'}},
|
||||||
{condition: canMoveToFront, menuItem: {clazz: 'fa fa-clone', text: 'Bring to front', action: 'toFront'}},
|
{condition: canMoveToFront, menuItem: {clazz: 'fa fa-clone', text: 'Bring to front', action: 'toFront'}},
|
||||||
|
|
|
@ -243,7 +243,7 @@ nf.SummaryTable = (function () {
|
||||||
|
|
||||||
// define a custom formatter for showing more processor details
|
// define a custom formatter for showing more processor details
|
||||||
var moreProcessorDetails = function (row, cell, value, columnDef, dataContext) {
|
var moreProcessorDetails = function (row, cell, value, columnDef, dataContext) {
|
||||||
var markup = '<div title="View Details" class="pointer show-processor-details fa fa-info-circle" style="margin-right: 3px;"></div>';
|
var markup = '<div title="View Processor Details" class="pointer show-processor-details fa fa-info-circle" style="margin-right: 3px;"></div>';
|
||||||
|
|
||||||
// if there are bulletins, render them on the graph
|
// if there are bulletins, render them on the graph
|
||||||
if (!nf.Common.isEmpty(dataContext.bulletins)) {
|
if (!nf.Common.isEmpty(dataContext.bulletins)) {
|
||||||
|
@ -382,15 +382,15 @@ nf.SummaryTable = (function () {
|
||||||
var markup = '';
|
var markup = '';
|
||||||
|
|
||||||
if (isInShell) {
|
if (isInShell) {
|
||||||
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To" style="margin-right: 3px;"></div> ';
|
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To Processor" style="margin-right: 3px;"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nf.Common.SUPPORTS_SVG) {
|
if (nf.Common.SUPPORTS_SVG) {
|
||||||
markup += '<div class="pointer show-processor-status-history fa fa-area-chart" title="Show History" style="margin-right: 3px;"></div> ';
|
markup += '<div class="pointer show-processor-status-history fa fa-area-chart" title="View Status History" style="margin-right: 3px;"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isClustered) {
|
if (isClustered) {
|
||||||
markup += '<div class="pointer show-cluster-processor-summary fa fa-cubes" title="Show Details"></div> ';
|
markup += '<div class="pointer show-cluster-processor-summary fa fa-cubes" title="View Processor Details"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
return markup;
|
return markup;
|
||||||
|
@ -622,7 +622,7 @@ nf.SummaryTable = (function () {
|
||||||
|
|
||||||
// define a custom formatter for showing more processor details
|
// define a custom formatter for showing more processor details
|
||||||
var moreConnectionDetails = function (row, cell, value, columnDef, dataContext) {
|
var moreConnectionDetails = function (row, cell, value, columnDef, dataContext) {
|
||||||
return '<div class="pointer show-connection-details fa fa-info-circle" title="View Details" style="margin-top: 5px;"></div>';
|
return '<div class="pointer show-connection-details fa fa-info-circle" title="View Connection Details" style="margin-top: 5px;"></div>';
|
||||||
};
|
};
|
||||||
|
|
||||||
// define the input, read, written, and output columns (reused between both tables)
|
// define the input, read, written, and output columns (reused between both tables)
|
||||||
|
@ -667,15 +667,15 @@ nf.SummaryTable = (function () {
|
||||||
var markup = '';
|
var markup = '';
|
||||||
|
|
||||||
if (isInShell) {
|
if (isInShell) {
|
||||||
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To" style="margin-right: 3px;"></div> ';
|
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To Connection" style="margin-right: 3px;"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nf.Common.SUPPORTS_SVG) {
|
if (nf.Common.SUPPORTS_SVG) {
|
||||||
markup += '<div class="pointer show-connection-status-history fa fa-area-chart" title="Show History" style="margin-right: 3px;"></div> ';
|
markup += '<div class="pointer show-connection-status-history fa fa-area-chart" title="View Status History" style="margin-right: 3px;"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isClustered) {
|
if (isClustered) {
|
||||||
markup += '<div class="pointer show-cluster-connection-summary fa fa-cubes" title="Show Details"></div> ';
|
markup += '<div class="pointer show-cluster-connection-summary fa fa-cubes" title="View Connection Details"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
return markup;
|
return markup;
|
||||||
|
@ -945,15 +945,15 @@ nf.SummaryTable = (function () {
|
||||||
var markup = '';
|
var markup = '';
|
||||||
|
|
||||||
if (isInShell && dataContext.groupId !== null) {
|
if (isInShell && dataContext.groupId !== null) {
|
||||||
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To" style="margin-right: 3px;"></div> ';
|
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To Process Group" style="margin-right: 3px;"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nf.Common.SUPPORTS_SVG) {
|
if (nf.Common.SUPPORTS_SVG) {
|
||||||
markup += '<div class="pointer show-process-group-status-history fa fa-area-chart" title="Show History" style="margin-right: 3px;"></div> ';
|
markup += '<div class="pointer show-process-group-status-history fa fa-area-chart" title="View Status History" style="margin-right: 3px;"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isClustered) {
|
if (isClustered) {
|
||||||
markup += '<div class="pointer show-cluster-process-group-summary fa fa-cubes" title="Show Details"></div> ';
|
markup += '<div class="pointer show-cluster-process-group-summary fa fa-cubes" title="View Process Group Details"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
return markup;
|
return markup;
|
||||||
|
@ -1198,11 +1198,11 @@ nf.SummaryTable = (function () {
|
||||||
var markup = '';
|
var markup = '';
|
||||||
|
|
||||||
if (isInShell) {
|
if (isInShell) {
|
||||||
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To" style="margin-right: 3px;"></div> ';
|
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To Input Port" style="margin-right: 3px;"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isClustered) {
|
if (isClustered) {
|
||||||
markup += '<div class="pointer show-cluster-input-port-summary fa fa-cubes" title="Show Details"></div> ';
|
markup += '<div class="pointer show-cluster-input-port-summary fa fa-cubes" title="View Input Port Details"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
return markup;
|
return markup;
|
||||||
|
@ -1438,11 +1438,11 @@ nf.SummaryTable = (function () {
|
||||||
var markup = '';
|
var markup = '';
|
||||||
|
|
||||||
if (isInShell) {
|
if (isInShell) {
|
||||||
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To" style="margin-right: 3px;"></div> ';
|
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To Output Port" style="margin-right: 3px;"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isClustered) {
|
if (isClustered) {
|
||||||
markup += '<div class="pointer show-cluster-output-port-summary fa fa-cubes" title="Show Details"></div> ';
|
markup += '<div class="pointer show-cluster-output-port-summary fa fa-cubes" title="View Output Port Details"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
return markup;
|
return markup;
|
||||||
|
@ -1729,15 +1729,15 @@ nf.SummaryTable = (function () {
|
||||||
var markup = '';
|
var markup = '';
|
||||||
|
|
||||||
if (isInShell) {
|
if (isInShell) {
|
||||||
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To" style="margin-right: 3px;"></div> ';
|
markup += '<div class="pointer go-to fa fa-long-arrow-right" title="Go To Process Group" style="margin-right: 3px;"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nf.Common.SUPPORTS_SVG) {
|
if (nf.Common.SUPPORTS_SVG) {
|
||||||
markup += '<div class="pointer show-remote-process-group-status-history fa fa-area-chart" title="Show History" style="margin-right: 3px;"></div> ';
|
markup += '<div class="pointer show-remote-process-group-status-history fa fa-area-chart" title="View Status History" style="margin-right: 3px;"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isClustered) {
|
if (isClustered) {
|
||||||
markup += '<div class="pointer show-cluster-remote-process-group-summary fa fa-cubes" title="Show Details"></div> ';
|
markup += '<div class="pointer show-cluster-remote-process-group-summary fa fa-cubes" title="View Remote Process Group Details"></div> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
return markup;
|
return markup;
|
||||||
|
|
Loading…
Reference in New Issue