summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default
diff options
context:
space:
mode:
authorMatthewM <mcm@they-got.us>2012-12-14 16:44:14 -0500
committerAdam <Adam@anope.org>2012-12-14 16:44:14 -0500
commit1075f3b457d9e144b883166b202cba919069f82b (patch)
treeb3dd6c9ff7b721953349172fe15850fb2e33e22e /modules/extra/webcpanel/templates/default
parentc1077faa281c5635f85b892e605e23bd6c8fcc3b (diff)
Allow opers to drop channels
Added chanserv drop to web panel Allow long lists of akills to scroll
Diffstat (limited to 'modules/extra/webcpanel/templates/default')
-rw-r--r--modules/extra/webcpanel/templates/default/chanserv/drop.html22
-rw-r--r--modules/extra/webcpanel/templates/default/operserv/akill.html44
-rw-r--r--modules/extra/webcpanel/templates/default/style.css23
3 files changed, 67 insertions, 22 deletions
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..35f0283f2
--- /dev/null
+++ b/modules/extra/webcpanel/templates/default/chanserv/drop.html
@@ -0,0 +1,22 @@
+{INCLUDE header.html}
+ {IF EXISTS MESSAGES}
+ {FOR M IN MESSAGES}
+ {M}<br/>
+ {END FOR}
+ {END IF}
+ <h3>Channels you can drop:</h3>
+ <div class="scroll">
+ {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES}
+ <a href="/chanserv/drop?channel={ECH}">{CH}</a></br>
+ {END FOR}
+ </div>
+ {IF EXISTS CHANNEL_DROP}
+ <h3>Drop Channel {CHANNEL_DROP}?</h3>
+ <form method="post" name="dropForm" action="/chanserv/drop">
+ <input type="hidden" value="{CHANNEL_DROP}" name="channel">
+ Enter Channel For Confirmation: <input type="text" name="confChan">
+ <input type="hidden" value="yes" name="drop">
+ <input type="submit" value="Drop">
+ </form>
+ {END IF}
+{INCLUDE footer.html} \ No newline at end of file
diff --git a/modules/extra/webcpanel/templates/default/operserv/akill.html b/modules/extra/webcpanel/templates/default/operserv/akill.html
index 317e31c71..2c3ea6de9 100644
--- a/modules/extra/webcpanel/templates/default/operserv/akill.html
+++ b/modules/extra/webcpanel/templates/default/operserv/akill.html
@@ -8,33 +8,33 @@
</br><b>AKILL List:</b>
<table width="100%" height="100%">
<tr>
- <th align="left">Number</th>
- <th align="left">Hostmask/Reason</th>
- <th align="left">Expires</th>
- <th align="left">Setter</th>
+ <td class="akillR1">Number</td>
+ <td class="akillR2">Hostmask</td>
+ <td class="akillR2">Expires</td>
+ <td class="akillR2">Setter</td>
+ <td>
</tr>
- {FOR N,H,S,T,E,R IN NUMBER,HOST,SETTER,TIME,EXPIRE,REASON}
- <tr>
- <td>{N}</td>
- <td>{H}</td>
- <td>{E}</td>
- <td>{S}</td>
- <td></td>
- <td><a href="/operserv/akill?&number={N}&del=1">Delete</a></td>
- </tr>
- <tr>
- <td></td>
- <td colspan="2">{R}</td>
- </tr>
- {END FOR}
- </table></br>
+ </table>
+ <div class="scroll">
+ <table>
+ {FOR N,H,S,T,E,R IN NUMBER,HOST,SETTER,TIME,EXPIRE,REASON}
+ <tr>
+ <td class="akillR1">{N}</td>
+ <td class="akillR2"><abbr class="akillR2" title="{R}">{H}</abbr></td>
+ <td class="akillR2"><abbr class="akillR2" title="{T}">{E}</abbr></td>
+ <td class="akillR2">{S}</td>
+ <td class="akillR3"><a href="/operserv/akill?&number={N}&del=1">Delete</a></td>
+ </tr>
+ {END FOR}
+ </table></br>
+ </div>
<b>Add a new AKILL</b>
<form method="post" action="/operserv/akill">
<table width="100%" height="100%" align="left">
<tr>
- <th align="left">HostMask</th>
- <th align="left">Expiry</th>
- <th align="left">Reason</th>
+ <th align="left">HostMask</td>
+ <th align="left">Expiry</td>
+ <th align="left">Reason</td>
</tr>
<tr>
<td><input type="text" name="mask"></td>
diff --git a/modules/extra/webcpanel/templates/default/style.css b/modules/extra/webcpanel/templates/default/style.css
index 78c044995..7934e4850 100644
--- a/modules/extra/webcpanel/templates/default/style.css
+++ b/modules/extra/webcpanel/templates/default/style.css
@@ -95,3 +95,26 @@ body {
background:#FFF;
text-decoration:underline;
}
+
+.scroll {
+ overflow-x: scroll;
+ height: 125px;
+}
+
+.akillR1 {
+ width: 80px;
+ text-align: left;
+}
+.akillR2 {
+ width: 250px;
+ text-align: left;
+}
+.akillR3 {
+ width: 100px;
+ text-align: left;
+}
+
+.danger {
+ color: red;
+ weight: bolder;
+}