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 = "/UrlCleanup/cleanup" method = "post">
5  <table>
6  <tr>
7  <td>Url</td>
8  <td><?=$url?></td>
9  </tr>
10  <tr>
11  <td>State</td>
12  <td>
13  <?=CHtml::dropDownList('state', '', array(
14  '0' => 'Enabled',
15  '1' => 'Disabled',
16  '2' => 'Error',
17  ),
18  array(
19  'options' => array(
20  '0' => Array(
21  'selected' => 'selected'
22  )
23  )
24  )
25  )?>
26  </td>
27  </tr>
28  <tr>
29  <td>Status</td>
30  <td>
31  <?=CHtml::dropDownList("status", '', array(
32  '0' => 'Undefined',
33  '1' => 'New',
34  ),
35  array(
36  'options' => array(
37  '1' => Array(
38  'selected' => 'selected'
39  )
40  ),
41  'id'=>'status'
42  )
43  )?>
44  </td>
45  </tr>
46  </table>
47  <table>
48  <tr colspan = 2>
49  <td><input type = "submit" value = "CleanUp"/></td>
50  <td><input type = "button" value = "Cancel" onclick = "cancelCleanup()"/></td>
51  <td><input type = "button" value = "Help" disabled/></td>
52  </tr>
53  </table>
54  <?php
55  echo CHtml::hiddenField('siteId', $siteId);
56  echo CHtml::hiddenField('url', $url);
57  echo CHtml::hiddenField('urlType', $urlType);
58  ?>
59  </form>
60 </div>
61 </div>