Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_granulator.html@4503
Revision 4503,
1.8 KB
checked in by cbyrom, 12 years ago
(diff) |
Restrict granule atom to allow only a single upload of a CSML file.
|
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 | <tr> |
---|
32 | <td class="cellhead"> |
---|
33 | CSML file: |
---|
34 | </td> |
---|
35 | <td> |
---|
36 | ${Markup(h.file_field('upload_csml', size="80"))} |
---|
37 | </td> |
---|
38 | </tr> |
---|
39 | <tr> |
---|
40 | <td></td><td>OR</td></tr> |
---|
41 | <tr> |
---|
42 | <td class="cellhead"> |
---|
43 | CDML file: |
---|
44 | </td> |
---|
45 | <td> |
---|
46 | ${Markup(h.file_field('upload_cdml', size="80"))} |
---|
47 | </td> |
---|
48 | </tr> |
---|
49 | <tr> |
---|
50 | <td /> |
---|
51 | <td colspan="2"> |
---|
52 | ${Markup(h.submit('Upload'))} |
---|
53 | </td> |
---|
54 | </tr> |
---|
55 | </table> |
---|
56 | ${Markup(h.end_form())} |
---|
57 | </div> |
---|
58 | </h2> |
---|
59 | </div> |
---|
60 | </div> |
---|
61 | </body> |
---|
62 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.