Skip to content

Commit 2697d30

Browse files
author
svaroqui
committed
Hide test dropbox & change passive by standby
1 parent 276113f commit 2697d30

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

dashboard/app.html

+3-6
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@
122122
<th>Last Failover Time</th>
123123
</tr>
124124
<tr>
125-
<td><span ng-if="settings.runstatus=='A'" class="label label-primary">ACTIVE</span><span ng-if="settings.runstatus=='P'" class="label label-warning">PASSIVE</span></td>
126-
125+
<td><span ng-if="settings.runstatus=='A'" class="label label-primary">ACTIVE</span><span ng-if="settings.runstatus=='S'" class="label label-warning">STANDBY</span></td>
126+
what the fuck
127127
<td>{{settings.failoverctr}} / {{settings.faillimit}}</td>
128128
<td>{{settings.lastfailover}}</td>
129129
</tr>
@@ -175,9 +175,8 @@
175175
<button ng-if="settings.test=='true'" type="button" class="btn btn-primary" ng-click="test()">Run Tests</button>
176176
<button ng-if="settings.test=='true'" type="button" class="btn btn-primary" ng-click="sysbench()">Sysbench</button>
177177
<label for="test" action="/runonetest" ><p class="sectionheader">Tests: </p></label>
178-
<select name="repeatSelect" id="repeatSelect" ng-model="tests" ng-change="runonetest()" >
178+
<select ng-if="settings.test=='true'" name="repeatSelect" id="repeatSelect" ng-model="tests" ng-change="runonetest()" >
179179
<option ng-selected="{{element == settings.regtests}}" ng-repeat="element in settings.regtests" value="{{element}}">{{element}}</option>
180-
181180
</select>
182181

183182
</td><td>
@@ -193,8 +192,6 @@
193192
</md-tab>
194193
<md-tab label="SLA">
195194
<md-content class="md-padding">
196-
197-
198195
<p class="sectionheader">SLA</p>
199196
<table ng-if="settings" class="table">
200197
<tr>

0 commit comments

Comments
 (0)