1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 19:43:14 +02:00

Merge pull request #20 from Phr33d0m/1.9

Redesign body of the pages.
This commit is contained in:
Adam
2013-08-23 00:03:58 -07:00
23 changed files with 623 additions and 531 deletions
+4 -2
View File
@@ -16,7 +16,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;
@@ -44,7 +44,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"),
@@ -65,6 +65,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);
@@ -192,6 +193,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);