diff options
| author | michael pereira | 2011-03-08 19:41:07 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-08 19:41:07 +0100 |
| commit | 6a917fa16d4aabd8e69e1db08867899c860424e1 (patch) | |
| tree | 5aee03f6bf1810ec340110df55fd1edacf44f592 /application/views/scripts/pool | |
| parent | BootOs Name anzeigen & Reihenfolge im BootMenu (diff) | |
| parent | ansehnlichere oberfläche && Controller auflistung (diff) | |
| download | pbs2-6a917fa16d4aabd8e69e1db08867899c860424e1.tar.gz pbs2-6a917fa16d4aabd8e69e1db08867899c860424e1.tar.xz pbs2-6a917fa16d4aabd8e69e1db08867899c860424e1.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/views/scripts/pool')
| -rw-r--r-- | application/views/scripts/pool/index.phtml | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/application/views/scripts/pool/index.phtml b/application/views/scripts/pool/index.phtml index 25f1528..c3a6be9 100644 --- a/application/views/scripts/pool/index.phtml +++ b/application/views/scripts/pool/index.phtml @@ -79,7 +79,33 @@ </table> <?php endforeach ?> </table> - +<h2>Free clients</h2> +<table border=1 > +<tr><th>ClientID</th><th>MacAdress</th><th>Hardwarehash</th> +<?php foreach ($this->pools as $pool): ?> + <th><?php echo $this->escape($pool->getTitle()) ?></th> + <?php endforeach ?> +</tr> +<?php +foreach ($this->freeclients as $client): ?> + <tr> + <td><?php echo $client['clientID']; ?></td> + <td><?php echo $client['macadress']; ?></td> + <td><?php echo $client['hardwarehash']; ?></td> + <?php foreach ($this->pools as $pool): ?> + <td><a href='<?php echo $this->url( + array( + 'controller' => 'pool', + 'action' => 'linkclient', + 'clientID' => $client['clientID'], + 'poolID' => $pool->getID(), + ), + 'default', + true) ?>'>link</a></td> + <?php endforeach ?> + </tr> +<?php endforeach ?> +</table> <?php else: ?> |
