aboutsummaryrefslogtreecommitdiffstats
path: root/src/manager/templates/static/script.js
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-09-14 14:07:30 +0000
committerMartin Willi <martin@strongswan.org>2007-09-14 14:07:30 +0000
commitc01f7bf989dedcc61e4e812fd57d6d73997cfd85 (patch)
treee50601b98d290e941b0ea2ab9ac1769dc6f9519a /src/manager/templates/static/script.js
parent15a9d460c05ac73dfae41bc8a66b07f0c2a48328 (diff)
downloadstrongswan-c01f7bf989dedcc61e4e812fd57d6d73997cfd85.tar.bz2
strongswan-c01f7bf989dedcc61e4e812fd57d6d73997cfd85.tar.xz
added subnets of CHILD_SAs to xml interface
a first design of Managers IKE_SA list page
Diffstat (limited to 'src/manager/templates/static/script.js')
-rw-r--r--src/manager/templates/static/script.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/manager/templates/static/script.js b/src/manager/templates/static/script.js
new file mode 100644
index 000000000..7b2a5823c
--- /dev/null
+++ b/src/manager/templates/static/script.js
@@ -0,0 +1,8 @@
+
+$(function(){
+ $(".expand > div").hide();
+ $(".expand > h1").toggle(
+ function(){$(this).parent(".expand").find("div").slideDown('fast');},
+ function(){$(this).parent(".expand").find("div").slideUp('fast');}
+ );
+});