summaryrefslogtreecommitdiffstats
path: root/application/modules/backend/views/scripts/menu
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/backend/views/scripts/menu')
-rw-r--r--application/modules/backend/views/scripts/menu/index.phtml1
-rw-r--r--application/modules/backend/views/scripts/menu/list.phtml15
-rw-r--r--application/modules/backend/views/scripts/menu/listassignments.phtml18
-rw-r--r--application/modules/backend/views/scripts/menu/listentries.phtml19
4 files changed, 53 insertions, 0 deletions
diff --git a/application/modules/backend/views/scripts/menu/index.phtml b/application/modules/backend/views/scripts/menu/index.phtml
new file mode 100644
index 0000000..2bd3dd3
--- /dev/null
+++ b/application/modules/backend/views/scripts/menu/index.phtml
@@ -0,0 +1 @@
+<br /><br /><center>View script for controller <b>bootmedia</b> and script/action name <b>index</b></center> \ No newline at end of file
diff --git a/application/modules/backend/views/scripts/menu/list.phtml b/application/modules/backend/views/scripts/menu/list.phtml
new file mode 100644
index 0000000..e28e54e
--- /dev/null
+++ b/application/modules/backend/views/scripts/menu/list.phtml
@@ -0,0 +1,15 @@
+<? if (!empty($this->listdata)): ?>
+<? foreach ($this->listdata as $l): ?>
+<div id="menu-item-<?= $l['id'] ?>" class="menu-item ui-corner-all">
+<h3><?= $l['name'] ?></h3>
+<p class="description">
+<?= $l['description'] ?>
+</p>
+<p class="list-context-menu">
+<a href="javascript:menuDelete(<?= $l['id'] ?>)" class="ui-corner-all">Delete</a>
+<a href="javascript:menuEdit(<?= $l['id'] ?>)" class="ui-corner-all">Edit Metadata</a>
+<a href="javascript:menuEditentries(<?= $l['id'] ?>)" class="ui-corner-all">Edit Entries</a>
+</p>
+</div>
+<? endforeach;?>
+<? endif;?> \ No newline at end of file
diff --git a/application/modules/backend/views/scripts/menu/listassignments.phtml b/application/modules/backend/views/scripts/menu/listassignments.phtml
new file mode 100644
index 0000000..2ca982b
--- /dev/null
+++ b/application/modules/backend/views/scripts/menu/listassignments.phtml
@@ -0,0 +1,18 @@
+<? if (!empty($this->listdata)): ?>
+<? foreach ($this->listdata as $l): ?>
+<li id="menuassignment-item-<?= $l['id'] ?>" class="menuassignment-item ui-corner-all">
+<p class="list-caption no-padding">
+<b><?= $l['name'] ?></b><br/>
+[Bootmedia: <?= empty($l['b_bootmedia_id'])? 'All':$l['b_name'] ?>]
+<? if ($l['i_ip']): ?>
+&nbsp; + &nbsp; [IP range: <?= $l['i_ip'] ?>/<?= $l['i_netmask'] ?>]
+<? endif;?>
+&nbsp; &rArr; &nbsp; <?= $l['m_name'] ?>
+</p>
+<p class="list-context-menu no-padding">
+<a href="javascript:menuAssignmentDelete(<?= $l['id'] ?>)" class="ui-corner-all">Delete</a>
+<a href="javascript:menuAssignmentEdit(<?= $l['id'] ?>)" class="ui-corner-all">Edit</a>
+</p>
+</li>
+<? endforeach;?>
+<? endif;?> \ No newline at end of file
diff --git a/application/modules/backend/views/scripts/menu/listentries.phtml b/application/modules/backend/views/scripts/menu/listentries.phtml
new file mode 100644
index 0000000..4d8431e
--- /dev/null
+++ b/application/modules/backend/views/scripts/menu/listentries.phtml
@@ -0,0 +1,19 @@
+<? if (!empty($this->listdata)): ?>
+<? foreach ($this->listdata as $l): ?>
+<li id="menuentries-item-<?= $l['id'] ?>" class="menuentries-item ui-corner-all">
+<span class="menuentries-item-id-value" style="display:none;"><?= $l['id'] ?></span>
+<div class="sortHandle ui-state-default ui-corner-all" ><span class="ui-icon ui-icon-arrow-4"></span></div>
+<p class="list-caption no-padding">
+<? if ($l['overwrite_caption']): ?>
+<b><?= $l['alternative_caption'] ?></b> (<?= $l['s_source'] ?>/<?= $l['s_external_id'] ?>)
+<? else: ?>
+<b><?= $l['s_name'] ?></b> (<?= $l['s_source'] ?>/<?= $l['s_external_id'] ?>)
+<? endif;?>
+</p>
+<p class="list-context-menu no-padding">
+<a href="javascript:menuEntryDelete(<?= $l['id'] ?>)" class="ui-corner-all">Delete</a>
+<a href="javascript:menuEntryEdit(<?= $l['id'] ?>)" class="ui-corner-all">Edit</a>
+</p>
+</li>
+<? endforeach;?>
+<? endif;?> \ No newline at end of file