summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/webcpanel/templates/default/header.html')
-rw-r--r--modules/extra/webcpanel/templates/default/header.html33
1 files changed, 19 insertions, 14 deletions
diff --git a/modules/extra/webcpanel/templates/default/header.html b/modules/extra/webcpanel/templates/default/header.html
index a5fe89517..60c324ceb 100644
--- a/modules/extra/webcpanel/templates/default/header.html
+++ b/modules/extra/webcpanel/templates/default/header.html
@@ -4,7 +4,7 @@
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
- <!--<![endif]-->
+<!--<![endif]-->
<head>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/style.css" media="screen" rel="stylesheet" type="text/css" />
@@ -22,18 +22,23 @@
</head>
<body>
<div id="frontPages" class="container">
- <div class="row">
- <div class="navbar navbar-default">
- <span class="navbar-brand" style="margin-top: -1px">Anope Web <small>Control Panel</small></span>
- <ul class="nav navbar-nav">
- {FOR CATEGORY_URL,CATEGORY_NAME IN CATEGORY_URLS,CATEGORY_NAMES}
- <li><a href="{CATEGORY_URL}">{CATEGORY_NAME}</a></li>
- {END FOR}
- </ul>
- <span id="loggedIn" class="pull-right">
- Logged in as {ACCOUNT} <a href="/logout">(Logout)</a>
- </span>
- </div>
+ <div class="navbar navbar-default">
+ <span class="navbar-brand" style="margin-top: -1px">Anope Web <small>Control Panel</small></span>
+ <ul class="nav navbar-nav">
+ {FOR CATEGORY_URL,CATEGORY_NAME IN CATEGORY_URLS,CATEGORY_NAMES}
+ <li
+ {IF EQ CATEGORY NickServ}{IF EQ CATEGORY_NAME NickServ}class="active"{END IF}{END IF}
+ {IF EQ CATEGORY ChanServ}{IF EQ CATEGORY_NAME ChanServ}class="active"{END IF}{END IF}
+ {IF EQ CATEGORY MemoServ}{IF EQ CATEGORY_NAME MemoServ}class="active"{END IF}{END IF}
+ {IF EQ CATEGORY HostServ}{IF EQ CATEGORY_NAME HostServ}class="active"{END IF}{END IF}
+ {IF EQ CATEGORY OperServ}{IF EQ CATEGORY_NAME OperServ}class="active"{END IF}{END IF}>
+ <a href="{CATEGORY_URL}">{CATEGORY_NAME}</a>
+ </li>
+ {END FOR}
+ </ul>
+ <span id="loggedIn" class="pull-right">
+ <span>Logged in as {ACCOUNT}</span> <a href="/logout">(Logout)</a>
+ </span>
</div>
<div class="row">
@@ -50,4 +55,4 @@
</div>
<div class="col-lg-9">
- <div class="well" style="padding: 20px 20px 5px 20px;">
+ <div class="panel panel-default"> \ No newline at end of file