Add selectrcmed view
Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/16027a2b Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/16027a2b Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/16027a2b Branch: refs/heads/master Commit: 16027a2bd8d9244524afa788e9ae3b18497774ce Parents: e19a5ac Author: Michael Joyce <[email protected]> Authored: Wed Jul 16 16:36:54 2014 -0700 Committer: Michael Joyce <[email protected]> Committed: Wed Jul 16 16:36:54 2014 -0700 ---------------------------------------------------------------------- ocw-ui/frontend-new/app/views/selectrcmed.html | 44 +++++++++++++++++++++ 1 file changed, 44 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/16027a2b/ocw-ui/frontend-new/app/views/selectrcmed.html ---------------------------------------------------------------------- diff --git a/ocw-ui/frontend-new/app/views/selectrcmed.html b/ocw-ui/frontend-new/app/views/selectrcmed.html new file mode 100644 index 0000000..4587d57 --- /dev/null +++ b/ocw-ui/frontend-new/app/views/selectrcmed.html @@ -0,0 +1,44 @@ +<!-- + ~ 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 ng-controller="RcmedSelectionCtrl"> + <div class="row"> + <div class="span5"> + Select the RCMED dataset that you would like use. + </div> + </div> + <div class="row"> + <div class="span4"> + <select ng-change="dataSelectUpdated()" class="span5" ng-model="datasetSelection" ng-options="obs as obs.longname for obs in availableObs"></select> + </div> + </div> + <div class="row"> + <div class="span5"> + Select the dataset parameter that you would like to test. + </div> + </div> + <div class="row"> + <div class="span4"> + <select class="span3" ng-model="parameterSelection" ng-options="param as param.shortname for param in retrievedObsParams"></select> + </div> + </div> + + <button class="btn btn-primary pull-left" ng-click="addObservation()">Add Observation</button> + <div class="pull-left small-alert" ng-show="fileAdded">Successfully added dataset...</div> +</div>
