From 004c4cbe5f4c37cf455cb6d0caa434fbbb3406ea Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 2 Jan 2014 11:02:14 -0500 Subject: Move modules out of extras that dont have external dependencies --- .../templates/default/chanserv/access.html | 77 ++++++++++ .../templates/default/chanserv/akick.html | 61 ++++++++ .../templates/default/chanserv/chanlist.html | 17 +++ .../webcpanel/templates/default/chanserv/drop.html | 32 ++++ .../webcpanel/templates/default/chanserv/main.html | 3 + .../templates/default/chanserv/modes.html | 56 +++++++ .../webcpanel/templates/default/chanserv/set.html | 93 ++++++++++++ modules/webcpanel/templates/default/confirm.html | 51 +++++++ modules/webcpanel/templates/default/cubes.png | Bin 0 -> 723 bytes modules/webcpanel/templates/default/favicon.ico | Bin 0 -> 3774 bytes modules/webcpanel/templates/default/footer.html | 14 ++ modules/webcpanel/templates/default/header.html | 64 ++++++++ .../templates/default/hostserv/request.html | 45 ++++++ modules/webcpanel/templates/default/login.html | 55 +++++++ modules/webcpanel/templates/default/logo.png | Bin 0 -> 19247 bytes .../templates/default/memoserv/memos.html | 112 ++++++++++++++ .../templates/default/nickserv/access.html | 42 ++++++ .../templates/default/nickserv/alist.html | 23 +++ .../webcpanel/templates/default/nickserv/cert.html | 42 ++++++ .../webcpanel/templates/default/nickserv/info.html | 72 +++++++++ .../templates/default/operserv/akill.html | 77 ++++++++++ modules/webcpanel/templates/default/register.html | 65 ++++++++ modules/webcpanel/templates/default/style.css | 166 +++++++++++++++++++++ 23 files changed, 1167 insertions(+) create mode 100644 modules/webcpanel/templates/default/chanserv/access.html create mode 100644 modules/webcpanel/templates/default/chanserv/akick.html create mode 100644 modules/webcpanel/templates/default/chanserv/chanlist.html create mode 100644 modules/webcpanel/templates/default/chanserv/drop.html create mode 100644 modules/webcpanel/templates/default/chanserv/main.html create mode 100644 modules/webcpanel/templates/default/chanserv/modes.html create mode 100644 modules/webcpanel/templates/default/chanserv/set.html create mode 100644 modules/webcpanel/templates/default/confirm.html create mode 100644 modules/webcpanel/templates/default/cubes.png create mode 100644 modules/webcpanel/templates/default/favicon.ico create mode 100644 modules/webcpanel/templates/default/footer.html create mode 100644 modules/webcpanel/templates/default/header.html create mode 100644 modules/webcpanel/templates/default/hostserv/request.html create mode 100644 modules/webcpanel/templates/default/login.html create mode 100644 modules/webcpanel/templates/default/logo.png create mode 100644 modules/webcpanel/templates/default/memoserv/memos.html create mode 100644 modules/webcpanel/templates/default/nickserv/access.html create mode 100644 modules/webcpanel/templates/default/nickserv/alist.html create mode 100644 modules/webcpanel/templates/default/nickserv/cert.html create mode 100644 modules/webcpanel/templates/default/nickserv/info.html create mode 100644 modules/webcpanel/templates/default/operserv/akill.html create mode 100644 modules/webcpanel/templates/default/register.html create mode 100644 modules/webcpanel/templates/default/style.css (limited to 'modules/webcpanel/templates/default') diff --git a/modules/webcpanel/templates/default/chanserv/access.html b/modules/webcpanel/templates/default/chanserv/access.html new file mode 100644 index 000000000..c50434f8a --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/access.html @@ -0,0 +1,77 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +
Access List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EQ ACCESS_LIST YES} + {IF EXISTS ACCESSES} + + + + + + + + + + + {FOR MASK,ACCESS,CREATOR IN MASKS,ACCESSES,CREATORS} + + + + + {IF EQ ACCESS_CHANGE YES} + + {ELSE} + + {END IF} + + {END FOR} + +
MaskAccessCreator
{MASK}{ACCESS}{CREATOR}Delete
+ {ELSE} + Access list is empty. + {END IF} + +
+ + {IF EQ ACCESS_CHANGE YES} +

Add an access entry

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ {END IF} + {END IF} +
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/chanserv/akick.html b/modules/webcpanel/templates/default/chanserv/akick.html new file mode 100644 index 000000000..ddfea546c --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/akick.html @@ -0,0 +1,61 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +
Akick List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EQ AKICK YES} + {IF EXISTS MASKS} + + + + + + + + + + + {FOR MASK,REASON,CREATOR IN MASKS,REASONS,CREATORS} + + + + + + + {END FOR} + +
MaskReasonCreator
{MASK}{REASON}{CREATOR}Delete
+ {ELSE} + Akick list is empty. + {END IF} + +
+ +

Add an akick entry

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ {END IF} +
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/chanserv/chanlist.html b/modules/webcpanel/templates/default/chanserv/chanlist.html new file mode 100644 index 000000000..8f00f02ac --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/chanlist.html @@ -0,0 +1,17 @@ +
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} + {IF EQ PAGE_NAME /chanserv/info} + {CH} + {ELSE} + {CH} + {END IF} + {END FOR} +
+ {ELSE} + You don't have access in any channels.
+ {END IF} +
diff --git a/modules/webcpanel/templates/default/chanserv/drop.html b/modules/webcpanel/templates/default/chanserv/drop.html new file mode 100644 index 000000000..c28eb051a --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/drop.html @@ -0,0 +1,32 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +
Channels you can drop
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EXISTS CHANNEL_DROP} +
+

Drop Channel {CHANNEL_DROP}?

+
+ + +
+ +
+ +
+
+
+
+ +
+
+
+
+ {END IF} +
+{INCLUDE footer.html} \ No newline at end of file diff --git a/modules/webcpanel/templates/default/chanserv/main.html b/modules/webcpanel/templates/default/chanserv/main.html new file mode 100644 index 000000000..e77626f31 --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/main.html @@ -0,0 +1,3 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/chanserv/modes.html b/modules/webcpanel/templates/default/chanserv/modes.html new file mode 100644 index 000000000..3c7fe7ab3 --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/modes.html @@ -0,0 +1,56 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +
Channel Mode List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EQ MODE YES} + {FOR LM IN LISTMODES} + +{LM} + {END FOR} +
+ + {IF EXISTS MASKS} + + + + + + + + + {FOR MASK IN MASKS} + + + + + {END FOR} + +
Mask
{MASK}Delete
+ {ELSE} + Nothing to display. + {END IF} + +
+ +

Set a new mode

+
+
+ +
+ +
+
+
+
+ +
+
+
+ {END IF} +
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/chanserv/set.html b/modules/webcpanel/templates/default/chanserv/set.html new file mode 100644 index 000000000..050c37f69 --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/set.html @@ -0,0 +1,93 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +
Channel Information
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EXISTS OKAY} + {IF EXISTS CAN_SET} +
+ {END IF} + + + + + + {IF EXISTS FOUNDER} + + + + + {END IF} + {IF EXISTS SUCCESSOR} + + + + + {END IF} + + + + + + + + + {IF EXISTS LAST_TOPIC} + + + + + + + + + {END IF} + {IF EXISTS CAN_SET} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {IF EXISTS CAN_SET} + + + + + {END IF} + {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 CAN_SET} +
+ {END IF} + {END IF} +
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/confirm.html b/modules/webcpanel/templates/default/confirm.html new file mode 100644 index 000000000..f9f315fd3 --- /dev/null +++ b/modules/webcpanel/templates/default/confirm.html @@ -0,0 +1,51 @@ + + + + + + + + + + + + + {TITLE} + + +
+
+
+ + + + Back Home + +

Register

+ + {IF EXISTS MESSAGES} +
+ {FOR M IN MESSAGES} + {M}
+ {END FOR} +
+ {END IF} + + Retry +
+
+ +
+
+
+ +
+
+
+ + + + + diff --git a/modules/webcpanel/templates/default/cubes.png b/modules/webcpanel/templates/default/cubes.png new file mode 100644 index 000000000..d75208db7 Binary files /dev/null and b/modules/webcpanel/templates/default/cubes.png differ diff --git a/modules/webcpanel/templates/default/favicon.ico b/modules/webcpanel/templates/default/favicon.ico new file mode 100644 index 000000000..be735614a Binary files /dev/null and b/modules/webcpanel/templates/default/favicon.ico differ diff --git a/modules/webcpanel/templates/default/footer.html b/modules/webcpanel/templates/default/footer.html new file mode 100644 index 000000000..57794a9ff --- /dev/null +++ b/modules/webcpanel/templates/default/footer.html @@ -0,0 +1,14 @@ +
+ + + +
+
+ +
+
+ + + \ No newline at end of file diff --git a/modules/webcpanel/templates/default/header.html b/modules/webcpanel/templates/default/header.html new file mode 100644 index 000000000..0ccf477c5 --- /dev/null +++ b/modules/webcpanel/templates/default/header.html @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + {TITLE} + + +
+ + +
+
+ +
+ +
+
diff --git a/modules/webcpanel/templates/default/hostserv/request.html b/modules/webcpanel/templates/default/hostserv/request.html new file mode 100644 index 000000000..f557244d1 --- /dev/null +++ b/modules/webcpanel/templates/default/hostserv/request.html @@ -0,0 +1,45 @@ +{INCLUDE header.html} +
vHost Information
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + + + + + + + + {IF EXISTS CAN_REQUEST} + + + + + + + + {ELSE} + + + + {END IF} + +
Your current vHost: + {IF EXISTS VHOST} + {VHOST} + {ELSE} + None + {END IF} +
+ {IF EXISTS VHOST} + Request a new vHost + {ELSE} + Request a vHost + {END IF} +
vHost requests are disabled on this network.
+
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/login.html b/modules/webcpanel/templates/default/login.html new file mode 100644 index 000000000..6a0b6d7a9 --- /dev/null +++ b/modules/webcpanel/templates/default/login.html @@ -0,0 +1,55 @@ + + + + + + + + + + + + + {TITLE} + + +
+
+
+ + + + +

Login to continue

+ + {IF EXISTS INVALID_LOGIN} +
+ {INVALID_LOGIN} +
+ {END IF} + + +
+
+ +
+
+
+ +
+
+
+ + + + + diff --git a/modules/webcpanel/templates/default/logo.png b/modules/webcpanel/templates/default/logo.png new file mode 100644 index 000000000..f7c2ff92a Binary files /dev/null and b/modules/webcpanel/templates/default/logo.png differ diff --git a/modules/webcpanel/templates/default/memoserv/memos.html b/modules/webcpanel/templates/default/memoserv/memos.html new file mode 100644 index 000000000..b3b54d948 --- /dev/null +++ b/modules/webcpanel/templates/default/memoserv/memos.html @@ -0,0 +1,112 @@ +{INCLUDE header.html} +
Memos List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EXISTS NUMBER} + + + + + + + + + + + + + {FOR I,S,T,TXT,U IN NUMBER,SENDER,TIME,TEXT,UNREAD} + {IF EQ U YES} + + {ELSE} + + {END IF} + + + + + + {END FOR} + +
NumberSenderMessage (hover: Time)
{I}{S}{TXT} + {IF EQ U YES} + Reply + Mark as Read + Delete + {ELSE} + Reply + Mark as Unread + Delete + {END IF} +
+ {ELSE} + No memos to show. + {END IF} + +
+ +
+
+

Memos for channel

+ {IF EXISTS CHANNEL_NAMES} +
+
    + {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} +
  • {CH}
  • + {END FOR} +
+
+ {ELSE} + You don't have access in any channel
+ {END IF} + +
+
+

Send a new Memo

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
+ + {IF EXISTS CMDR} +
+ {CMDR} +
+ {END IF} +
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/nickserv/access.html b/modules/webcpanel/templates/default/nickserv/access.html new file mode 100644 index 000000000..d4be56279 --- /dev/null +++ b/modules/webcpanel/templates/default/nickserv/access.html @@ -0,0 +1,42 @@ +{INCLUDE header.html} +
Nick access list
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EXISTS ACCESS} + + + {FOR A IN ACCESS} + + + + + {END FOR} + +
{A}Delete
+ {ELSE} + Your access list is empty. + {END IF} + +
+ +

Add an access entry

+
+
+ +
+ +
+
+
+
+ +
+
+
+
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/nickserv/alist.html b/modules/webcpanel/templates/default/nickserv/alist.html new file mode 100644 index 000000000..f3b2e0124 --- /dev/null +++ b/modules/webcpanel/templates/default/nickserv/alist.html @@ -0,0 +1,23 @@ +{INCLUDE header.html} +
Channel access list
+
+ + + + + + + + + + {FOR N,C,A IN NUMBERS,CHANNELS,ACCESSES} + + + + + + {END FOR} + +
NumberChannelAccess
{N}{C}{A}
+
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/nickserv/cert.html b/modules/webcpanel/templates/default/nickserv/cert.html new file mode 100644 index 000000000..6d41a44b4 --- /dev/null +++ b/modules/webcpanel/templates/default/nickserv/cert.html @@ -0,0 +1,42 @@ +{INCLUDE header.html} +
Your certificate fingerprints
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EXISTS CERTS} + + + {FOR CERT IN CERTS} + + + + + {END FOR} + +
{CERT}Delete
+ {ELSE} + Certificates list is empty. + {END IF} + +
+ +

Add a certificate fingerprint

+
+
+ +
+ +
+
+
+
+ +
+
+
+
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/nickserv/info.html b/modules/webcpanel/templates/default/nickserv/info.html new file mode 100644 index 000000000..667c8b370 --- /dev/null +++ b/modules/webcpanel/templates/default/nickserv/info.html @@ -0,0 +1,72 @@ +{INCLUDE header.html} +
Your account information
+
+ {FOR M IN ERRORS} +
+ {M}
+
+ {END FOR} + + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + +
+ + + + + + + {IF EXISTS EMAIL} + + + + + {END IF} + + + + + {IF EXISTS VHOST} + + + + + {END IF} + + + + + + + + + + + + + + + + + + + + + +
Account:{DISPLAY}
E-mail:{EMAIL}
Time registered:{TIME_REGISTERED}
Vhost:{VHOST}
Greet:
Auto op:
Private:
Secure:
Kill: + +
+
+ +
+
+
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/operserv/akill.html b/modules/webcpanel/templates/default/operserv/akill.html new file mode 100644 index 000000000..ffc73f8e4 --- /dev/null +++ b/modules/webcpanel/templates/default/operserv/akill.html @@ -0,0 +1,77 @@ +{INCLUDE header.html} +
Akill List
+
+ {IF EXISTS NOACCESS} +

Access denied.

+ {ELSE} + + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + + + {IF EXISTS AKILLS} + {AKILLS} + {ELSE} + + + + + + + + + + + + {FOR N,H,S,T,E,R IN NUMBER,HOST,SETTER,TIME,EXPIRE,REASON} + + + + + + + + {END FOR} + +
NumberHostmask (hover: Reason)Expires (hover: Set Date)Setter
{N}{H}{E}{S}Delete
+ {END IF} + +
+ +

Add a new Akill

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ {END IF} +
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/register.html b/modules/webcpanel/templates/default/register.html new file mode 100644 index 000000000..bebf4e276 --- /dev/null +++ b/modules/webcpanel/templates/default/register.html @@ -0,0 +1,65 @@ + + + + + + + + + + + + + {TITLE} + + +
+
+
+ + + + Back Home + +

Register

+ + {IF EXISTS MESSAGES} +
+ {MESSAGES} +
+ {END IF} + + +
+
+ +
+
+
+ +
+
+
+ + + + + \ No newline at end of file diff --git a/modules/webcpanel/templates/default/style.css b/modules/webcpanel/templates/default/style.css new file mode 100644 index 000000000..e425c3d8c --- /dev/null +++ b/modules/webcpanel/templates/default/style.css @@ -0,0 +1,166 @@ +@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; +} +body { + background-color: #eee; + background-image: url('/static/cubes.png'); +} + +/* RANDOM STUFF */ +#frontPages { + padding-top: 20px; +} + +h2 { + margin: 0 0 10px 0; +} +h4 { + margin-top: 30px; +} +.popover { + max-width: 450px; + -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); + box-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); +} + +.label { + font-size: 13px; + font-weight: normal; +} + +.label-info { + background-color: #4EA4EE; +} + +.label-info[href]:hover, .label-info[href]:focus { + background-color: #428BCA; +} + +/* LOGIN FORM */ +.form-signin .form-signin-heading, .form-signin .checkbox { + margin-bottom: 10px; +} +.form-signin .checkbox { + font-weight: normal; +} +.form-signin .form-control { + position: relative; + font-size: 16px; + height: auto; + padding: 10px; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.form-signin .form-control:focus { + z-index: 2; +} +/* FOOTER */ +.footer { + margin-top: 20px; +} + +/* Control Panel */ +.panel-default .panel-heading { + font-size: 24px; +} +#loggedIn { + margin: 15px 15px 0 0; +} + +#navPanel { + margin: 0; + padding: 0; +} +.table thead > tr:first-child > th, .table tbody > tr:first-child > th, .table tfoot > tr:first-child > th, .table thead > tr:first-child > td, .table tbody > tr:first-child > td, .table tfoot > tr:first-child > td { + vertical-align: top; + border-top: 0; +} +#tableInfo td { + vertical-align: middle; +} +#tableInfo td:first-child { + font-weight: bold; + padding-right: 10px; + text-align: right; + width: 25%; +} + +#tableInfoNorm td { + vertical-align: middle; +} +#tableInfoNorm td:first-child { + font-weight: bold; + padding-right: 10px; +} + +#tableInfoMemos td { + vertical-align: top; +} +#tableInfoMemos td:first-child { + font-weight: bold; + padding-right: 10px; +} +#tableInfoMemos th small { + font-weight: normal; +} + +#tableNSAccess td { + vertical-align: middle; +} +#tableNSAccess td:first-child { + padding-right: 10px; + text-align: left; +} +#tableNSAccess td:last-child { + padding-right: 10px; + text-align: right; +} +#tableNSAccess th small { + font-weight: normal; +} + +#channelList li { + margin-top: 10px; +} + +/* NAVBAR */ +.navbar, .well { + background-color: white; +} + +.navbar { + -webkit-box-shadow: 0 8px 6px -8px black; + -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; +} + +.navbar-default .nav > li > a { + color: #428BCA; +} + +.navbar-default .nav > li > a:hover, .navbar-default .nav > li > a:focus { + color: #428BCA; + border-top: 3px solid #0082D9; + margin-top: -3px; +} + +.navbar-default .nav > li.active > a, .navbar-default .nav > li.active > a:hover, .navbar-default .nav > li.active > a:focus { + color: #428BCA; + background-color: transparent; + background-color: rgba(66, 139, 202, 0.1); + border-bottom-color: transparent; +} -- cgit