summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default/chanserv/akick.html
blob: 819a69096390bd5ac292bfcbb96305bfed718cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{INCLUDE header.html}
		{FOR M IN MESSAGES}
		<div class="alert alert-info">
			{M}<br>
		</div>
		{END FOR}

		<h2>Akick List</h2>
		{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>

		<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 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 class="form-group">
				<div class="col-lg-offset-2 col-lg-6">
					<button type="submit" class="btn btn-primary">Send</button>
				</div>
			</div>
		</form>


{INCLUDE footer.html}