source: mauRepo/MolesManager/trunk/cedaMoles/MolesManager/static/templates/cedaInstrument.html @ 8120

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/MolesManager/trunk/cedaMoles/MolesManager/static/templates/cedaInstrument.html
Revision 8120, 3.0 KB checked in by gparton, 8 years ago (diff)

committing changes to cedaObservation.js and associated views

Line 
1{% extends "base.html" %}
2        {% block extra_head %}
3       
4        {% endblock %}
5
6{% block title %} CEDA Observation Record {% endblock %}
7   
8{% block main %}
9<div class="grid_12">
10          <h5>Search</h5>
11          <p>Use the search function below to locate your CEDA Observation record</p>
12</div> <!-- End of div stuff -->
13<div class="grid_12 claro">
14        <script type="text/javascript">
15                require(['dijit/form/Form', 'dijit/form/TextBox', 'ceda/cedaObservation']);
16        </script>
17
18        <input type="hidden" name="coObs" id="coObs_id" value="{{ coObs }}" />
19
20        <div data-dojo-type="dijit.form.Form" id="myForm" data-dojo-id="myForm" encType="multipart/form-data" action="." method="POST">
21       
22            <script type="dojo/method" data-dojo-event="onSubmit">
23                if(this.validate()){
24                    return confirm('Form is valid, press OK to submit');
25                }else{
26                    alert('Form contains invalid data.  Please correct first');
27                    return false;
28                }
29                return true;
30            </script>
31       
32                {% csrf_token %}
33       
34                <div class="fieldWrapper">
35                        <label for="id_obj_id">ID</label>
36                        <input type="text" name="obs_id" value= ""
37                        data-dojo-type="dijit.form.TextBox"
38                        data-dojo-props="trim:true, propercase:true" id="obs_id"/>
39                </div> <!-- End of div fieldWrapper -->
40                <button id="search_obs" type="submit"></button>
41        </div> <!-- End of div myForm -->
42</div> <!-- End of div claro -->
43
44<div id = "upper_section" class="grid_12 whiteFill">
45
46  <h4>Search Results</h4>
47  <div class="grid_2 cedaObs" id="upper_left">
48                <p>image</p>
49  </div> <!-- End of div upper_left -->
50  <div class="grid_8 " id="upper_middle">
51       
52        <div class="grid_8 alpha cedaObs" id="upper_middle_top">
53                <label for="title">Title</label><div id="title_id"></div>       <br />
54                <label for="citation">Citation</label><div id="citation_id"></div><br />
55                <label for="keywords">Keywords</label><div id="keywords_id"></div><br />
56        </div> <!-- End of div upper_middle_top -->
57
58        <div class="grid_8 cedaObs" id="news">
59             <p>News bar</p>
60        </div><!-- End of div news -->
61        <div class="grid_8 cedaObs" id="description">
62        <label for="description">Description</label><div id="description_id"></div>
63                <br />
64        </div><!-- End of div description -->
65  </div>   
66
67   <div class="grid_2 cedaObs" id="upper_right">
68                <label for="geographicExtent">Geographic Extent</label><div id="geographicalExtent_id"></div> <br />
69                <label for="resolution">Resolution</label><div id="resolution_id"></div> <br /> 
70   </div> <!-- End of div upper_right -->
71</div> <!-- End of div upper_section -->
72<div id="lower_section" class="grid_12 whiteFill">
73
74    <div id="lower_tab1" class="grid_7 cedaObs">
75                <label for="id_dataLineage">Data Lineage</label><div id="records_dataLineage"></div> <br /> <br />
76                <label for="relatedParty">Related Parties</label><div id="relatedParty"></div><br />
77        </div> <!-- End of div lower_tab1 -->
78    <div id="lower_side" class="grid_4 cedaObs">
79                <p>lower side bar</p>
80    </div> <!-- End of div lower_side -->
81</div> <!-- End of div lower_section -->
82<div class="corner-content-1col-bottom"></div> 
83
84{% endblock %}
Note: See TracBrowser for help on using the repository browser.