| 1 |
{INCLUDE header.html} |
| 2 |
<div class="panel-heading">Akill List</div> |
| 3 |
<div class="panel-body"> |
| 4 |
{IF EXISTS NOACCESS} |
| 5 |
<h2>Access denied.</h2> |
| 6 |
{ELSE} |
| 7 |
|
| 8 |
{FOR M IN MESSAGES} |
| 9 |
<div class="alert alert-info"> |
| 10 |
{M}<br> |
| 11 |
</div> |
| 12 |
{END FOR} |
| 13 |
|
| 14 |
<script> |
| 15 |
$(function () \{ |
| 16 |
$('.table tbody tr td abbr').popover(); |
| 17 |
\}); |
| 18 |
</script> |
| 19 |
|
| 20 |
{IF EXISTS AKILLS} |
| 21 |
<em>{AKILLS}</em> |
| 22 |
{ELSE} |
| 23 |
<table id="tableNSAccess" class="table table-hover"> |
| 24 |
<thead> |
| 25 |
<tr> |
| 26 |
<th>Number</th> |
| 27 |
<th>Hostmask <small>(hover: Reason)</small></th> |
| 28 |
<th>Expires <small>(hover: Set Date)</small></th> |
| 29 |
<th>Setter</th> |
| 30 |
<th></th> |
| 31 |
</tr> |
| 32 |
</thead> |
| 33 |
<tbody> |
| 34 |
{FOR N,H,S,T,E,R IN NUMBER,HOST,SETTER,TIME,EXPIRE,REASON} |
| 35 |
<tr> |
| 36 |
<td>{N}</td> |
| 37 |
<td><abbr data-container="body" data-trigger="hover" data-placement="top" data-content="{R}">{H}</abbr></td> |
| 38 |
<td><abbr data-container="body" data-trigger="hover" data-placement="top" data-content="{T}">{E}</abbr></td> |
| 39 |
<td>{S}</td> |
| 40 |
<td><a href="/operserv/akill?&number={N}&del=1" class="btn btn-sm btn-danger">Delete</a></td> |
| 41 |
</tr> |
| 42 |
{END FOR} |
| 43 |
</tbody> |
| 44 |
</table> |
| 45 |
{END IF} |
| 46 |
|
| 47 |
<hr> |
| 48 |
|
| 49 |
<h4>Add a new Akill</h4> |
| 50 |
<form class="form-horizontal" method="post" action="/operserv/akill"> |
| 51 |
<div class="form-group"> |
| 52 |
<label class="control-label col-lg-2" for="mask">HostMask:</label> |
| 53 |
<div class="col-lg-6"> |
| 54 |
<input class="form-control" type="text" name="mask" id="mask" placeholder="Mask must be in the form nick!user@host"> |
| 55 |
</div> |
| 56 |
</div> |
| 57 |
<div class="form-group"> |
| 58 |
<label class="control-label col-lg-2" for="expiry">Expiry:</label> |
| 59 |
<div class="col-lg-6"> |
| 60 |
<input class="form-control" type="text" name="expiry" id="expiry" placeholder="Expire time"> |
| 61 |
</div> |
| 62 |
</div> |
| 63 |
<div class="form-group"> |
| 64 |
<label class="control-label col-lg-2" for="reason">Message:</label> |
| 65 |
<div class="col-lg-6"> |
| 66 |
<input class="form-control" type="text" name="reason" id="reason" placeholder="Reason for AKILL"> |
| 67 |
</div> |
| 68 |
</div> |
| 69 |
<div class="form-group"> |
| 70 |
<div class="col-lg-offset-2 col-lg-6"> |
| 71 |
<button type="submit" class="btn btn-primary">Send</button> |
| 72 |
</div> |
| 73 |
</div> |
| 74 |
</form> |
| 75 |
{END IF} |
| 76 |
</div> |
| 77 |
{INCLUDE footer.html} |