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

			<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>
		</div>
{INCLUDE footer.html}