Mercurial > hg > Members > shoshi > webvirt
annotate app/views/pages/display.ctp @ 4:c3adb28473d6 default tip
modified icon feature
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 16 Aug 2011 18:31:36 +0900 |
parents | 7201fd354bdf |
children |
rev | line source |
---|---|
0 | 1 <h2><?php echo $hostname; ?></h2> |
2 <table> | |
3 <tr> | |
4 <th>Model</th> | |
5 <th>Number of CPUs</th> | |
6 <th>Memory</th> | |
7 </tr> | |
8 <tr> | |
9 <td><?php echo $nodeinfo["model"] ?></td> | |
10 <td><?php echo $nodeinfo["cpus"] ?></td> | |
11 <td><?php echo $nodeinfo["memory"] ?></td> | |
12 </tr> | |
13 </table> | |
14 <table> | |
15 <tr> | |
16 <th>Actions</th> | |
17 </tr> | |
18 <tr> | |
19 <?php foreach($actions as $action){ ?> | |
20 <td><a href="<?php echo $action;?>"><?php echo $action; ?></a></td> | |
21 <?php } ?> | |
22 </tr> | |
23 </table> | |
1
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
24 <h2>Domains</h2> |
0 | 25 <?php foreach($domains as $dom){ ?> |
3
7201fd354bdf
added icon features , default icon
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
1
diff
changeset
|
26 <img src="icon/index?uuid=<?php echo $dom["uuid"] ?>" /> |
4
c3adb28473d6
modified icon feature
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
3
diff
changeset
|
27 <a href="icon/EditIcon?uuid=<?php echo $dom["uuid"] ?>">edit</a> |
1
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
28 <h3><?php echo $dom["name"]; ?></h3> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
29 <table> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
30 <tr> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
31 <th>Memory</th> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
32 <th>Number of CPUs</th> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
33 <th>Status</th> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
34 <tr> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
35 <td><?php echo $dom["memory"]; ?></td> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
36 <td><?php echo $dom["nrVirtCpu"]; ?></td> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
37 <td><?php echo $dom["status"]; ?></td> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
38 </tr> |
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
39 </table> |
0 | 40 <table> |
41 <tr> | |
42 <th>Actions</th> | |
43 </tr> | |
44 <tr> | |
45 <?php foreach($dom["actions"] as $action){ ?> | |
46 <td><?php echo $this->Html->link($action,array("controller" => $action,"action" => "exec","?" => array("uuid" => $dom["uuid"])),array("target" => "_blank")); ?></td> | |
47 <?php } ?> | |
48 </tr> | |
49 </table> | |
50 <?php } ?> | |
1
eb4fee3d9bb8
added StoragePools management functions (storage_controller)
Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
51 |