debuggers.hg

view tools/control/web/tmpl/vd-pv.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 View Partitions
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">
12 note: highlighted entries are currently being used as xeno partitions.
13 <br><br>
15 <table cellpadding="2" cellspacing="0" border="0">
16 <tbody>
17 <tr class="vdh"><td>maj:min</td><td>blocks</td><td>start sect</td><td>num sects</td><td>name</td></tr>
18 <%
19 int count = root.pm().getPartitionCount();
20 for (int loop = 0; loop < count; loop++)
21 {
22 Partition p = root.pm().getPartition(loop);
23 if (p.isXeno() == true)
24 {
25 %>
26 <tr class="vds">
27 <%
28 }
29 else
30 {
31 %>
32 <tr class="vdt">
33 <%
34 }
35 %>
36 <td><%= p.getMajor() %>:<%= p.getMinor() %></td>
37 <td align="right"><%= p.getBlocks() %></td>
38 <td align="right"><%= p.getStartSect() %> </td>
39 <td align="right"><%= p.getNumSects() %> </td>
40 <td><%= p.getName() %> </td>
41 <%
42 }
43 %>
44 </tbody>
45 </table>
47 </td>
48 </tbody>
49 </table>
54 <!-- end content -->