debuggers.hg

view tools/control/web/tmpl/dom-sta.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 Start Domain
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 <form method="post" action="dom-star.jsp">
14 <table cellpadding="0" cellspacing="0" border="0">
15 <tbody>
16 <tr><td>
17 <%
18 CommandDomainList list = new CommandDomainList(sc.getDefaults());
19 String output = list.executeWeb();
20 Domain domains[] = list.domains();
21 if (output != null)
22 {
23 %>
24 <%= output %>
25 <%
26 } else {
27 %>
29 <table cellpadding="2" cellspacing="0" border="0">
30 <tbody>
31 <tr class="vdh"><td></td><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>
32 <%
33 for (int loop = 0; loop < domains.length; loop++)
34 {
35 %>
36 <tr class="vdt">
37 <td><input type="checkbox" name="dom" value="<%= domains[loop].id %>"></td>
38 <td align="center"><%= domains[loop].id %></td>
39 <td align="center"><%= domains[loop].processor %></td>
40 <td align="center"><%= domains[loop].cpu %> </td>
41 <td><%= domains[loop].state %> </td>
42 <td align="center"><%= domains[loop].mcu %> </td>
43 <td align="center"><%= domains[loop].pages %> </td>
44 <td><%= domains[loop].name %> </td>
45 </tr>
46 <%
47 }
48 %>
50 </tbody>
51 </table>
52 </td></tr>
53 <%
54 }
55 %>
57 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
59 <tr>
60 <td><input type="submit" name="action" value="start domain"></td>
61 </tr>
62 </tbody>
63 </table>
64 </form>
66 </td>
67 </tbody>
68 </table>
73 <!-- end content -->