diff options
| author | Simon | 2011-03-08 20:33:51 +0100 |
|---|---|---|
| committer | Simon | 2011-03-08 20:33:51 +0100 |
| commit | c8bbb9cae7b60ed988cbbf93f9e5cdbfae798ce2 (patch) | |
| tree | 056bc62afec74dadd52677e8a231f5a2c579a8b5 /application/views/scripts/client/index.phtml | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-c8bbb9cae7b60ed988cbbf93f9e5cdbfae798ce2.tar.gz pbs2-c8bbb9cae7b60ed988cbbf93f9e5cdbfae798ce2.tar.xz pbs2-c8bbb9cae7b60ed988cbbf93f9e5cdbfae798ce2.zip | |
ansichten vereinheitlicht & Auth gefixxt & user test//test angelegt
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', |
