Browse Source

Cancel button color in analytic tab #423 (#425)

master
Alexander Velikiy 5 years ago committed by GitHub
parent
commit
8d921a1534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 33
      src/panel/graph_panel/partials/tab_analytics.html

33
src/panel/graph_panel/partials/tab_analytics.html

@ -28,7 +28,24 @@
ng-click="ctrl.createNew()" ng-click="ctrl.createNew()"
> >
<i class="fa fa-plus"></i> <i class="fa fa-plus"></i>
Add Analytic Unit &ensp;Add Analytic Unit
</button>
<button
ng-if="ctrl.analyticsController.analyticUnits.length > 0"
class="gf-form-label width-12 pointer"
style="display: inline;"
ng-click="ctrl.redetectAll()"
>
Re-detect all analytic units
</button>
<button
class="gf-form-label width-12 pointer"
style="display: inline;"
ng-click="ctrl.showHelp = !ctrl.showHelp"
>
Show Help
<i class="fa fa-caret-down" ng-show="ctrl.showHelp"></i>
<i class="fa fa-caret-right" ng-hide="ctrl.showHelp"></i>
</button> </button>
</div> </div>
<div class="gf-form-button-row" ng-if="ctrl.analyticsController.creatingNew"> <div class="gf-form-button-row" ng-if="ctrl.analyticsController.creatingNew">
@ -50,7 +67,7 @@
Saving Saving
</button> </button>
<button <button
class="btn btn-danger width-12" class="btn btn-inverse width-12"
ng-click="ctrl.cancelCreation()" ng-click="ctrl.cancelCreation()"
ng-disabled="ctrl.analyticsController.saving" ng-disabled="ctrl.analyticsController.saving"
> >
@ -58,18 +75,6 @@
&ensp;Cancel &ensp;Cancel
</button> </button>
</div> </div>
<div class="gf-form-button-row" ng-if="ctrl.analyticsController.analyticUnits.length > 0">
<button class="gf-form-label width-12 pointer" ng-click="ctrl.redetectAll()">
Re-detect all analytic units
</button>
</div>
<div class="gf-form-button-row">
<button class="gf-form-label width-12 pointer" ng-click="ctrl.showHelp = !ctrl.showHelp">
Show Help
<i class="fa fa-caret-down" ng-show="ctrl.showHelp"></i>
<i class="fa fa-caret-right" ng-hide="ctrl.showHelp"></i>
</button>
</div>
<div class="gf-form" ng-show="ctrl.showHelp" ng-bind-html="ctrl.analyticsController.helpSectionText"></div> <div class="gf-form" ng-show="ctrl.showHelp" ng-bind-html="ctrl.analyticsController.helpSectionText"></div>
</div> </div>

Loading…
Cancel
Save