diff options
Diffstat (limited to 'application/views/scripts')
| -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 | ||||
| -rw-r--r-- | application/views/scripts/filter/evaluate.phtml | 0 | ||||
| -rw-r--r-- | application/views/scripts/pool/createpool.phtml | 1 | ||||
| -rw-r--r-- | application/views/scripts/pool/deletepool.phtml | 1 | ||||
| -rw-r--r-- | application/views/scripts/pool/editpool.phtml | 1 | ||||
| -rw-r--r-- | application/views/scripts/pool/index.phtml | 36 |
8 files changed, 75 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 diff --git a/application/views/scripts/filter/evaluate.phtml b/application/views/scripts/filter/evaluate.phtml new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/application/views/scripts/filter/evaluate.phtml diff --git a/application/views/scripts/pool/createpool.phtml b/application/views/scripts/pool/createpool.phtml new file mode 100644 index 0000000..3d7f8ca --- /dev/null +++ b/application/views/scripts/pool/createpool.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>createpool</b></center>
\ No newline at end of file diff --git a/application/views/scripts/pool/deletepool.phtml b/application/views/scripts/pool/deletepool.phtml new file mode 100644 index 0000000..622e663 --- /dev/null +++ b/application/views/scripts/pool/deletepool.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>deletepool</b></center>
\ No newline at end of file diff --git a/application/views/scripts/pool/editpool.phtml b/application/views/scripts/pool/editpool.phtml new file mode 100644 index 0000000..c70464e --- /dev/null +++ b/application/views/scripts/pool/editpool.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>editpool</b></center>
\ No newline at end of file diff --git a/application/views/scripts/pool/index.phtml b/application/views/scripts/pool/index.phtml new file mode 100644 index 0000000..989cf41 --- /dev/null +++ b/application/views/scripts/pool/index.phtml @@ -0,0 +1,36 @@ +<h1>Pools</h1> + +<?php if ($this->pools): ?> + + <!-- A table of filters. --> + <table border=1> + <tr> + <th>poolID</th> + <th>Title</th> + <th>Description</th> + <th>Location</th> + </tr> + <?php foreach ($this->pools as $pool): ?> + <tr class='pool'> + <td><?php echo $this->escape($pool->getID()) ?></td> + <td><?php echo $this->escape($pool->getTitle()) ?></td> + <td><?php echo $this->escape($pool->getDescription()) ?></td> + <td><?php echo $this->escape($pool->getLocation()) ?></td> + <td><a href="<?php echo $this->url( + array( + 'controller' => 'pool', + 'action' => 'removepool', + 'poolID' => $pool->getID() + ), + 'default', + true) ?>">remove pool</a></td> + </tr> + <?php endforeach ?> + </table> + +<?php else: ?> + + + <p>There are no pools to display.</p> + +<?php endif;?> |
