Debian Codegraph @

modules/webcpanel/templates/default/chanserv/akick.html

raw
1 {INCLUDE header.html}
2 {INCLUDE chanserv/chanlist.html}
3 <div class="panel-heading">Akick List</div>
4 <div class="panel-body">
5 {FOR M IN MESSAGES}
6 <div class="alert alert-info">
7 {M}<br>
8 </div>
9 {END FOR}
10
11 {IF EQ AKICK YES}
12 {IF EXISTS MASKS}
13 <table id="tableNSAccess" class="table table-hover">
14 <thead>
15 <tr>
16 <th>Mask</th>
17 <th>Reason</th>
18 <th>Creator</th>
19 <th></th>
20 </tr>
21 </thead>
22 <tbody>
23 {FOR MASK,REASON,CREATOR IN MASKS,REASONS,CREATORS}
24 <tr>
25 <td style="font-weight: bold;">{MASK}</td>
26 <td>{REASON}</td>
27 <td>{CREATOR}</td>
28 <td><a href="/chanserv/akick?channel={ESCAPED_CHANNEL}&mask={MASK}&del=1" class="btn btn-sm btn-danger">Delete</a></td>
29 </tr>
30 {END FOR}
31 </tbody>
32 </table>
33 {ELSE}
34 <em>Akick list is empty.</em>
35 {END IF}
36
37 <hr>
38
39 <h4>Add an akick entry</h4>
40 <form class="form-horizontal" method="post" action="/chanserv/akick?channel={ESCAPED_CHANNEL}">
41 <div class="form-group">
42 <label class="control-label col-lg-2" for="mask">Mask:</label>
43 <div class="col-lg-6">
44 <input class="form-control" type="text" name="mask" id="mask" placeholder="Mask must be in the form nick!user@host">
45 </div>
46 </div>
47 <div class="form-group">
48 <label class="control-label col-lg-2" for="reason">Reason:</label>
49 <div class="col-lg-6">
50 <input class="form-control" type="text" name="reason" id="reason" placeholder="Reason for AKICK">
51 </div>
52 </div>
53 <div class="form-group">
54 <div class="col-lg-offset-2 col-lg-6">
55 <button type="submit" class="btn btn-primary">Send</button>
56 </div>
57 </div>
58 </form>
59 {END IF}
60 </div>
61 {INCLUDE footer.html}