debuggers.hg

view tools/control/web/tmpl/vd-pa.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 Add Partition
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-par.jsp">
14 <table cellpadding="0" cellspacing="0" border="0">
15 <tbody>
17 <tr><td>
19 <table cellpadding="2" cellspacing="0" border="0">
20 <tbody>
21 <tr class="vdh"><td></td><td>maj:min</td><td>blocks</td><td>start sect</td><td>num sects</td><td>name</td></tr>
22 <%
23 int count = root.pm().getPartitionCount();
24 for (int loop = 0; loop < count; loop++)
25 {
26 Partition p = root.pm().getPartition(loop);
27 if (p.isXeno() == true)
28 {
29 %>
30 <tr class="vds"><td></td>
31 <%
32 }
33 else
34 {
35 %>
36 <tr class="vdt">
37 <td><input type="checkbox" name="p" value="<%= p.getName() %>"></td>
38 <%
39 }
40 %>
41 <td><%= p.getMajor() %>:<%= p.getMinor() %></td>
42 <td align="right"><%= p.getBlocks() %></td>
43 <td align="right"><%= p.getStartSect() %> </td>
44 <td align="right"><%= p.getNumSects() %> </td>
45 <td><%= p.getName() %> </td>
46 </tr>
47 <%
48 }
49 %>
50 </tbody>
51 </table>
53 </td></tr>
55 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
58 <tr><td>
59 <table cellpadding="0" cellspacing="0" border="0">
60 <tbody>
62 <tr>
63 <td width="50"></td>
64 <td width="7"></td>
65 <td></td>
66 </tr>
68 <tr>
69 <td align="right">chunksize</td>
70 <td></td>
71 <td> <input type="text" size="5" name="chunk" value="256">
72 <input type="radio" name="chunkunits" value="m" checked>MB
73 <input type="radio" name="chunkunits" value="g">GB
74 </td>
75 </tr>
76 </tbody>
77 </table>
78 </td></tr>
80 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
82 <tr>
83 <td><input type="submit" name="action" value="add partition"></td>
84 </tr>
86 </tbody>
87 </table>
88 </form>
90 </td>
91 </tbody>
92 </table>
97 <!-- end content -->