diff options
| author | n0kS Phr33d0m <god@politeia.in> | 2013-08-23 06:34:57 +0200 |
|---|---|---|
| committer | n0kS Phr33d0m <god@politeia.in> | 2013-08-23 06:39:23 +0200 |
| commit | f86dc247e521b893d134b08329e69e17ccf34e1f (patch) | |
| tree | 49c5de29da42f936d2243d1ad046f086e82066be /modules/extra/webcpanel/templates/default/chanserv/main.html | |
| parent | 121d0a6e5b47fe3be2b1402f7bc5d8366f104a92 (diff) | |
Redesign body of the pages. Now they have a distiguished panel heading and panel body. Also added background colour to currently selected section.
Diffstat (limited to 'modules/extra/webcpanel/templates/default/chanserv/main.html')
| -rw-r--r-- | modules/extra/webcpanel/templates/default/chanserv/main.html | 19 |
1 files changed, 14 insertions, 5 deletions
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} - <h2>Channels you have access in</h2> - <div class="cinfo"> - {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} - <a href="/chanserv/set?channel={ECH}">{CH}</a></br> - {END FOR} + <div class="panel-heading">Channels you have access in</div> + <div class="panel-body"> + {IF EXISTS CHANNEL_NAMES} + <div> + <h3 style="margin: -12px 0 20px 0;"><small>Choose a channel to access it's Settings, Access or Akick pages.</small></h3> + <ul id="channelList"> + {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} + <li><a href="/chanserv/set?channel={ECH}">{CH}</a></li> + {END FOR} + </ul> </div> + {ELSE} + <em>You don't have access in any channel</em><br> + {END IF} + </div> {INCLUDE footer.html} |
