summaryrefslogtreecommitdiff
path: root/modules/extra/webcpanel/templates/default/hostserv/request.html
blob: 3b2b30c7d85520db5aee43f6c83277450df35405 (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
{INCLUDE header.html}
		{FOR M IN MESSAGES}
		<div class="alert alert-info">
			{M}<br>
		</div>
		{END FOR}

		<h2>vHost Information</h2>
		<table id="tableInfo" class="table table-hover">
			<tbody>
				<tr>
					<td>Your current vHost:</td>
					<td>
				{IF EXISTS VHOST}
					{VHOST}
				{ELSE}
					<em>None</em>
				{END IF}
					</td>
					<td></td>
				</tr>
				{IF EXISTS CAN_REQUEST}
				<tr>
					<td>
					{IF EXISTS VHOST}
						Request a new vHost
					{ELSE}
						Request a vHost
					{END IF}
					</td>
					<form method="post" action="/hostserv/request">
					<td><input class="form-control" name="req"></td>
					<td><button type="submit" class="btn btn-primary">Request</button></td>
					</form>
				</tr>
				{ELSE}
				<tr>
					<td colspan="2" class="text-center"><strong>vHost requests are disabled on this network.</strong></td>
				</tr>
				{END IF}
			</tbody>
		</table>
{INCLUDE footer.html}