diff options
| author | michael pereira | 2011-03-06 20:12:43 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-06 20:12:43 +0100 |
| commit | c2e050df18557a3fe1093f0fef1685c2e631b95b (patch) | |
| tree | 532672f37cf928d0c2c81b6e3d55fd8cda7e393d /application/views/scripts/client | |
| parent | datenbank erweitert, BootMenu, Config fertig (diff) | |
| parent | Pool add, edit und remove hinzugefügt (diff) | |
| download | pbs2-c2e050df18557a3fe1093f0fef1685c2e631b95b.tar.gz pbs2-c2e050df18557a3fe1093f0fef1685c2e631b95b.tar.xz pbs2-c2e050df18557a3fe1093f0fef1685c2e631b95b.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/views/scripts/client')
| -rw-r--r-- | application/views/scripts/client/addclient.phtml | 1 | ||||
| -rw-r--r-- | application/views/scripts/client/index.phtml | 34 | ||||
| -rw-r--r-- | application/views/scripts/client/removeclient.phtml | 1 |
3 files changed, 36 insertions, 0 deletions
diff --git a/application/views/scripts/client/addclient.phtml b/application/views/scripts/client/addclient.phtml new file mode 100644 index 0000000..9d1c04e --- /dev/null +++ b/application/views/scripts/client/addclient.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Client</b> and script/action name <b>addclient</b></center>
\ No newline at end of file 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;?> diff --git a/application/views/scripts/client/removeclient.phtml b/application/views/scripts/client/removeclient.phtml new file mode 100644 index 0000000..7b5f64f --- /dev/null +++ b/application/views/scripts/client/removeclient.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Client</b> and script/action name <b>deleteclient</b></center>
\ No newline at end of file |
