debuggers.hg

view tools/control/web/tmpl/vd-fv.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 Free Space
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 <%
14 VirtualDisk free = root.vdm().getFreeDisk();
15 %>
17 <table cellpadding="0" cellspacing="0" border="0">
18 <tbody>
20 <tr><td>
21 Total available free space: <%= Library.formatSize(free.getSize() * Settings.SECTOR_SIZE,8,true) %>
22 </td></tr>
25 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
27 <tr><td>
28 <table cellpadding="2" cellspacing="0" border="0">
29 <tbody>
30 <tr class="vdh"><td>disk</td><td>offset</td><td>size </td></tr>
32 <%
33 Iterator i = free.extents();
34 while (i.hasNext())
35 {
36 Extent e = (Extent) i.next();
37 %>
38 <tr class="vdt">
39 <td ><%= e.getDisk() %></td>
40 <td align="right"><%= e.getOffset() %> </td>
41 <td align="right"><%= e.getSize() %> </td>
42 </tr>
43 <%
44 }
45 %>
46 </tbody>
47 </table>
48 </td></tr>
50 </tbody>
51 </table>
53 </td>
54 </tbody>
55 </table>
60 <!-- end content -->