diff options
Diffstat (limited to 'application/modules/dev/views/scripts/preboot/index.phtml')
| -rw-r--r-- | application/modules/dev/views/scripts/preboot/index.phtml | 57 |
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 |
