diff options
| author | michael pereira | 2011-03-18 19:27:33 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-18 19:27:33 +0100 |
| commit | 87b3b1d9c0cecf76d1eb39cf2548072607de59ea (patch) | |
| tree | 5d07af0d68e20a38422a72864b3ca68b1a1b07be /application/modules/user/views/scripts/pool | |
| parent | BootOs Update implementiert, BootISO anlegen und some fixes (diff) | |
| parent | User-Oberfläche, FBGui-Oberfläche legt Session&Clients an - für Kiosk-System (diff) | |
| download | pbs2-87b3b1d9c0cecf76d1eb39cf2548072607de59ea.tar.gz pbs2-87b3b1d9c0cecf76d1eb39cf2548072607de59ea.tar.xz pbs2-87b3b1d9c0cecf76d1eb39cf2548072607de59ea.zip | |
newsql geaendert
Diffstat (limited to 'application/modules/user/views/scripts/pool')
| -rw-r--r-- | application/modules/user/views/scripts/pool/index.phtml | 10 | ||||
| -rw-r--r-- | application/modules/user/views/scripts/pool/linkclient.phtml | 3 |
2 files changed, 9 insertions, 4 deletions
diff --git a/application/modules/user/views/scripts/pool/index.phtml b/application/modules/user/views/scripts/pool/index.phtml index 05b880a..e1c0d7c 100644 --- a/application/modules/user/views/scripts/pool/index.phtml +++ b/application/modules/user/views/scripts/pool/index.phtml @@ -1,4 +1,5 @@ <h1>Pools</h1> +<?php if($this->notification != ''){echo $this->notification;} ?> <?php echo $this->formButton('createconfig', 'Create Pool', array( 'onclick' => 'self.location="/user/pool/createpool"', 'class' => 'addbutton'))?> @@ -14,7 +15,7 @@ </tr> <?php foreach ($this->pools as $pool): ?> <tr class=entry> - <td><?php echo $this->escape($pool->getID()) ?></td> + <!--<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> @@ -56,7 +57,7 @@ <td colspan=6> <table> <tr> - <th>ClientID</th> + <!-- <th>ClientID</th> --> <th>Mac</th> <th>Hardwarehash</th> <th>Actions</th> @@ -64,7 +65,7 @@ <?php foreach ($clients as $client): ?> <tr> - <td><?php echo $client['clientID'];?></td> + <!-- <td><?php echo $client['clientID'];?></td> --> <?php $cli = new Application_Model_Client(); $clientMapper = new Application_Model_ClientMapper(); @@ -89,6 +90,8 @@ <?php endif;?> <?php endforeach ?> </table> + +<?php if (count($this->freeclients)>0): ?> <h2>Free clients</h2> <table > <tr> @@ -123,6 +126,7 @@ foreach ($this->freeclients as $client): ?> </tr> <?php endforeach ?> </table> +<?php endif;?> <?php else: ?> diff --git a/application/modules/user/views/scripts/pool/linkclient.phtml b/application/modules/user/views/scripts/pool/linkclient.phtml index a2f9a6c..eebe111 100644 --- a/application/modules/user/views/scripts/pool/linkclient.phtml +++ b/application/modules/user/views/scripts/pool/linkclient.phtml @@ -1 +1,2 @@ -<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>linkpool</b></center>
\ No newline at end of file +<?php +echo $this->poolclient; |
