debuggers.hg

view tools/control/web/tmpl/vd-vbdc.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 Create Virtual Block Device
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-vbdcr.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>vd 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>
29 <input type="radio" name="vd" value="<%= vd.getKey() %>">
30 </td>
31 <td><%= vd.getKey() %></td>
32 <td></td>
33 <td><%= vd.getName() %></td>
34 <td></td>
35 <td><%= vd.getExpiry() %></td>
36 <td></td>
37 <td><%= Library.formatSize(vd.getSize()*Settings.SECTOR_SIZE,8,false) %></td>
38 </tr>
39 <%
40 }
41 %>
43 </tbody>
44 </table>
45 </td></tr>
47 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
49 <tr><td>
50 <table cellpadding="0" cellspacing="0" border="0">
51 <tbody>
53 <tr>
54 <td width="100"></td>
55 <td width="7"></td>
56 <td></td>
57 </tr>
59 <tr>
60 <td align="right">domain</td>
61 <td></td>
62 <td> <input type="text" size="3" name="domain"> </td>
63 </tr>
64 <tr>
65 <td align="right">vbd number</td>
66 <td></td>
67 <td> <input type="text" size="3" name="vbd"> </td>
68 </tr>
69 <tr>
70 <td align="right"></td>
71 <td></td>
72 <td> <input type="radio" name="mode" value="ro" checked>RO
73 <input type="radio" name="mode" value="rw">RW</td>
74 </tr>
75 </tbody>
76 </table>
77 </td></tr>
79 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
81 <tr>
82 <td><input type="submit" name="action" value="create virtual block device"></td>
83 </tr>
84 </table>
85 </form>
87 </td>
88 </tbody>
89 </table>
94 <!-- end content -->