diff options
author | Simon | 2011-03-06 20:12:10 +0100 |
---|---|---|
committer | Simon | 2011-03-06 20:12:10 +0100 |
commit | bfea08336f782e0e796b15dc7a1b4af4b1e3783a (patch) | |
tree | e752570b47d3a8604940f0bda58494625c3eaa5f /application/views | |
parent | clients hinzufügen und entfernen && sql-data erweitert (diff) | |
download | pbs2-bfea08336f782e0e796b15dc7a1b4af4b1e3783a.tar.gz pbs2-bfea08336f782e0e796b15dc7a1b4af4b1e3783a.tar.xz pbs2-bfea08336f782e0e796b15dc7a1b4af4b1e3783a.zip |
Pool add, edit und remove hinzugefügt
Diffstat (limited to 'application/views')
-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 | 37 |
4 files changed, 39 insertions, 1 deletions
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 index 5266a4e..989cf41 100644 --- a/application/views/scripts/pool/index.phtml +++ b/application/views/scripts/pool/index.phtml @@ -1 +1,36 @@ -<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>index</b></center>
\ No newline at end of file +<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;?> |