debuggers.hg

view tools/control/web/tmpl/vd-vdr.tmpl @ 623:e5cb8bd7ebfe

bitkeeper revision 1.325 (3f0d278fx62UemAA1unbHTgIGvOJ4Q)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/rac61/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/sos22/xeno.bk
author sos22@labyrinth.cl.cam.ac.uk
date Thu Jul 10 08:45:03 2003 +0000 (2003-07-10)
parents 316a46d203dd d746390f5bc4
children
line source
1 Refresh Virtual Disk
2 SECTION&XenoServers
3 BREADCRUMB&Virtual Disk Manager&vd.jsp
5 <!-- content -->
6 <img src="pixel.gif" class="block" width="1" height="12">
8 <table cellpadding="0" cellspacing="0" border="0">
9 <tbody>
10 INCLUDE&vdmenu.tmpl
11 <td valign="top">
13 <form method="post" action="vd-vdrr.jsp">
14 <table cellpadding="0" cellspacing="0" border="0">
15 <tbody>
16 <tr><td>
17 <table cellpadding="2" cellspacing="0" border="0">
18 <tbody>
19 <tr class="vdh"><td></td><td>key</td><td width="5"></td><td>name</td><td width="5"></td><td>expiry</td><td width="5"></td><td>size</td></tr>
21 <%
22 Iterator i = root.vdm().getVirtualDisks();
23 while (i.hasNext())
24 {
25 VirtualDisk vd = (VirtualDisk) i.next();
26 %>
27 <tr class="vdt">
28 <td><input type="checkbox" name="vd" value="<%= vd.getKey() %>"></td>
29 <td><%= vd.getKey() %></td>
30 <td></td>
31 <td><%= vd.getName() %></td>
32 <td></td>
33 <td><%= vd.getExpiry() %></td>
34 <td></td>
35 <td><%= Library.formatSize(vd.getSize()*Settings.SECTOR_SIZE,8,false) %></td>
36 </tr>
37 <%
38 }
39 %>
41 </tbody>
42 </table>
43 </td></tr>
45 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
47 <tr><td>
48 <table cellpadding="0" cellspacing="0" border="0">
49 <tbody>
51 <tr>
52 <td width="50"></td>
53 <td width="7"></td>
54 <td></td>
55 </tr>
57 <tr>
58 <td align="right">new<br>expiry</td>
59 <td></td>
60 <td> <input type="text" size="3" name="expiry">
61 <input type="radio" name="expiryunits" value="d" checked>days
62 <input type="radio" name="expiryunits" value="w">weeks
63 <input type="radio" name="expiryunits" value="m">months
64 <input type="radio" name="expiryunits" value="y">years
65 </td>
66 </tr>
67 </tbody>
68 </table>
69 </td></tr>
71 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
73 <tr>
74 <td><input type="submit" name="action" value="refresh expiry time"></td>
75 </tr>
76 </table>
77 </form>
78 </td>
79 </tbody>
80 </table>
85 <!-- end content -->