Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_granulator.html@4563
Revision 4563,
1.3 KB
checked in by cbyrom, 12 years ago
(diff) |
Simplify upload of CSML/CDML/granulite data by using the newly extended
granulite class for all these ops - remove unecessary code in editatom.
Add new template function to combine the upload of CSML/CDML files into
a single field - with additional inputs for time axis and dataset ID data.
Fix editor to display deployments data for DEs once again.
|
Line | |
---|
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <html xmlns="http://www.w3.org/1999/xhtml" |
---|
3 | xmlns:py="http://genshi.edgewall.org/" |
---|
4 | xmlns:xi="http://www.w3.org/2001/XInclude"> |
---|
5 | <xi:include href="layout.html" /> |
---|
6 | <xi:include href="atom_functions.html" /> |
---|
7 | <head> |
---|
8 | <title py:content="c.title">title</title> |
---|
9 | </head> |
---|
10 | <body class="submit"> |
---|
11 | <panelTab>Editor</panelTab> |
---|
12 | <div id="contents"> |
---|
13 | <div class="metadata"> |
---|
14 | <a href="${h.url_for(controller='atom_editor/listatom',action='atomHome')}">Home</a> |
---|
15 | <h3> $c.title </h3> |
---|
16 | <div class="error" py:if="c.xml"> |
---|
17 | $c.xml |
---|
18 | </div> |
---|
19 | <h2> |
---|
20 | <div class="headingblock"> |
---|
21 | ${Markup(h.form(h.url(controller='atom_editor/editatom', action='upload'), multipart=True))} |
---|
22 | <table> |
---|
23 | <tr> |
---|
24 | <td class="cellhead"> |
---|
25 | Granulite file: |
---|
26 | </td> |
---|
27 | <td> |
---|
28 | ${Markup(h.file_field('upload_granulite', size="80"))} |
---|
29 | </td> |
---|
30 | </tr> |
---|
31 | <div py:replace="UploadCSMLOrCDMLFileRows('bbb')"/> |
---|
32 | </table> |
---|
33 | ${Markup(h.end_form())} |
---|
34 | </div> |
---|
35 | </h2> |
---|
36 | </div> |
---|
37 | </div> |
---|
38 | </body> |
---|
39 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.