summaryrefslogtreecommitdiffstats
path: root/application/modules/backend/views/scripts/bootmedia/list.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/backend/views/scripts/bootmedia/list.phtml')
-rw-r--r--application/modules/backend/views/scripts/bootmedia/list.phtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/application/modules/backend/views/scripts/bootmedia/list.phtml b/application/modules/backend/views/scripts/bootmedia/list.phtml
new file mode 100644
index 0000000..8d441c9
--- /dev/null
+++ b/application/modules/backend/views/scripts/bootmedia/list.phtml
@@ -0,0 +1,20 @@
+<? if (!empty($this->listdata)): ?>
+<? foreach ($this->listdata as $l): ?>
+<div id="bootmedia-item-<?= $l['id'] ?>" class="bootmedia-item ui-corner-all">
+<h3><?= $l['name'] ?></h3>
+<p class="shortinfo">
+kernel: <?= $l['kernel'] ?><br/>
+created: <?= date("r",$l['created']) ?><br/>
+</p>
+<p class="description">
+<b>Description: </b>
+<?= $l['description'] ?>
+</p>
+<p class="list-context-menu">
+<a href="javascript:bootmediaDelete(<?= $l['id'] ?>)" class="ui-corner-all">Delete</a>
+<a href="javascript:bootmediaEdit(<?= $l['id'] ?>)" class="ui-corner-all">Edit</a>
+<a href="/isos/<?= $l['identifier'] ?>/openslx.iso" class="ui-corner-all">Download</a>
+</p>
+</div>
+<? endforeach;?>
+<? endif;?> \ No newline at end of file