summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/extra/webcpanel/templates/default/header.html2
-rw-r--r--modules/extra/webcpanel/templates/default/style.css9
-rw-r--r--modules/extra/webcpanel/webcpanel.cpp6
3 files changed, 13 insertions, 4 deletions
diff --git a/modules/extra/webcpanel/templates/default/header.html b/modules/extra/webcpanel/templates/default/header.html
index 613ed617a..4ccba74ae 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" />
diff --git a/modules/extra/webcpanel/templates/default/style.css b/modules/extra/webcpanel/templates/default/style.css
index 7c7ba533a..fa122518a 100644
--- a/modules/extra/webcpanel/templates/default/style.css
+++ b/modules/extra/webcpanel/templates/default/style.css
@@ -1,4 +1,5 @@
-@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400);
+@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400);
+@import url(//fonts.googleapis.com/css?family=Port+Lligat+Slab);
*, html, body, h1, h2, h3, h4, div, p, span, a, button {
font-family: 'Open Sans', sans-serif;
@@ -136,6 +137,12 @@ h4 {
-moz-box-shadow: 0 8px 6px -8px black;
box-shadow: 0 8px 6px -8px black;
}
+.navbar-brand {
+ font-size: 25px;
+}
+.navbar-brand, .navbar-brand small {
+ font-family: 'Port Lligat Slab', serif;
+}
.navbar-default .nav {
margin-bottom: -1px;
diff --git a/modules/extra/webcpanel/webcpanel.cpp b/modules/extra/webcpanel/webcpanel.cpp
index f92dda579..e69d91db8 100644
--- a/modules/extra/webcpanel/webcpanel.cpp
+++ b/modules/extra/webcpanel/webcpanel.cpp
@@ -17,7 +17,7 @@ class ModuleWebCPanel : public Module
Panel panel;
PrimitiveExtensibleItem<Anope::string> id, ip;
- StaticFileServer style_css, logo_png, favicon_ico;
+ StaticFileServer style_css, logo_png, cubes_png, favicon_ico;
WebCPanel::Index index;
WebCPanel::Logout logout;
@@ -45,7 +45,7 @@ class ModuleWebCPanel : public Module
public:
ModuleWebCPanel(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR),
panel(this, "webcpanel"), id(this, "webcpanel_id"), ip(this, "webcpanel_ip"),
- style_css("style.css", "/static/style.css", "text/css"), logo_png("logo.png", "/static/logo.png", "image/png"), favicon_ico("favicon.ico", "/favicon.ico", "image/x-icon"),
+ style_css("style.css", "/static/style.css", "text/css"), logo_png("logo.png", "/static/logo.png", "image/png"), cubes_png("cubes.png", "/static/cubes.png", "image/png"), favicon_ico("favicon.ico", "/favicon.ico", "image/x-icon"),
index("/"), logout("/logout"), _register("/register"), confirm("/confirm"),
nickserv_info("NickServ", "/nickserv/info"), nickserv_cert("NickServ", "/nickserv/cert"), nickserv_access("NickServ", "/nickserv/access"), nickserv_alist("NickServ", "/nickserv/alist"),
chanserv_info("ChanServ", "/chanserv/info"), chanserv_set("ChanServ", "/chanserv/set"), chanserv_access("ChanServ", "/chanserv/access"), chanserv_akick("ChanServ", "/chanserv/akick"),
@@ -67,6 +67,7 @@ class ModuleWebCPanel : public Module
provider->RegisterPage(&this->style_css);
provider->RegisterPage(&this->logo_png);
+ provider->RegisterPage(&this->cubes_png);
provider->RegisterPage(&this->favicon_ico);
provider->RegisterPage(&this->index);
@@ -194,6 +195,7 @@ class ModuleWebCPanel : public Module
{
provider->UnregisterPage(&this->style_css);
provider->UnregisterPage(&this->logo_png);
+ provider->UnregisterPage(&this->cubes_png);
provider->UnregisterPage(&this->favicon_ico);
provider->UnregisterPage(&this->index);