diff options
Diffstat (limited to 'application/views/scripts/client/index.phtml')
| -rw-r--r-- | application/views/scripts/client/index.phtml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/application/views/scripts/client/index.phtml b/application/views/scripts/client/index.phtml new file mode 100644 index 0000000..4095a5f --- /dev/null +++ b/application/views/scripts/client/index.phtml @@ -0,0 +1,34 @@ +<h1>Clients</h1> + +<?php if ($this->clients): ?> + + <!-- A table of filters. --> + <table border=1> + <tr> + <th>clientID</th> + <th>MAC</th> + <th>Hardwarehash</th> + </tr> + <?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><a href="<?php echo $this->url( + array( + 'controller' => 'client', + 'action' => 'removeclient', + 'clientID' => $client->getID() + ), + 'default', + true) ?>">remove client</a></td> + </tr> + <?php endforeach ?> + </table> + +<?php else: ?> + + + <p>There are no clients to display.</p> + +<?php endif;?> |
