diff options
| author | michael pereira | 2011-03-18 19:24:47 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-18 19:24:47 +0100 |
| commit | fd0e66bf49af0bc56e68830b4c59294f0ec8c101 (patch) | |
| tree | a5bd9e4e255c9a841b35931fa8f5d9c8d1ece5a2 /application/modules/dev/views/scripts | |
| parent | Datenbank update, PoolController (diff) | |
| download | pbs2-fd0e66bf49af0bc56e68830b4c59294f0ec8c101.tar.gz pbs2-fd0e66bf49af0bc56e68830b4c59294f0ec8c101.tar.xz pbs2-fd0e66bf49af0bc56e68830b4c59294f0ec8c101.zip | |
BootOs Update implementiert, BootISO anlegen und some fixes
Diffstat (limited to 'application/modules/dev/views/scripts')
| -rw-r--r-- | application/modules/dev/views/scripts/bootiso/index.phtml | 4 | ||||
| -rw-r--r-- | application/modules/dev/views/scripts/bootos/index.phtml | 18 |
2 files changed, 18 insertions, 4 deletions
diff --git a/application/modules/dev/views/scripts/bootiso/index.phtml b/application/modules/dev/views/scripts/bootiso/index.phtml index b119aff..453f316 100644 --- a/application/modules/dev/views/scripts/bootiso/index.phtml +++ b/application/modules/dev/views/scripts/bootiso/index.phtml @@ -8,7 +8,7 @@ <th>Title</th> <th>GroupID</th> <th>MembershipID</th> - <th>Path</th> + <th>FbGui Path</th> <th>Serialnumber</th> <th>Created</th> <th>Expires</th> @@ -23,7 +23,7 @@ <td><?php echo $this->escape($bootiso->getTitle()); ?></td> <td><?php echo $this->escape($bootiso->getGroupID()); ?></td> <td><?php echo $this->escape($bootiso->getMembershipID()); ?></td> - <td><?php echo $this->escape($bootiso->getPath()); ?></td> + <td><?php echo $this->escape($bootiso->getPath_fbgui()); ?></td> <td><?php echo $this->escape($bootiso->getSerialnumber()); ?></td> <td><?php echo $this->escape(date('Y-m-d H:i:s', $bootiso->getCreated())); ?></td> <td><?php echo $this->escape($bootiso->getExpires()); ?></td> diff --git a/application/modules/dev/views/scripts/bootos/index.phtml b/application/modules/dev/views/scripts/bootos/index.phtml index c5970b6..f76938d 100644 --- a/application/modules/dev/views/scripts/bootos/index.phtml +++ b/application/modules/dev/views/scripts/bootos/index.phtml @@ -17,7 +17,7 @@ <th>Changed</th> <th>Expires</th> <th>Public</th> - <th colspan=2>Actions</th> + <th colspan=3>Actions</th> </tr> <?php if(count($this->bootoslist)==0) echo "</table> There are no BootOs's to display." ?> @@ -35,6 +35,20 @@ <td><?php echo $this->escape(date('Y-m-d H:i:s', $bootos->getCreated())); ?></td> <td><?php echo $this->escape($bootos->getExpires()); ?></td> <td><?php echo $this->escape($bootos->getPublic()); ?></td> + <?php if($this->update[$bootos->getID()]==true): ?> + <td class='action'><a + href="<?php echo $this->url( + array( + 'module' => 'dev', + 'controller' => 'bootos', + 'action' => 'updatebootos', + 'bootosID' => $bootos->getID() + ), + 'default', + true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a></td> + <?php else: ?> + <td class='action'><img src='/media/img/update_grey.png' alt='No updates available' /></td> + <?php endif; ?> <td class='action'><a href="<?php echo $this->url( array( @@ -54,7 +68,7 @@ 'bootosID' => $bootos->getID() ), 'default', - true) ?>"><img src='/media/img/delete.png' alt='Delete BootOS' /></a></td> + true) ?>"><img src='/media/img/delete.png' alt='Delete BootOS' /></a></td> </tr> <?php endforeach; ?> </table> |
