debuggers.hg

view tools/control/web/tmpl/dom-lis.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 bd90bd0c8b23
children
line source
1 Domain List
2 SECTION&XenoServers
3 BREADCRUMB&Domain Manager&dom.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&dommenu.tmpl
11 <td valign="top">
13 <%
14 CommandDomainList list = new CommandDomainList(sc.getDefaults());
15 String output = list.executeWeb();
16 Domain domains[] = list.domains();
17 if (output != null)
18 {
19 %>
20 <%= output %>
21 <%
22 } else {
23 %>
25 <table cellpadding="2" cellspacing="0" border="0">
26 <tbody>
27 <tr class="vdh"><td>domain<br>id</td><td>processor</td><td>has<br>cpu</td><td>state</td><td>mcu<br>advance</td><td>total<br>pages</td><td>name</td></tr>
28 <%
29 /* assert: domains != null, otherwise, where is the servlet engine? */
30 for (int loop = 0; loop < domains.length; loop++)
31 {
32 %>
33 <tr>
34 <td align="center"><%= domains[loop].id %></td>
35 <td align="center"><%= domains[loop].processor %></td>
36 <td align="center"><%= domains[loop].cpu %> </td>
37 <td><%= domains[loop].state %> </td>
38 <td align="center"><%= domains[loop].mcu %> </td>
39 <td align="center"><%= domains[loop].pages %> </td>
40 <td><%= domains[loop].name %> </td>
41 </tr>
42 <%
43 }
44 %>
45 </tbody>
46 </table>
47 <%
48 }
49 %>
51 </td>
52 </tbody>
53 </table>
58 <!-- end content -->