diff options
Diffstat (limited to 'application/views/scripts/client/index.phtml')
| -rw-r--r-- | application/views/scripts/client/index.phtml | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/application/views/scripts/client/index.phtml b/application/views/scripts/client/index.phtml index 0eb28b8..e9de06b 100644 --- a/application/views/scripts/client/index.phtml +++ b/application/views/scripts/client/index.phtml @@ -1,15 +1,10 @@ <h1>Clients</h1> +<?php echo $this->formButton('createbootos', 'Create Client', array( + 'onclick' => 'self.location="/client/addclient"', + 'class' => 'addbutton'))?> <?php if ($this->clients): ?> - <a href="<?php echo $this->url( - array( - 'controller' => 'client', - 'action' => 'addclient' - ), - 'default', - true) ?>">add client</a> - <!-- A table of filters. --> - <table border=1> + <table> <tr> <th>clientID</th> <th>MAC</th> @@ -18,8 +13,8 @@ <?php foreach ($this->clients as $client): ?> <tr class='client'> <td><?php echo $this->escape($client->getID()) ?></td> - <td><?php echo $this->escape($client->getMacadress()) ?></td> - <td><?php echo $this->escape($client->getHardwarehash()) ?></td> + <td class='monospace'><?php echo $this->escape($client->getMacadress()) ?></td> + <td class='monospace'><?php echo $this->escape($client->getHardwarehash()) ?></td> <td><a href="<?php echo $this->url( array( 'controller' => 'client', |
