You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2013/06/05 00:54:00 UTC

svn commit: r1489662 - /incubator/climate/trunk/rcmet/src/main/ui/app/index.html

Author: joyce
Date: Tue Jun  4 22:54:00 2013
New Revision: 1489662

URL: http://svn.apache.org/r1489662
Log:
Resolves CLIMATE-84 - Hide UI buttons instead of disabling them.

- Switches all buttons ng-disabled atrributes to ng-hide. Note that this
  breaks the 'evaluate' button, specifically it doesn't show properly
  when an evaluation is running. This will be changed in a future
  commit.

Modified:
    incubator/climate/trunk/rcmet/src/main/ui/app/index.html

Modified: incubator/climate/trunk/rcmet/src/main/ui/app/index.html
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/index.html?rev=1489662&r1=1489661&r2=1489662&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/index.html (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/index.html Tue Jun  4 22:54:00 2013
@@ -99,16 +99,16 @@
         <button class="btn btn-block btn-success" bootstrap-modal-open="datasetSelect">Select</button>
       </div>
       <div class="span1">
-        <button ng-click="clearDatasets()" ng-disabled="shouldDisableClearButton()" class="btn btn-block btn-warning">Clear</button>
+        <button ng-click="clearDatasets()" ng-hide="shouldDisableClearButton()" class="btn btn-block btn-warning">Clear</button>
       </div>
       <div class="span1">
-        <button ng-click="runEvaluation()" ng-disabled="shouldDisableEvaluate()" class="btn btn-block btn-primary">
+        <button ng-click="runEvaluation()" ng-hide="shouldDisableEvaluate()" class="btn btn-block btn-primary">
           <div ng-hide="runningEval">Evaluate</div>
           <div ng-show="runningEval"><i class="icon-spinner icon-spin"></i></div>
         </button>
       </div>
       <div class="span1">
-        <button class="btn btn-block btn-primary" ng-disabled="shouldDisableResultsView()" bootstrap-modal-open="evaluationResults">Results</button>
+        <button class="btn btn-block btn-primary" ng-hide="shouldDisableResultsView()" bootstrap-modal-open="evaluationResults">Results</button>
       </div>
       <div class="span1">
         <button class="btn btn-block" background="false" bootstrap-modal-open="evaluationSettings"><i class="icon-cogs"></i></button>