summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/pool/index.phtml
diff options
context:
space:
mode:
authorSimon2011-03-06 20:12:10 +0100
committerSimon2011-03-06 20:12:10 +0100
commitbfea08336f782e0e796b15dc7a1b4af4b1e3783a (patch)
treee752570b47d3a8604940f0bda58494625c3eaa5f /application/views/scripts/pool/index.phtml
parentclients hinzufügen und entfernen && sql-data erweitert (diff)
downloadpbs2-bfea08336f782e0e796b15dc7a1b4af4b1e3783a.tar.gz
pbs2-bfea08336f782e0e796b15dc7a1b4af4b1e3783a.tar.xz
pbs2-bfea08336f782e0e796b15dc7a1b4af4b1e3783a.zip
Pool add, edit und remove hinzugefügt
Diffstat (limited to 'application/views/scripts/pool/index.phtml')
-rw-r--r--application/views/scripts/pool/index.phtml37
1 files changed, 36 insertions, 1 deletions
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;?>