summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default/chanserv/akick.html
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2013-09-03 04:37:09 +0200
committerDukePyrolator <DukePyrolator@anope.org>2013-09-03 04:37:09 +0200
commit404debf78925f86e94cfd71334433bc1eb423115 (patch)
tree6388a371c610d67dbee46bd7a898bb18359765e8 /modules/extra/webcpanel/templates/default/chanserv/akick.html
parent752a5ca1b7d89044728a045622b3f3db5fb94f7e (diff)
updated the chanserv section in webcpanel
Diffstat (limited to 'modules/extra/webcpanel/templates/default/chanserv/akick.html')
-rw-r--r--modules/extra/webcpanel/templates/default/chanserv/akick.html86
1 files changed, 45 insertions, 41 deletions
diff --git a/modules/extra/webcpanel/templates/default/chanserv/akick.html b/modules/extra/webcpanel/templates/default/chanserv/akick.html
index 3b6a2f190..1483cd660 100644
--- a/modules/extra/webcpanel/templates/default/chanserv/akick.html
+++ b/modules/extra/webcpanel/templates/default/chanserv/akick.html
@@ -1,4 +1,5 @@
{INCLUDE header.html}
+{INCLUDE chanserv/chanlist.html}
<div class="panel-heading">Akick List</div>
<div class="panel-body">
{FOR M IN MESSAGES}
@@ -7,52 +8,55 @@
</div>
{END FOR}
- {IF EXISTS MASKS}
- <table id="tableNSAccess" class="table table-hover">
- <thead>
- <tr>
- <th>Mask</th>
- <th>Reason</th>
- <th>Creator</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- {FOR MASK,REASON,CREATOR IN MASKS,REASONS,CREATORS}
- <tr>
- <td style="font-weight: bold;">{MASK}</td>
- <td>{REASON}</td>
- <td>{CREATOR}</td>
- <td><a href="/chanserv/akick?channel={ESCAPED_CHANNEL}&mask={MASK}&del=1" class="btn btn-sm btn-danger">Delete</a></td>
- </tr>
- {END FOR}
- </tbody>
- </table>
+ {IF EXISTS STOP}
{ELSE}
- <em>Akick list is empty.</em>
- {END IF}
+ {IF EXISTS MASKS}
+ <table id="tableNSAccess" class="table table-hover">
+ <thead>
+ <tr>
+ <th>Mask</th>
+ <th>Reason</th>
+ <th>Creator</th>
+ <th></th>
+ </tr>
+ </thead>
+ <tbody>
+ {FOR MASK,REASON,CREATOR IN MASKS,REASONS,CREATORS}
+ <tr>
+ <td style="font-weight: bold;">{MASK}</td>
+ <td>{REASON}</td>
+ <td>{CREATOR}</td>
+ <td><a href="/chanserv/akick?channel={ESCAPED_CHANNEL}&mask={MASK}&del=1" class="btn btn-sm btn-danger">Delete</a></td>
+ </tr>
+ {END FOR}
+ </tbody>
+ </table>
+ {ELSE}
+ <em>Akick list is empty.</em>
+ {END IF}
- <hr>
+ <hr>
- <h4>Add an akick entry</h4>
- <form class="form-horizontal" method="post" action="/chanserv/akick?channel={ESCAPED_CHANNEL}">
- <div class="form-group">
- <label class="control-label col-lg-2" for="mask">Mask:</label>
- <div class="col-lg-6">
- <input class="form-control" type="text" name="mask" id="mask" placeholder="Valid HostMask">
+ <h4>Add an akick entry</h4>
+ <form class="form-horizontal" method="post" action="/chanserv/akick?channel={ESCAPED_CHANNEL}">
+ <div class="form-group">
+ <label class="control-label col-lg-2" for="mask">Mask:</label>
+ <div class="col-lg-6">
+ <input class="form-control" type="text" name="mask" id="mask" placeholder="Valid HostMask">
+ </div>
</div>
- </div>
- <div class="form-group">
- <label class="control-label col-lg-2" for="reason">Reason:</label>
- <div class="col-lg-6">
- <input class="form-control" type="text" name="reason" id="reason" placeholder="Reason for AKICK">
+ <div class="form-group">
+ <label class="control-label col-lg-2" for="reason">Reason:</label>
+ <div class="col-lg-6">
+ <input class="form-control" type="text" name="reason" id="reason" placeholder="Reason for AKICK">
+ </div>
</div>
- </div>
- <div class="form-group">
- <div class="col-lg-offset-2 col-lg-6">
- <button type="submit" class="btn btn-primary">Send</button>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-6">
+ <button type="submit" class="btn btn-primary">Send</button>
+ </div>
</div>
- </div>
- </form>
+ </form>
+ {END IF}
</div>
{INCLUDE footer.html}