HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
__cleanupDialog.php
Go to the documentation of this file.
1 <div class = "dialog-overlay">
2  <div id = "cleanup-dialog">
3  <h3>Cleanup</h3>
4  <form action = "/SiteCleanup/cleanup?siteId=<?=$id?>" method = "post">
5  <table>
6  <tr>
7  <td>Site ID</td>
8  <td><?=$id?></td>
9  </tr>
10  <tr>
11  <td>Suspend site before cleanup</td>
12  <td><input type = "checkbox" name = "suspend"/></td>
13  </tr>
14  <tr>
15  <td>History cleanup</td>
16  <td><input type = "checkbox" name = "history"/></td>
17  </tr>
18  <tr>
19  <td>State after cleanup</td>
20  <td>
21  <?php
22  echo CHtml::dropDownList('state', '1', array(
23  '1' => 'Active',
24  '2' => 'Disabled',
25  '3' => 'Suspended'
26  ),
27  array(
28  'class'=> 'wauto'
29  )
30  );
31  ?>
32  </td>
33  </tr>
34  <tr>
35  <td>Timeout</td>
36  <td><input name = "delay" type = "text" class = "righted"/></td>
37  </tr>
38  <tr>
39  <td><input type = "submit" value = "CleanUp"/></td>
40  <td><input type = "button" value = "Cancel" onclick = "cancelCleanup()"/></td>
41  </tr>
42  </table>
43  </form>
44 </div>
45 </div>