Mercurial > hg > Members > shoshi > webvirt
diff app/views/storage/exec.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/storage/exec.ctp Wed Jul 27 00:00:25 2011 +0900 @@ -0,0 +1,16 @@ +<h2>StoragePools</h2> +<?php foreach($storagepools as $pool){ ?> +<h3><?php echo $pool["name"]; ?></h3> +<?php echo $this->element("storage/poolinfo",array("pool" => $pool)); ?> +<table> + <tr> + <th>Actions.</th> + </tr> + <tr> + <td><?php echo $this->Html->link("Edit",array("action" => "EditPool","?" => array("id" => $pool["uuid"]))); ?></td> + </tr> +</table> +<h4>Volumes</h4> +<?php echo $this->element("storage/volumeinfotable",array("volumes" => $pool["volumes"])); ?> +<?php } ?> +<p><a href="../">Back</a></p>