diff --git a/modules/extra/webcpanel/templates/default/chanserv/access.html b/modules/extra/webcpanel/templates/default/chanserv/access.html new file mode 100644 index 000000000..334101905 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/chanserv/access.html @@ -0,0 +1,69 @@ +{INCLUDE header.html} + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + +

Access List

+ {IF EXISTS ACCESSES} + + + + + + + + + + + {FOR MASK,ACCESS,CREATOR,ACCESS_CHANGE IN MASKS,ACCESSES,CREATORS,ACCESS_CHANGES} + + + + + {IF EQ ACCESS_CHANGE YES} + + {END IF} + + {END FOR} + +
MaskAccessCreator
{MASK}{ACCESS}{CREATOR}Delete
+ {ELSE} + Access list is empty. + {END IF} + +
+ +

Add an access entry

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ +{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/chanserv/akick.html b/modules/extra/webcpanel/templates/default/chanserv/akick.html new file mode 100644 index 000000000..819a69096 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/chanserv/akick.html @@ -0,0 +1,58 @@ +{INCLUDE header.html} + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + +

Akick List

+ {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

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ + +{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/chanserv/drop.html b/modules/extra/webcpanel/templates/default/chanserv/drop.html new file mode 100644 index 000000000..7852bfde6 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/chanserv/drop.html @@ -0,0 +1,34 @@ +{INCLUDE header.html} + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + +

Channels you can drop

+
+ {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} + {CH}
+ {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/extra/webcpanel/templates/default/chanserv/main.html b/modules/extra/webcpanel/templates/default/chanserv/main.html new file mode 100644 index 000000000..43eb902fb --- /dev/null +++ b/modules/extra/webcpanel/templates/default/chanserv/main.html @@ -0,0 +1,8 @@ +{INCLUDE header.html} +

Channels you have access in

+
+ {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} + {CH}
+ {END FOR} +
+{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/chanserv/set.html b/modules/extra/webcpanel/templates/default/chanserv/set.html new file mode 100644 index 000000000..dff390e09 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/chanserv/set.html @@ -0,0 +1,76 @@ +{INCLUDE header.html} + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + +

Channel Information

+
+ + + + + + {IF EXISTS FOUNDER} + + + + + {END IF} + {IF EXISTS SUCCESSOR} + + + + + {END IF} + + + + + + + + + {IF EXISTS LAST_TOPIC} + + + + + + + + + {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
+ +
+{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/confirm.html b/modules/extra/webcpanel/templates/default/confirm.html new file mode 100644 index 000000000..c9e609158 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/confirm.html @@ -0,0 +1,47 @@ + + + + + + + + + + + + + {TITLE} + + +
+
+
+ + Back Home + +

Register

+ + {IF EXISTS MESSAGES} +
+ {FOR M IN MESSAGES} + {M}
+ {END FOR} +
+ {END IF} +
+
+ +
+
+
+ +
+
+
+ + + + + diff --git a/modules/extra/webcpanel/templates/default/favicon.ico b/modules/extra/webcpanel/templates/default/favicon.ico new file mode 100644 index 000000000..be735614a Binary files /dev/null and b/modules/extra/webcpanel/templates/default/favicon.ico differ diff --git a/modules/extra/webcpanel/templates/default/footer.html b/modules/extra/webcpanel/templates/default/footer.html new file mode 100644 index 000000000..6d224f8df --- /dev/null +++ b/modules/extra/webcpanel/templates/default/footer.html @@ -0,0 +1,13 @@ +
+ + +
+
+ +
+
+ + + \ No newline at end of file diff --git a/modules/extra/webcpanel/templates/default/header.html b/modules/extra/webcpanel/templates/default/header.html new file mode 100644 index 000000000..a5fe89517 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/header.html @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + {TITLE} + + +
+
+ +
+ +
+
+ +
+ +
+
diff --git a/modules/extra/webcpanel/templates/default/hostserv/request.html b/modules/extra/webcpanel/templates/default/hostserv/request.html new file mode 100644 index 000000000..3b2b30c7d --- /dev/null +++ b/modules/extra/webcpanel/templates/default/hostserv/request.html @@ -0,0 +1,43 @@ +{INCLUDE header.html} + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + +

vHost Information

+ + + + + + + + {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/extra/webcpanel/templates/default/login.html b/modules/extra/webcpanel/templates/default/login.html new file mode 100644 index 000000000..250dde1f0 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/login.html @@ -0,0 +1,54 @@ + + + + + + + + + + + + + {TITLE} + + +
+
+
+ + + +

Login to continue

+ + {IF EXISTS INVALID_LOGIN} +
+ {INVALID_LOGIN} +
+ {END IF} + + +
+
+ +
+
+
+ +
+
+
+ + + + + diff --git a/modules/extra/webcpanel/templates/default/logo.png b/modules/extra/webcpanel/templates/default/logo.png new file mode 100644 index 000000000..1ab5546c6 Binary files /dev/null and b/modules/extra/webcpanel/templates/default/logo.png differ diff --git a/modules/extra/webcpanel/templates/default/memoserv/memos.html b/modules/extra/webcpanel/templates/default/memoserv/memos.html new file mode 100644 index 000000000..dc82846c6 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/memoserv/memos.html @@ -0,0 +1,103 @@ +{INCLUDE header.html} + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EXISTS NUMBER} + + + + +

Memos List

+ + + + + + + + + {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

+
    + {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} +
  • {CH}
  • + {END FOR} +
+
+
+

Send a new Memo

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
+ + {IF EXISTS CMDR} +
+ {CMDR} +
+ {END IF} +{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/nickserv/access.html b/modules/extra/webcpanel/templates/default/nickserv/access.html new file mode 100644 index 000000000..89a867627 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/nickserv/access.html @@ -0,0 +1,40 @@ +{INCLUDE header.html} + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EXISTS ACCESS} +

Nick access list

+ + + {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/extra/webcpanel/templates/default/nickserv/alist.html b/modules/extra/webcpanel/templates/default/nickserv/alist.html new file mode 100644 index 000000000..224f09894 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/nickserv/alist.html @@ -0,0 +1,21 @@ +{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/extra/webcpanel/templates/default/nickserv/cert.html b/modules/extra/webcpanel/templates/default/nickserv/cert.html new file mode 100644 index 000000000..636626e2a --- /dev/null +++ b/modules/extra/webcpanel/templates/default/nickserv/cert.html @@ -0,0 +1,36 @@ +{INCLUDE header.html} + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + Your certificate finrgerprints + + + {FOR CERT IN CERTS} + + + + + {END FOR} + +
{CERT}Delete
+ +
+ +

Add an certificate fingerprint

+
+
+ +
+ +
+
+
+
+ +
+
+
+{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/nickserv/info.html b/modules/extra/webcpanel/templates/default/nickserv/info.html new file mode 100644 index 000000000..22addbf4f --- /dev/null +++ b/modules/extra/webcpanel/templates/default/nickserv/info.html @@ -0,0 +1,74 @@ +{INCLUDE header.html} + {IF EXISTS ERRORS} + {FOR M IN ERRORS} +
+ {M}
+
+ {END FOR} + {END IF} + + {IF EXISTS MESSAGES} +
+ {FOR M IN MESSAGES} + {M}
+ {END FOR} +
+ {END IF} + +

Your account information:

+
+ + + + + + + {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/extra/webcpanel/templates/default/operserv/akill.html b/modules/extra/webcpanel/templates/default/operserv/akill.html new file mode 100644 index 000000000..5c25c26da --- /dev/null +++ b/modules/extra/webcpanel/templates/default/operserv/akill.html @@ -0,0 +1,71 @@ +{INCLUDE header.html} + {IF EXISTS NOACCESS} +

Access denied.

+ {ELSE} + + {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + + +

AKILL List

+ + + + + + + + + + + + {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
+ +
+ +

Add a new AKILL

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

Register

+ + {IF EXISTS MESSAGES} +
+ {MESSAGES} +
+ {END IF} + + +
+
+ +
+
+
+ +
+
+
+ + + + + \ No newline at end of file diff --git a/modules/extra/webcpanel/templates/default/style.css b/modules/extra/webcpanel/templates/default/style.css new file mode 100644 index 000000000..a7a8a633d --- /dev/null +++ b/modules/extra/webcpanel/templates/default/style.css @@ -0,0 +1,133 @@ +@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400); + +*, html, body, h1, h2, h3, h4, div, p, span, a, button { + font-family: 'Open Sans', sans-serif; +} +body { + background-color: #eee; + background-image: url('http://politeia.in/assets/img/bg/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); +} + +/* 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 */ +#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; +} + +#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; +} + +/* 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-default .navbar-nav > li > a { + color: #777777; + -webkit-transition: background-color .5s ease-out; + -moz-transition: background-color .5s ease-out; + -o-transition: background-color .5s ease-out; + transition: background-color .5s ease-out; +} + +.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { + color: #333333; + background-color: #4796DA; + background-color: rgba(66, 139, 202, 0.05); + border-bottom: 3px solid #0082D9; + margin-bottom: -3px; +}