summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authormichael pereira2011-03-07 17:53:57 +0100
committermichael pereira2011-03-07 17:53:57 +0100
commitd3b22c724dfdf275f7feb981182d54a18310bcc0 (patch)
treec56c1c61cf1a276ce0b6753bf51ee737388c1e90 /application/views
parentBootmenuentries DB geaendert (diff)
downloadpbs2-d3b22c724dfdf275f7feb981182d54a18310bcc0.tar.gz
pbs2-d3b22c724dfdf275f7feb981182d54a18310bcc0.tar.xz
pbs2-d3b22c724dfdf275f7feb981182d54a18310bcc0.zip
BootMenuEntries fertig
Diffstat (limited to 'application/views')
-rw-r--r--application/views/scripts/bootmenu/index.phtml61
1 files changed, 54 insertions, 7 deletions
diff --git a/application/views/scripts/bootmenu/index.phtml b/application/views/scripts/bootmenu/index.phtml
index c4cdb99..d7acbac 100644
--- a/application/views/scripts/bootmenu/index.phtml
+++ b/application/views/scripts/bootmenu/index.phtml
@@ -1,4 +1,13 @@
<h1>BootMenu</h1>
+
+<style>
+table{font-family:verdana;font-size:12px;}
+td{border:1px solid #CCC;}
+td.nostyle{background-color:#FFFFFF;}
+tr.bootmenu{background-color:#D8D8D8;}
+tr.bootentry{background-color:#E0ECF8;}
+</style>
+
<table border=1>
<tr>
<th>ID</th>
@@ -8,37 +17,75 @@
<th>Changed</th>
</tr>
<?php foreach ($this->bootmenulist as $bootmenu): ?>
- <tr>
+ <tr class=bootmenu>
<td><?php echo $this->escape($bootmenu->getID()); ?></td>
<td><?php echo $this->escape($bootmenu->getTitle()); ?></td>
<td><?php echo $this->escape($bootmenu->getGroupID()); ?></td>
<td><?php echo $this->escape($bootmenu->getMembershipID()); ?></td>
<td><?php echo $this->escape(date('Y-m-d H:i:s', $bootmenu->getCreated())); ?></td>
- <td><a href="<?php echo $this->url(
+ <td class=nostyle><a href="<?php echo $this->url(
array(
'controller' => 'bootmenu',
'action' => 'editbootmenu',
'bootmenuID' => $bootmenu->getID()
),
'default',
- true, false) ?>">Edit BootMenu</a></td>
- <td><a href="<?php echo $this->url(
+ true, false) ?>">Edit Bootmenu</a></td>
+ <td class=nostyle><a href="<?php echo $this->url(
array(
'controller' => 'bootmenu',
'action' => 'deletebootmenu',
'bootmenuID' => $bootmenu->getID()
),
'default',
- true) ?>">Delete BootMenu</a></td>
- <td><a href="<?php echo $this->url(
+ true) ?>">Delete Bootmenu</a></td>
+ <td class=nostyle><a href="<?php echo $this->url(
array(
'controller' => 'bootmenu',
'action' => 'addbootmenuentry',
'bootmenuID' => $bootmenu->getID()
),
'default',
- true) ?>">Add BootMenuEntry</a></td>
+ true) ?>">Add Entry</a></td>
+ </tr>
+ <tr>
+ <th></th>
+ <th>ID</th>
+ <th>Title</th>
+ <th>BootmenuID</th>
+ <th>BootOSID</th>
+ <th>kcl</th>
+ <th>ConfigID</th>
+ <th>order</th>
</tr>
+ <?php foreach ($this->bootmenuentrylist[$bootmenu->getID()] as $bootmenuentry): ?>
+ <tr class=bootentry><td class=nostyle></td>
+ <td><?php echo $this->escape($bootmenuentry->getID()); ?></td>
+ <td><?php echo $this->escape($bootmenuentry->getTitle()); ?></td>
+ <td><?php echo $this->escape($bootmenuentry->getBootmenuID()); ?></td>
+ <td><?php echo $this->escape($bootmenuentry->getBootosID()); ?></td>
+ <td><?php echo $this->escape($bootmenuentry->getkcl()); ?></td>
+ <td><?php echo $this->escape($bootmenuentry->getConfigID()); ?></td>
+ <td><?php echo $this->escape($bootmenuentry->getOrder()); ?></td>
+ <td class=nostyle><a href="<?php echo $this->url(
+ array(
+ 'controller' => 'bootmenu',
+ 'action' => 'editbootmenuentry',
+ 'bootmenuentryID' => $bootmenuentry->getID()
+ ),
+ 'default',
+ true, false) ?>">Edit Entry</a></td>
+ <td class=nostyle><a href="<?php echo $this->url(
+ array(
+ 'controller' => 'bootmenu',
+ 'action' => 'removebootmenuentry',
+ 'bootmenuentryID' => $bootmenuentry->getID(),
+ 'bootmenuID' => $bootmenu->getID()
+ ),
+ 'default',
+ true) ?>">Remove Entry</a></td>
+ </tr>
+ <?php endforeach; ?>
<?php endforeach; ?>
</table>
<br/>