diagnostics: fix speedtest abort button
authorRobin Stjerndorff <robin.stjerndorff@iopsys.eu>
Mon, 3 Sep 2018 14:17:08 +0000 (16:17 +0200)
committerSukru Senli <sukru.senli@iopsys.eu>
Sat, 8 Sep 2018 11:40:39 +0000 (13:40 +0200)
plugins/juci-diagnostics/src/widgets/diagnostics-widget-speedtest.html

index 555ebde..d6e50fd 100644 (file)
                                </div>
                        </juci-config-line>
                        <juci-config-line>
-                               <button class="btn btn-default">
-                                       <span ng-click="runTest()" ng-show="(data.state != 'running')">{{'Run test' | translate}}</span>
-                                       <span ng-click="abortTest()"ng-show="(data.state == 'running')">{{'Abort' | translate}}</span></span>
+                               <button class="btn btn-default" ng-click="abortTest()" ng-show="(data.state == 'running')">
+                                       <span >{{'Abort' | translate}}</span>
+                               </button>
+                               <button class="btn btn-default" ng-click="runTest()" ng-show="(data.state != 'running')">
+                                       <span >{{'Run test' | translate}}</span>
+
                                </button>
                        </juci-config-line>
                </juci-config-lines>