From 005861b47bcd55bab09062c27dbfea7464c8ea68 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 18 Dec 2007 15:41:37 +0000 Subject: [PATCH] make config view in strongSwan manager look similar to ikesa view --- src/manager/Makefile.am | 1 + src/manager/templates/config/list.cs | 102 +++++++++++++----- src/manager/templates/ikesa/list.cs | 10 +- .../templates/static/pipe-thin-green.png | Bin 0 -> 372 bytes .../templates/static/pipe-thin-left-green.png | Bin 0 -> 449 bytes .../static/pipe-thin-right-green.png | Bin 0 -> 460 bytes 6 files changed, 83 insertions(+), 30 deletions(-) create mode 100644 src/manager/templates/static/pipe-thin-green.png create mode 100644 src/manager/templates/static/pipe-thin-left-green.png create mode 100644 src/manager/templates/static/pipe-thin-right-green.png diff --git a/src/manager/Makefile.am b/src/manager/Makefile.am index 9409a9cf9..b0a1180f0 100644 --- a/src/manager/Makefile.am +++ b/src/manager/Makefile.am @@ -49,6 +49,7 @@ ipsec_templates_staticdir = ${ipsec_templatesdir}/static ipsec_templates_static_DATA = templates/static/style.css templates/static/script.js templates/static/jquery.js \ templates/static/pipe.png templates/static/pipe-good.png templates/static/pipe-bad.png \ templates/static/pipe-thin.png templates/static/pipe-thin-left.png templates/static/pipe-thin-right.png \ +templates/static/pipe-thin-green.png templates/static/pipe-thin-left-green.png templates/static/pipe-thin-right-green.png \ templates/static/gateway-left.png templates/static/client-left.png templates/static/strongswan.png \ templates/static/router.png templates/static/gateway-right.png templates/static/client-right.png \ templates/static/close.png templates/static/initiate.png diff --git a/src/manager/templates/config/list.cs b/src/manager/templates/config/list.cs index 731c9c63c..e71830d4d 100644 --- a/src/manager/templates/config/list.cs +++ b/src/manager/templates/config/list.cs @@ -16,36 +16,88 @@

-

-

- -
-

:

-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + 0123456789abdcef


+ +
+ + + + + + + 0123456789abcdef


+ +
+ + + + + +
+

:

+
- -
- - - - - - -
- -

- -
<-> - -

- -
-
- - +

+ +

+ +
+


+
+ +


+
+ +

+ +
diff --git a/src/manager/templates/ikesa/list.cs b/src/manager/templates/ikesa/list.cs index 15fe4070e..f9a8e5c68 100644 --- a/src/manager/templates/ikesa/list.cs +++ b/src/manager/templates/ikesa/list.cs @@ -2,7 +2,7 @@

- IKE # []: + [IKE #]: <->

@@ -72,7 +72,7 @@ -

IPsec # []:

+

[IPsec #]:

@@ -89,12 +89,12 @@

- + <-


- + - + ->


diff --git a/src/manager/templates/static/pipe-thin-green.png b/src/manager/templates/static/pipe-thin-green.png new file mode 100644 index 0000000000000000000000000000000000000000..df3026ec54e0c83f423cc79506c0e4b98da085b9 GIT binary patch literal 372 zcmeAS@N?(olHy`uVBq!ia0vp^DImQL70(Y)*K0-AbW|YuPgg?9!>!vy~D!4E&zqTc)B=-RNQ)d zVP0 zJQY5_O>9+};9nc1$hpL4eYfN!y_7onvlB`bm(DpmVRF0})OMDR1_nW*+4XnCHE&CJ UX+7T*1N1+Gr>mdKI;Vst0Cd}GyZ`_I literal 0 HcmV?d00001 diff --git a/src/manager/templates/static/pipe-thin-left-green.png b/src/manager/templates/static/pipe-thin-left-green.png new file mode 100644 index 0000000000000000000000000000000000000000..b76432a94e653f471cdb0973f80cb60d7e6b4b94 GIT binary patch literal 449 zcmeAS@N?(olHy`uVBq!ia0vp^DImQL70(Y)*K0-AbW|YuPgg?9!>!v;n~&O4gyVa^mK6yskrs_ z#!g@6K#A6i)@K;_1iBd%-7oO+PPizyG=NoB;AX;}v)?>kCa}G%QN6SHKkNEc^XD)6 zS(3!0z{KR@(7?eVz{sdXGW%EbWRWq)hagfuG*MGPE@|DuILLbeeM!`*Yblz{W zus;9ko8reqAYr9ELYrJj7)>V0`m+SW+*PW9}p2|2sJgvZ|c zHX~8SxNlub(1cB|FMq9VJ8LNEb%}ZAH>Yp0ZMm~IS*avXD%)^oiFlEO-Ra|}q&DxI vuyD_eBtM0dyEUIp+^<8j2SA?xSGd2q$@}F0Jij<#_%e99`njxgN@xNA%{7*! literal 0 HcmV?d00001 diff --git a/src/manager/templates/static/pipe-thin-right-green.png b/src/manager/templates/static/pipe-thin-right-green.png new file mode 100644 index 0000000000000000000000000000000000000000..f193af9ccaf726da3cc48b9a4942a6ce2446f708 GIT binary patch literal 460 zcmeAS@N?(olHy`uVBq!ia0vp^DImQL70(Y)*K0-AbW|YuPgg?9!>#a(|}y2TA(RDo-U3d6}R5r z*ywvWK&0*B>l3`p0hb&ODovR(<;-Cf$yVMQ4O$)(g_P7M3jdDfVs~-;-&3+r@SpPS z_d7G?^PN9uCNe27F}XN2aBv7PGAfbG{uL`7{`L}&@k9g@txs zZqL+`t^U79qVH$QEX%uBl;h4C%>Q$mNlC$hg{7l`K~O+}X!aBN@2m%J##J-kRQL)E OY6eeNKbLh*2~7aQwwa*- literal 0 HcmV?d00001