Mercurial > hg > Members > shoshi > webvirt
diff app/views/elements/storage/volumeinfotable.ctp @ 1:eb4fee3d9bb8
added StoragePools management functions (storage_controller)
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 27 Jul 2011 00:00:25 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/elements/storage/volumeinfotable.ctp Wed Jul 27 00:00:25 2011 +0900 @@ -0,0 +1,18 @@ +<table> + <tr> + <th>Name</th> + <th>Type</th> + <th>Path</th> + <th>Capacity</th> + <th>Allocation</th> + </tr> +<?php foreach($volumes as $volume) { ?> + <tr> + <td><?php echo $volume["name"]; ?></td> + <td><?php echo $volume["type"]; ?></td> + <td><?php echo $volume["path"]; ?></td> + <td><?php echo $volume["capacity"]; ?></td> + <td><?php echo $volume["allocation"]; ?></td> + </td> +<?php } ?> +</table>