debuggers.hg

view tools/control/web/tmpl/pd-rr.tmpl @ 636:73fab8c399fd

bitkeeper revision 1.333 (3f0d5c67WCK8celxi8KUCjs_eFc8QA)

Update web interface to work with new VBD interface.
Finish tidying up web build files
author rac61@labyrinth.cl.cam.ac.uk
date Thu Jul 10 12:30:31 2003 +0000 (2003-07-10)
parents 11399488a825
children
line source
1 Revoke Access
2 SECTION&XenoServers
3 BREADCRUMB&Physical Disk Manager&pd.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&pdmenu.tmpl
11 <td valign="top">
13 <b>Revoke Access Results</b>
14 <br>
15 <%
16 HttpServletRequestWrapper hsrw = new HttpServletRequestWrapper(request);
18 String partitions[] = hsrw.getParameterValues("dompart");
19 if (partitions == null || partitions.length == 0)
20 {
21 %>
22 Error: No partitions chosen.<br>
23 <%
24 }
25 else
26 {
27 for (int i = 0; i < partitions.length; i++)
28 {
29 int domain = Integer.parseInt(partitions[i].substring(0,partitions[i].indexOf(" ")));
30 String partition = partitions[i].substring(partitions[i].indexOf(" ")+1);
31 %>
32 output[<%= i %>] =<br>
33 <%= new CommandPhysicalRevoke(sc.getDefaults(),domain,partition).executeWeb() %> <br>
34 <%
35 }
36 }
37 %>
39 <%
40 root.doFlushState();
41 %>
43 </td>
44 </tbody>
45 </table>
50 <!-- end content -->