climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1504019 - /incubator/climate/trunk/rcmet/src/main/ui/app/index.html
Date Wed, 17 Jul 2013 06:35:06 GMT
Author: joyce
Date: Wed Jul 17 06:35:06 2013
New Revision: 1504019

URL: http://svn.apache.org/r1504019
Log:
CLIMATE-210 - Move regrid options in index.html

- Remove the regrid select boxes from dataset display.
- Add regrid selection box to settings modal. User can pick grid base
  dataset by name.

Note:
The calls to the backend still hard code the model based regrid option.
All this functionality still needs to be added to the settings modal!
This is just changing the location where stuff is set, not adding the
actual functionality!

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=1504019&r1=1504018&r2=1504019&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/index.html (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/index.html Wed Jul 17 06:35:06 2013
@@ -61,6 +61,9 @@
     <hr />
     <h4>Select how you would like to temporally re-grid the datasets.</h4>
     <select ng-model="settings.temporal.selected" ng-options="opt for opt in settings.temporal.options"></select>
+    <hr />
+    <h4>Select which dataset to use as the grid base.</h4>
+    <select ng-model="settings.spatialSelect" ng-options="dataset.name for dataset in
datasets"></select>
   </div>
   <div class="modal-footer">
 	  <a href="#" class="btn btn-primary close">Close</a>
@@ -156,12 +159,6 @@
                       <div class="span2 text-center">
                         {{dataset.latlonVals.lonMin}}
                       </div>
-                      <div class="span2">
-                        <label>
-                          <input type="checkbox" ng-model="dataset.regrid" ng-click="setRegridBase($index)"/>

-                          Regrid 
-                        </label>
-                      </div>
                     </div>
                   </div>
                   <!--Preview Map Section-->



Mime
View raw message