diff options
Diffstat (limited to 'application/views/scripts/pool/index.phtml')
| -rw-r--r-- | application/views/scripts/pool/index.phtml | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/application/views/scripts/pool/index.phtml b/application/views/scripts/pool/index.phtml index c3a6be9..2df3e52 100644 --- a/application/views/scripts/pool/index.phtml +++ b/application/views/scripts/pool/index.phtml @@ -1,17 +1,10 @@ <h1>Pools</h1> - -<a href="<?php echo $this->url( - array( - 'controller' => 'pool', - 'action' => 'createpool' - ), - 'default', - true) ?>">create pool</a> +<?php echo $this->formButton('createconfig', 'Create Pool', array( + 'onclick' => 'self.location="/pool/createpool"', + 'class' => 'addbutton'))?> <?php if ($this->pools): ?> - - <!-- A table of filters. --> - <table border=1> + <table > <tr> <th>poolID</th> <th>Title</th> @@ -52,7 +45,12 @@ <tr> <td> </td> - <td colspan=6><table border=1><tr><th>clientID</th><th>mac</th><th>hardwarehash</th></th> + <td colspan=6><table> + <tr> + <th>clientID</th> + <th>mac</th> + <th>hardwarehash</th> + </tr> <?php $poolentriesMapper = new Application_Model_PoolEntriesMapper(); $clients = $poolentriesMapper->findBy('poolID',$pool->getID()); |
