summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/pool
diff options
context:
space:
mode:
authorSimon2011-03-09 14:43:40 +0100
committerSimon2011-03-09 14:43:40 +0100
commit9f26be7f273a1c16fee2a369eb6c8dbcfdc83cdd (patch)
tree937aa56a584bb1401f85c8887f5c4adeb0196c02 /application/views/scripts/pool
parenthtaccess (diff)
downloadpbs2-9f26be7f273a1c16fee2a369eb6c8dbcfdc83cdd.tar.gz
pbs2-9f26be7f273a1c16fee2a369eb6c8dbcfdc83cdd.tar.xz
pbs2-9f26be7f273a1c16fee2a369eb6c8dbcfdc83cdd.zip
Icons ins Oberlfäche hinzugefügt & Views geupdated & style geupdated & select in free clients hinzugefügt
Diffstat (limited to 'application/views/scripts/pool')
-rw-r--r--application/views/scripts/pool/index.phtml30
1 files changed, 17 insertions, 13 deletions
diff --git a/application/views/scripts/pool/index.phtml b/application/views/scripts/pool/index.phtml
index 68fcbc4..f89dbc9 100644
--- a/application/views/scripts/pool/index.phtml
+++ b/application/views/scripts/pool/index.phtml
@@ -18,33 +18,33 @@
<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(
+ <td class='action'><a href="<?php echo $this->url(
array(
'controller' => 'pool',
'action' => 'editpool',
'poolID' => $pool->getID()
),
'default',
- true) ?>">edit pool</a></td>
- <td><a href="<?php echo $this->url(
+ true) ?>"><img src='/media/img/edit.png' alt='Edit Pool'/></a></td>
+ <td class='action'><a href="<?php echo $this->url(
array(
'controller' => 'pool',
'action' => 'deletepool',
'poolID' => $pool->getID()
),
'default',
- true) ?>">delete pool</a></td>
- <td><a href="<?php echo $this->url(
+ true) ?>"><img src='/media/img/delete.png' alt='Delete Pool'/></a></td>
+ <td class='action'><a href="<?php echo $this->url(
array(
'controller' => 'pool',
'action' => 'linkclient',
'poolID' => $pool->getID()
),
'default',
- true) ?>">link client</a></td>
+ true) ?>"><img src='/media/img/add.png' alt='Link Client'/></a></td>
</tr>
<tr class=detail>
- <td></td>
+ <td class=arrowtop>↳</td>
<td colspan=6>
<table>
<tr>
@@ -66,21 +66,21 @@
?>
<td><?php echo ($cli->macAdress); ?></td>
<td><?php echo ($cli->hardwarehash); ?></td>
- <td><a href="<?php echo $this->url(
+ <td class='action'><a href="<?php echo $this->url(
array(
'controller' => 'pool',
'action' => 'unlinkclient',
'poolentriesID' => $client['poolentriesID']
),
'default',
- true) ?>">unlink client</a></td>
+ true) ?>"><img src='/media/img/delete.png' alt='Unlink Client'/></a></td>
</tr>
<?php endforeach ?>
</table>
<?php endforeach ?>
</table>
<h2>Free clients</h2>
-<table border=1 >
+<table >
<tr><th>ClientID</th><th>MacAdress</th><th>Hardwarehash</th>
<?php foreach ($this->pools as $pool): ?>
<th><?php echo $this->escape($pool->getTitle()) ?></th>
@@ -92,8 +92,9 @@ foreach ($this->freeclients as $client): ?>
<td><?php echo $client['clientID']; ?></td>
<td><?php echo $client['macadress']; ?></td>
<td><?php echo $client['hardwarehash']; ?></td>
+ <td><select>
<?php foreach ($this->pools as $pool): ?>
- <td><a href='<?php echo $this->url(
+ <option value="<?php echo $this->url(
array(
'controller' => 'pool',
'action' => 'linkclient',
@@ -101,8 +102,11 @@ foreach ($this->freeclients as $client): ?>
'poolID' => $pool->getID(),
),
'default',
- true) ?>'>link</a></td>
- <?php endforeach ?>
+ true) ?>"><?php echo $pool->getTitle(); ?></option>
+ <?php //<img src='/media/img/add.png' alt='Link to Pool'/></a></td> ?>
+ <?php endforeach ?>
+ </select>
+ </td>
</tr>
<?php endforeach ?>
</table>