From f86dc247e521b893d134b08329e69e17ccf34e1f Mon Sep 17 00:00:00 2001 From: n0kS Phr33d0m Date: Fri, 23 Aug 2013 06:34:57 +0200 Subject: Redesign body of the pages. Now they have a distiguished panel heading and panel body. Also added background colour to currently selected section. --- .../templates/default/chanserv/access.html | 75 +++++----- .../templates/default/chanserv/akick.html | 58 ++++---- .../webcpanel/templates/default/chanserv/drop.html | 60 ++++---- .../webcpanel/templates/default/chanserv/main.html | 19 ++- .../webcpanel/templates/default/chanserv/set.html | 151 +++++++++++---------- 5 files changed, 190 insertions(+), 173 deletions(-) (limited to 'modules/extra/webcpanel/templates/default/chanserv') diff --git a/modules/extra/webcpanel/templates/default/chanserv/access.html b/modules/extra/webcpanel/templates/default/chanserv/access.html index e9c42c61b..5b02c068a 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/access.html +++ b/modules/extra/webcpanel/templates/default/chanserv/access.html @@ -1,12 +1,13 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} +
Access List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} -

Access List

- {IF EXISTS ACCESSES} + {IF EXISTS ACCESSES} @@ -29,41 +30,41 @@ {END FOR}
- {ELSE} + {ELSE} Access list is empty. - {END IF} + {END IF} -
+
-

Add an access entry

-
-
- -
- +

Add an access entry

+ +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
-
-
- +
+
+ +
-
- - + +
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/chanserv/akick.html b/modules/extra/webcpanel/templates/default/chanserv/akick.html index 819a69096..3b6a2f190 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/akick.html +++ b/modules/extra/webcpanel/templates/default/chanserv/akick.html @@ -1,12 +1,13 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} +
Akick List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} -

Akick List

- {IF EXISTS MASKS} + {IF EXISTS MASKS} @@ -27,32 +28,31 @@ {END FOR}
- {ELSE} + {ELSE} Akick list is empty. - {END IF} + {END IF} -
+
-

Add an akick entry

-
-
- -
- +

Add an akick entry

+ +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
-
-
- +
+
+ +
-
- - - + +
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/chanserv/drop.html b/modules/extra/webcpanel/templates/default/chanserv/drop.html index 7852bfde6..81db73167 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/drop.html +++ b/modules/extra/webcpanel/templates/default/chanserv/drop.html @@ -1,34 +1,36 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} +
Channels you can drop
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} -

Channels you can drop

-
- {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} - {CH}
- {END FOR} -
- {IF EXISTS CHANNEL_DROP} -
-

Drop Channel {CHANNEL_DROP}?

-
- - -
- -
- +
+ {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} + {CH}
+ {END FOR} +
+ {IF EXISTS CHANNEL_DROP} +
+

Drop Channel {CHANNEL_DROP}?

+ + + +
+ +
+ +
-
-
-
- +
+
+ +
-
- -
- {END IF} + +
+ {END IF} +
{INCLUDE footer.html} \ No newline at end of file diff --git a/modules/extra/webcpanel/templates/default/chanserv/main.html b/modules/extra/webcpanel/templates/default/chanserv/main.html index 43eb902fb..8b88970e8 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/main.html +++ b/modules/extra/webcpanel/templates/default/chanserv/main.html @@ -1,8 +1,17 @@ {INCLUDE header.html} -

Channels you have access in

-
- {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} - {CH}
- {END FOR} +
Channels you have access in
+
+ {IF EXISTS CHANNEL_NAMES} +
+

Choose a channel to access it's Settings, Access or Akick pages.

+
    + {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} +
  • {CH}
  • + {END FOR} +
+ {ELSE} + You don't have access in any channel
+ {END IF} +
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/chanserv/set.html b/modules/extra/webcpanel/templates/default/chanserv/set.html index dff390e09..0c2596dc6 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/set.html +++ b/modules/extra/webcpanel/templates/default/chanserv/set.html @@ -1,76 +1,81 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} +
Channel Information
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} -

Channel Information

-
- - - - - - {IF EXISTS FOUNDER} - - - - - {END IF} - {IF EXISTS SUCCESSOR} - - - - - {END IF} - - - - - - - - - {IF EXISTS LAST_TOPIC} - - - - - - - - - {END IF} - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Channel Name{CHANNEL}
Founder{FOUNDER}
Succsesor{SUCCESSOR}
Time registered{TIME_REGISTERED}
Last used{LAST_USED}
Last topic{LAST_TOPIC}
Set by{LAST_TOPIC_SETTER}
Keep topic
Peace
Private
Restricted
Secure
Secure Ops
Topic Lock
- -
+
+ + + + + + {IF EXISTS FOUNDER} + + + + + {END IF} + {IF EXISTS SUCCESSOR} + + + + + {END IF} + + + + + + + + + {IF EXISTS LAST_TOPIC} + + + + + + + + + {END IF} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Channel Name{CHANNEL}
Founder{FOUNDER}
Succsesor{SUCCESSOR}
Time registered{TIME_REGISTERED}
Last used{LAST_USED}
Last topic{LAST_TOPIC}
Set by{LAST_TOPIC_SETTER}
Keep topic
Peace
Private
Restricted
Secure
Secure Ops
Topic Lock
+
+
{INCLUDE footer.html} -- cgit From 5f006bf13955db0f7a83eb38136db84ad97e92d6 Mon Sep 17 00:00:00 2001 From: n0kS Phr33d0m Date: Fri, 23 Aug 2013 08:42:45 +0200 Subject: Fixed an incorrect layout, a couple of typos and a wrong form action --- modules/extra/webcpanel/templates/default/chanserv/drop.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/extra/webcpanel/templates/default/chanserv') diff --git a/modules/extra/webcpanel/templates/default/chanserv/drop.html b/modules/extra/webcpanel/templates/default/chanserv/drop.html index 81db73167..1b7e788d0 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/drop.html +++ b/modules/extra/webcpanel/templates/default/chanserv/drop.html @@ -15,7 +15,7 @@ {IF EXISTS CHANNEL_DROP}

Drop Channel {CHANNEL_DROP}?

-
+
-- cgit