diff options
| author | Adam <Adam@anope.org> | 2012-09-01 18:54:51 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-09-01 18:54:51 -0400 |
| commit | e3d5140dcc936ff411c438b7e3997104cb5f085a (patch) | |
| tree | 49d7ee0b3e531a1c81e35fb10f25e6340fa781ba /modules/extra/webcpanel/templates/default/nickserv | |
| parent | f81d0113a21187d68c5fa0f1262e5514465b1953 (diff) | |
Added a web panel module + a default template
Diffstat (limited to 'modules/extra/webcpanel/templates/default/nickserv')
4 files changed, 141 insertions, 0 deletions
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..9948c3694 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/nickserv/access.html @@ -0,0 +1,24 @@ +{INCLUDE header.html} + {FOR M IN MESSAGES} + {M}</br> + {END FOR} + {IF EXISTS ACCESS} + <b>Your access list:</b> + <table width="100%" height="100%"> + {FOR A IN ACCESS} + <tr> + <td>{A}</td> + <td><a href="/nickserv/access?mask={A}&del=1">Delete</a></td> + </tr> + {END FOR} + </table> + {ELSE} + <b>Your access list is empty.</b> + {END IF} + <br/><br/> + <b>Add an access entry:</b> + <form method="post" action="/nickserv/access"> + <input name="access"> + <input type="submit" value="Add"> + </form> +{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..e36143458 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/nickserv/alist.html @@ -0,0 +1,16 @@ +{INCLUDE header.html} + <table> + <tr> + <th>Number</th> + <th>Channel</th> + <th>Access</th> + </tr> + {FOR N,C,A IN NUMBERS,CHANNELS,ACCESSES} + <tr> + <td>{N}</td> + <td>{C}</td> + <td>{A}</td> + </tr> + {END FOR} + </table> +{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..31f12b883 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/nickserv/cert.html @@ -0,0 +1,19 @@ +{INCLUDE header.html} + {FOR M IN MESSAGES} + {M}</br> + {END FOR} + <b>Your certificate finrgerprints:</b> + <table width="100%" height="100%"> + {FOR CERT IN CERTS} + <tr> + <td>{CERT}</td> + <td><a href="/nickserv/cert?mask={CERT}&del=1">Delete</a></td> + </tr> + {END FOR} + </table> + <b>Add an certificate fingerprint</b> + <form method="post" action="/nickserv/cert"> + <input name="certfp"> + <input type="submit" value="Add"> + </form> +{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..1dd051364 --- /dev/null +++ b/modules/extra/webcpanel/templates/default/nickserv/info.html @@ -0,0 +1,82 @@ +{INCLUDE header.html} + {FOR M IN ERRORS} + {M}<br/> + {END FOR} + {FOR M IN MESSAGES} + {M}<br/> + {END FOR} + <b>Your account information:</b> + <form method="post" action="/nickserv/info"> + <table width="100%" height="100%"> + <tr> + <td>Account:</td> + <td>{DISPLAY}</td> + </tr> + {IF EXISTS EMAIL} + <tr> + <td>EMail</td> + <td>{EMAIL}</td> + </tr> + {END IF} + <tr> + <td>Time registered</td> + <td>{TIME_REGISTERED}</td> + </tr> + {IF EXISTS VHOST} + <tr> + <td>Vhost</td> + <td>{VHOST}</td> + </tr> + {END IF} + <tr> + <td>Greet</td> + <td><input name="greet" value="{GREET}"></td> + </tr> + <tr> + <td>Auto op</td> + {IF EXISTS AUTOOP} + <td><input type="checkbox" name="autoop" value="on" checked></td> + {ELSE} + <td><input type="checkbox" name="autoop" value="on"></td> + {END IF} + </tr> + <tr> + <td>Private</td> + {IF EXISTS PRIVATE} + <td><input type="checkbox" name="private" value="on" checked></td> + {ELSE} + <td><input type="checkbox" name="private" value="on"></td> + {END IF} + </tr> + <tr> + <td>Secure</td> + {IF EXISTS SECURE} + <td><input type="checkbox" name="secure" value="on" checked></td> + {ELSE} + <td><input type="checkbox" name="secure" value="on"></td> + {END IF} + </tr> + <tr> + <td>Kill</td> + <td><select name="kill"> + {IF EXISTS KILL_ON} + <option value="on" selected>On</option> + {ELSE} + <option value="on">On</option> + {END IF} + {IF EXISTS KILL_QUICK} + <option value="quick" selected>Quick</option> + {ELSE} + <option value="quick">Quick</option> + {END IF} + {IF EXISTS KILL_OFF} + <option value="off" selected>Off</option> + {ELSE} + <option value="off">Off</option> + {END IF} + </select></td> + </tr> + </table> + <input type="submit" value="Save"> + </form> +{INCLUDE footer.html} |
