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 2014/07/21 15:24:52 UTC
[16/50] git commit: Add modelselect view
Add modelselect view
Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/15a2383d
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/15a2383d
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/15a2383d
Branch: refs/heads/master
Commit: 15a2383df98ee93ff8932e8221616ad62a9ca346
Parents: 5374adb
Author: Michael Joyce <jo...@apache.org>
Authored: Wed Jul 16 16:35:46 2014 -0700
Committer: Michael Joyce <jo...@apache.org>
Committed: Wed Jul 16 16:35:46 2014 -0700
----------------------------------------------------------------------
ocw-ui/frontend-new/app/views/modelselect.html | 87 +++++++++++++++++++++
1 file changed, 87 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/climate/blob/15a2383d/ocw-ui/frontend-new/app/views/modelselect.html
----------------------------------------------------------------------
diff --git a/ocw-ui/frontend-new/app/views/modelselect.html b/ocw-ui/frontend-new/app/views/modelselect.html
new file mode 100644
index 0000000..17fa12b
--- /dev/null
+++ b/ocw-ui/frontend-new/app/views/modelselect.html
@@ -0,0 +1,87 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+-->
+
+<div class="container">
+ <div class="row">
+ <div class="span10 offset1 columns">
+ <div class="row">
+ <div class="span10">
+ <center>
+ <form id="modelSelectorForm">
+ <input type="file" name="modelSelector">
+ </form>
+ </center>
+ </div>
+ </div>
+ <div class="row">
+ <div class="span10 offset2">
+ <form class="form-horizontal" id="parameterSelectorForm">
+ <div class="control-group">
+ <label class="control-label" for="paramSelect">Parameter Value</label>
+ <div class="controls">
+ <select id="paramSelect">
+ <option ng-repeat="param in modelParameters">
+ {{param.text}}
+ </option>
+ </select>
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label" for="latSelect">Latitude Variable</label>
+ <div class="controls">
+ <select id="latSelect">
+ <option ng-repeat="lat in latVariables">
+ {{lat.text}}
+ </option>
+ </select>
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label" for="lonSelect">Longitude Variable</label>
+ <div class"controls">
+ <select id="lonSelect">
+ <option ng-repeat="lon in lonVariables">
+ {{lon.text}}
+ </option>
+ </select>
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label" for="dateTimeSelect">Date/Time Variable</label>
+ <div class="controls">
+ <select id="dateTimeSelect">
+ <option ng-repeat="dateTime in dateTimeVariables">
+ {{dateTime.text}}
+ </option>
+ </select>
+ </div>
+ </div>
+ <div class="control-group">
+ <div class="controls">
+ <button type="submit" class="btn btn-warn">Cancel</button>
+ <button type="submit" class="btn">Add Model</button>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+