source: MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_home.html @ 4697

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_home.html@4697
Revision 4697, 1.1 KB checked in by cbyrom, 11 years ago (diff)

Add delete function to atom editor to delete granule atoms - together
with warning messages beforehand and result pop up messages afterwards.
Adjust granulite to expose the delete functions publicly.

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            <script py:if="c.deleteResult" type="text/javascript">
10           
11                        window.onload = alert('$c.deleteResult');
12                        <?python del c.deleteResult ?>
13                </script>
14    </head>
15  <body class="submit">
16      <panelTab>Editor</panelTab>
17        <div id="contents">
18            <div class="metadata">
19                            <h3>  $c.title </h3>
20                            <h2>
21                            <a href="${h.url_for(controller='atom_editor/editatom',action='create')}">Create atom</a>
22                                </h2>
23                            <h2>
24                            <a href="${h.url_for(controller='atom_editor/editatom',action='createGranule')}">Create data granule atom using granulite file</a>
25                                </h2>
26                            <h2>
27                            <a href="${h.url_for(controller='atom_editor/listatom',action='list', searchData=None)}">Edit/List atoms</a>
28                            </h2>
29                </div>
30        </div>
31  </body>
32</html>
Note: See TracBrowser for help on using the repository browser.