Browse Source

Improve ui

master
rozetko 6 years ago
parent
commit
8ca1b87da2
  1. 5
      src/panel/graph_panel/partials/tab_analytics.html

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

@ -1,3 +1,4 @@
<div class="gf-form-group">
<div class="gf-form"> <div class="gf-form">
<label class="gf-form-label">Select Hastic datasource</label> <label class="gf-form-label">Select Hastic datasource</label>
<select class="gf-form-input max-width-15" <select class="gf-form-input max-width-15"
@ -6,7 +7,9 @@
ng-change="ctrl.onHasticDatasourceChange()" ng-change="ctrl.onHasticDatasourceChange()"
/> />
</div> </div>
</div>
<div class="gf-form">
<div class="gf-form-button-row" ng-if="ctrl.analyticsController.serverStatus === false"> <div class="gf-form-button-row" ng-if="ctrl.analyticsController.serverStatus === false">
<h5>Hastic server at "{{ctrl.backendURL}}" is not available</h5> <h5>Hastic server at "{{ctrl.backendURL}}" is not available</h5>
<button class="btn btn-inverse" ng-click="ctrl.runBackendConnectivityCheck()"> <button class="btn btn-inverse" ng-click="ctrl.runBackendConnectivityCheck()">
@ -214,6 +217,8 @@
<i class="fa fa-caret-right" ng-hide="ctrl.showHelp"></i> <i class="fa fa-caret-right" ng-hide="ctrl.showHelp"></i>
</button> </button>
</div> </div>
</div>
</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>

Loading…
Cancel
Save