diff options
| author | michael pereira | 2011-03-07 02:17:29 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-07 02:17:29 +0100 |
| commit | f7996a02542d145a682dcb1c059bd05cc573a942 (patch) | |
| tree | 98e53b783dec4935526b91ad5d05eb997a72a4bc /application/views/scripts | |
| parent | bootstrap für benutzung von globalem css vorbereitet (diff) | |
| download | pbs2-f7996a02542d145a682dcb1c059bd05cc573a942.tar.gz pbs2-f7996a02542d145a682dcb1c059bd05cc573a942.tar.xz pbs2-f7996a02542d145a682dcb1c059bd05cc573a942.zip | |
BootIso Interface fertig
Diffstat (limited to 'application/views/scripts')
| -rw-r--r-- | application/views/scripts/bootiso/createbootiso.phtml | 4 | ||||
| -rw-r--r-- | application/views/scripts/bootiso/editbootiso.phtml | 4 | ||||
| -rw-r--r-- | application/views/scripts/bootiso/index.phtml | 51 |
3 files changed, 59 insertions, 0 deletions
diff --git a/application/views/scripts/bootiso/createbootiso.phtml b/application/views/scripts/bootiso/createbootiso.phtml new file mode 100644 index 0000000..a5ad609 --- /dev/null +++ b/application/views/scripts/bootiso/createbootiso.phtml @@ -0,0 +1,4 @@ +<?php +$this->createbootisoForm->setAction($this->url()); +echo $this->createbootisoForm; +?> diff --git a/application/views/scripts/bootiso/editbootiso.phtml b/application/views/scripts/bootiso/editbootiso.phtml new file mode 100644 index 0000000..9b04c95 --- /dev/null +++ b/application/views/scripts/bootiso/editbootiso.phtml @@ -0,0 +1,4 @@ +<?php +$this->editbootisoForm->setAction($this->url()); +echo $this->editbootisoForm; +?> diff --git a/application/views/scripts/bootiso/index.phtml b/application/views/scripts/bootiso/index.phtml new file mode 100644 index 0000000..d1b939a --- /dev/null +++ b/application/views/scripts/bootiso/index.phtml @@ -0,0 +1,51 @@ +<h1>BootISO</h1> +<table border=1> + <tr> + <th>ID</th> + <th>Title</th> + <th>GroupID</th> + <th>MembershipID</th> + <th>Path</th> + <th>Serialnumber</th> + <th>Created</th> + <th>Expires</th> + <th>Public</th> + </tr> + <?php foreach ($this->bootisolist as $bootiso): ?> + <tr> + <td><?php echo $this->escape($bootiso->getID()); ?></td> + <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->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> + <td><?php echo $this->escape($bootiso->getPublic()); ?></td> + <td><a href="<?php echo $this->url( + array( + 'controller' => 'bootiso', + 'action' => 'editbootiso', + 'bootisoID' => $bootiso->getID() + ), + 'default', + true, false) ?>">Edit BootISO</a></td> + <td><a href="<?php echo $this->url( + array( + 'controller' => 'bootiso', + 'action' => 'deletebootiso', + 'bootisoID' => $bootiso->getID() + ), + 'default', + true) ?>">Delete BootISO</a></td> + </tr> + <?php endforeach; ?> +</table> +<br/> +<?php echo $this->formButton('createbootiso', 'Create BootISO', array( + 'onclick' => 'self.location="/bootiso/createbootiso"'))?> + + + + + |
