diff options
author | Ian Meyer <ianmmeyer@gmail.com> | 2009-08-04 12:05:11 -0400 |
---|---|---|
committer | Ian Meyer <ianmmeyer@gmail.com> | 2009-08-04 12:05:11 -0400 |
commit | df49c9fe9e235473d9dfe7a5ef043f7bc216e456 (patch) | |
tree | 0ee8a827794eb1e73e77c4b30fa851defef0ee89 /web | |
parent | cd2565bdb2caf53902249818bc7633ffd9ef4032 (diff) | |
download | cobbler-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.tmpl | 2 | ||||
-rw-r--r-- | web/cobbler_web/templates/master.tmpl | 13 | ||||
-rw-r--r-- | web/content/style.css | 1 |
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('«'); - } - else { - $(this).html('»'); - } + $("#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; } |