summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/views/scripts/preboot/index.phtml
diff options
context:
space:
mode:
authormichael pereira2011-03-21 10:49:32 +0100
committermichael pereira2011-03-21 10:49:32 +0100
commit19d1af16ad8a2fdaa5aa608693b81fa9502e162d (patch)
treeb5b00a6fb91fffad157b85bbf209ac7675a86801 /application/modules/dev/views/scripts/preboot/index.phtml
parentFilter funktioniert nun, FBGui IndexController angepasst (diff)
downloadpbs2-19d1af16ad8a2fdaa5aa608693b81fa9502e162d.tar.gz
pbs2-19d1af16ad8a2fdaa5aa608693b81fa9502e162d.tar.xz
pbs2-19d1af16ad8a2fdaa5aa608693b81fa9502e162d.zip
Preboot Controller eingerichtet
Diffstat (limited to 'application/modules/dev/views/scripts/preboot/index.phtml')
-rw-r--r--application/modules/dev/views/scripts/preboot/index.phtml57
1 files changed, 57 insertions, 0 deletions
diff --git a/application/modules/dev/views/scripts/preboot/index.phtml b/application/modules/dev/views/scripts/preboot/index.phtml
new file mode 100644
index 0000000..eec8f1b
--- /dev/null
+++ b/application/modules/dev/views/scripts/preboot/index.phtml
@@ -0,0 +1,57 @@
+<h1>Preboot</h1>
+<?php echo $this->formButton('createpreboot', 'Create PreBoot', array(
+ 'onclick' => 'self.location="/dev/preboot/createpreboot"',
+ 'class' => 'addbutton'))?>
+
+<table>
+ <tr>
+ <th>ID</th>
+ <th>Title</th>
+ <th>GroupID</th>
+ <th>MembershipID</th>
+ <th>Preboot Path</th>
+ <th colspan=3>Actions</th>
+ </tr>
+ <?php if(count($this->prebootlist)==0)
+ echo "</table> There are no Preboot entries to display." ?>
+ <?php foreach ($this->prebootlist as $preboot): ?>
+ <tr class=entry>
+ <td><?php echo $this->escape($preboot->getID()); ?></td>
+ <td><?php echo $this->escape($preboot->getTitle()); ?></td>
+ <td><?php echo $this->escape($preboot->getGroupID()); ?></td>
+ <td><?php echo $this->escape($preboot->getMembershipID()); ?></td>
+ <td><?php echo $this->escape($preboot->getPath_preboot()); ?></td>
+ <?php if($this->update[$preboot->getID()]==true): ?>
+ <td class='action'><a href="<?php echo $this->url(
+ array(
+ 'module' => 'dev',
+ 'controller' => 'preboot',
+ 'action' => 'updatepreboot',
+ 'prebootID' => $preboot->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(
+ 'module' => 'dev',
+ 'controller' => 'preboot',
+ 'action' => 'editpreboot',
+ 'prebootID' => $preboot->getID()
+ ),
+ 'default',
+ true, false) ?>"><img src='/media/img/edit.png' alt='Edit Preboot' /></a></td>
+ <td class='action'><a href="<?php echo $this->url(
+ array(
+ 'module' => 'dev',
+ 'controller' => 'preboot',
+ 'action' => 'deletepreboot',
+ 'prebootID' => $preboot->getID()
+ ),
+ 'default',
+ true) ?>"><img src='/media/img/delete.png' alt='Delete Preboot'/></a></td>
+ </tr>
+ <?php endforeach; ?>
+</table> \ No newline at end of file