debuggers.hg

view tools/control/web/tmpl/dom-del.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 Delete 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-delr.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>
54 <%
55 }
56 %>
58 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
60 <tr><td>
61 <table cellpadding="0" cellspacing="0" border="0">
62 <tbody>
64 <tr>
65 <td></td>
66 <td class="menuheader">force immediate destruction?</td>
67 </tr>
68 <tr>
69 <td> <input type="radio" name="force" value="false" checked></td>
70 <td> don't force </td>
71 </tr>
72 <tr>
73 <td> <input type="radio" name="force" value="true"></td>
74 <td> force </td>
75 </tr>
76 </tbody>
77 </table>
78 </td></tr>
80 ##WHITESPACE## ##GREYLINE1## ##WHITESPACE##
82 <tr>
83 <td><input type="submit" name="action" value="delete domain"></td>
84 </tr>
85 </tbody>
86 </table>
87 </form>
89 </td>
90 </tbody>
91 </table>
96 <!-- end content -->