summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/client
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/client')
-rw-r--r--application/views/scripts/client/addclient.phtml3
-rw-r--r--application/views/scripts/client/editclient.phtml3
-rw-r--r--application/views/scripts/client/index.phtml44
-rw-r--r--application/views/scripts/client/removeclient.phtml1
4 files changed, 0 insertions, 51 deletions
diff --git a/application/views/scripts/client/addclient.phtml b/application/views/scripts/client/addclient.phtml
deleted file mode 100644
index e5b0bcf..0000000
--- a/application/views/scripts/client/addclient.phtml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-echo $this->addclient;
diff --git a/application/views/scripts/client/editclient.phtml b/application/views/scripts/client/editclient.phtml
deleted file mode 100644
index 94d6b34..0000000
--- a/application/views/scripts/client/editclient.phtml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-echo $this->editclient;
diff --git a/application/views/scripts/client/index.phtml b/application/views/scripts/client/index.phtml
deleted file mode 100644
index fd7725c..0000000
--- a/application/views/scripts/client/index.phtml
+++ /dev/null
@@ -1,44 +0,0 @@
-<h1>Clients</h1>
-<?php echo $this->formButton('createbootos', 'Create Client', array(
- 'onclick' => 'self.location="/client/addclient"',
- 'class' => 'addbutton'))?>
-
-<?php if ($this->clients): ?>
- <table>
- <tr>
- <th>ID</th>
- <th>MAC</th>
- <th>Hardwarehash</th>
- <th colspan=2>Actions</th>
- </tr>
- <?php foreach ($this->clients as $client): ?>
- <tr class=entry>
- <td><?php echo $this->escape($client->getID()) ?></td>
- <td class='monospace'><?php echo $this->escape($client->getMacadress()) ?></td>
- <td class='monospace'><?php echo $this->escape($client->getHardwarehash()) ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'client',
- 'action' => 'editclient',
- 'clientID' => $client->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/edit.png' alt='Edit Client'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'client',
- 'action' => 'removeclient',
- 'clientID' => $client->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete 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
deleted file mode 100644
index 7b5f64f..0000000
--- a/application/views/scripts/client/removeclient.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Client</b> and script/action name <b>deleteclient</b></center> \ No newline at end of file