Browse Source

Minor UI fixes

master
rozetko 6 years ago
parent
commit
1b5160c943
  1. 53
      src/panel/graph_panel/partials/analytic_units_5.x.html
  2. 55
      src/panel/graph_panel/partials/analytic_units_6.x.html

53
src/panel/graph_panel/partials/analytic_units_5.x.html

@ -9,31 +9,34 @@
<span class="gf-form-query-letter-cell-letter">{{analyticUnit.name}}</span> <span class="gf-form-query-letter-cell-letter">{{analyticUnit.name}}</span>
<em class="gf-form-query-letter-cell-ds" ng-show="analyticUnit.id">({{analyticUnit.id}})</em> <em class="gf-form-query-letter-cell-ds" ng-show="analyticUnit.id">({{analyticUnit.id}})</em>
</a> </a>
&nbsp;
<i ng-if="analyticUnit.status === 'READY'" <span style="cursor: default;">
class="fa fa-check-circle" &nbsp;
bs-tooltip="'Ready'" <i ng-if="analyticUnit.status === 'READY'"
></i> class="fa fa-check-circle"
<i ng-if="analyticUnit.status === 'SUCCESS'" bs-tooltip="'Ready'"
class="fa fa-check" ></i>
bs-tooltip="'Learning succeeded'" <i ng-if="analyticUnit.status === 'SUCCESS'"
></i> class="fa fa-check"
<i ng-if="analyticUnit.status === 'LEARNING'" bs-tooltip="'Learning succeeded'"
class="fa fa-leanpub" ></i>
bs-tooltip="'Learning'" <i ng-if="analyticUnit.status === 'LEARNING'"
></i> class="fa fa-leanpub"
<i ng-if="analyticUnit.status === 'DETECTION'" bs-tooltip="'Learning'"
class="fa fa-search" ></i>
bs-tooltip="'Detection'" <i ng-if="analyticUnit.status === 'DETECTION'"
></i> class="fa fa-search"
<i ng-if="analyticUnit.status === 'PENDING'" bs-tooltip="'Detection'"
class="fa fa-list-ul" ></i>
bs-tooltip="'Pending'" <i ng-if="analyticUnit.status === 'PENDING'"
></i> class="fa fa-list-ul"
<i ng-if="analyticUnit.status === 'FAILED'" bs-tooltip="'Pending'"
class="fa fa-exclamation-circle" ></i>
bs-tooltip="'Error: ' + analyticUnit.error" <i ng-if="analyticUnit.status === 'FAILED'"
></i> class="fa fa-exclamation-circle"
bs-tooltip="'Error: ' + analyticUnit.error"
></i>
</span>
</label> </label>
</div> </div>

55
src/panel/graph_panel/partials/analytic_units_6.x.html

@ -1,36 +1,39 @@
<div class="query-editor-row" ng-repeat="analyticUnit in ctrl.analyticsController.analyticUnits"> <div class="query-editor-row" ng-repeat="analyticUnit in ctrl.analyticsController.analyticUnits">
<div class="query-editor-row__header"> <div class="query-editor-row__header">
<div class="query-editor-row__ref-id width-25" ng-click="ctrl.onToggleCollapsed(analyticUnit.id)"> <div class="query-editor-row__ref-id" ng-click="ctrl.onToggleCollapsed(analyticUnit.id)">
<i class="fa fa-fw fa-caret-down" ng-hide="analyticUnit.collapsed"></i> <i class="fa fa-fw fa-caret-down" ng-hide="analyticUnit.collapsed"></i>
<i class="fa fa-fw fa-caret-right" ng-show="analyticUnit.collapsed"></i> <i class="fa fa-fw fa-caret-right" ng-show="analyticUnit.collapsed"></i>
<span>{{analyticUnit.name}}</span> <span>{{analyticUnit.name}}</span>
<em class="query-editor-row__context-info">({{analyticUnit.id}})</em> <em class="query-editor-row__context-info">({{analyticUnit.id}})</em>
<span style="cursor: default;">
&nbsp;
<i ng-if="analyticUnit.status === 'READY'"
class="fa fa-fw fa-check-circle"
bs-tooltip="'Ready'"
></i>
<i ng-if="analyticUnit.status === 'SUCCESS'"
class="fa fa-fw fa-check"
bs-tooltip="'Learning succeeded'"
></i>
<i ng-if="analyticUnit.status === 'LEARNING'"
class="fa fa-fw fa-leanpub"
bs-tooltip="'Learning'"
></i>
<i ng-if="analyticUnit.status === 'DETECTION'"
class="fa fa-fw fa-search"
bs-tooltip="'Detection'"
></i>
<i ng-if="analyticUnit.status === 'PENDING'"
class="fa fa-fw fa-list-ul"
bs-tooltip="'Pending'"
></i>
<i ng-if="analyticUnit.status === 'FAILED'"
class="fa fa-fw fa-exclamation-circle"
bs-tooltip="'Error: ' + analyticUnit.error"
></i>
</span>
</div> </div>
&nbsp;
<i ng-if="analyticUnit.status === 'READY'"
class="fa fa-fw fa-check-circle"
bs-tooltip="'Ready'"
></i>
<i ng-if="analyticUnit.status === 'SUCCESS'"
class="fa fa-fw fa-check"
bs-tooltip="'Learning succeeded'"
></i>
<i ng-if="analyticUnit.status === 'LEARNING'"
class="fa fa-fw fa-leanpub"
bs-tooltip="'Learning'"
></i>
<i ng-if="analyticUnit.status === 'DETECTION'"
class="fa fa-fw fa-search"
bs-tooltip="'Detection'"
></i>
<i ng-if="analyticUnit.status === 'PENDING'"
class="fa fa-fw fa-list-ul"
bs-tooltip="'Pending'"
></i>
<i ng-if="analyticUnit.status === 'FAILED'"
class="fa fa-fw fa-exclamation-circle"
bs-tooltip="'Error: ' + analyticUnit.error"
></i>
<div class="query-editor-row__collapsed-text"> <div class="query-editor-row__collapsed-text">
</div> </div>

Loading…
Cancel
Save