summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorIan Meyer <ianmmeyer@gmail.com>2009-08-04 12:05:11 -0400
committerIan Meyer <ianmmeyer@gmail.com>2009-08-04 12:05:11 -0400
commitdf49c9fe9e235473d9dfe7a5ef043f7bc216e456 (patch)
tree0ee8a827794eb1e73e77c4b30fa851defef0ee89 /web
parentcd2565bdb2caf53902249818bc7633ffd9ef4032 (diff)
downloadcobbler-df49c9fe9e235473d9dfe7a5ef043f7bc216e456.tar.gz
cobbler-df49c9fe9e235473d9dfe7a5ef043f7bc216e456.tar.xz
cobbler-df49c9fe9e235473d9dfe7a5ef043f7bc216e456.zip
Added new menu functionality to Kickstart Templates
Diffstat (limited to 'web')
-rw-r--r--web/cobbler_web/templates/ksfile_list.tmpl2
-rw-r--r--web/cobbler_web/templates/master.tmpl13
-rw-r--r--web/content/style.css1
3 files changed, 4 insertions, 12 deletions
diff --git a/web/cobbler_web/templates/ksfile_list.tmpl b/web/cobbler_web/templates/ksfile_list.tmpl
index 569bfae0..55729e6d 100644
--- a/web/cobbler_web/templates/ksfile_list.tmpl
+++ b/web/cobbler_web/templates/ksfile_list.tmpl
@@ -1,7 +1,7 @@
{% extends 'master.tmpl' %}
{% block content %}
<fieldset>
- <legend>Cobbler Kickstart Templates</legend>
+ <legend id="clicky" class="cursor">Cobbler Kickstart Templates</legend>
<hr />
<p class="action">
<!-- This is kind weird, but force the name "kickstart"
diff --git a/web/cobbler_web/templates/master.tmpl b/web/cobbler_web/templates/master.tmpl
index e79c38ff..83b28793 100644
--- a/web/cobbler_web/templates/master.tmpl
+++ b/web/cobbler_web/templates/master.tmpl
@@ -17,17 +17,8 @@ $(document).ready(function()
{
$(this).next(".navblock_body").slideToggle(600);
});
- $("#templates_edit").hide();
- $("#profile_edit").hide();
- $("#profile_sub_edit").hide();
- $("#templates").click(function() {
- $("#" + this.id + "_edit").toggle('normal');
- if ($(this).css('display') == 'block') {
- $(this).html('&laquo;');
- }
- else {
- $(this).html('&raquo;');
- }
+ $("#clicky").click(function () {
+ $("p.action").toggle('slow');
});
});
</script>
diff --git a/web/content/style.css b/web/content/style.css
index 0b64d974..09307959 100644
--- a/web/content/style.css
+++ b/web/content/style.css
@@ -8,6 +8,7 @@ body, html {
h3 { color: #306CAC; }
/* imeyer css additions in here */
+.cursor { cursor: pointer; }
ul.list { list-style-position: outside; list-style-type: none; overflow: hidden; }
ul.menubar { padding-bottom: 10px; }
li.menubar { padding-left: 8px; }