summaryrefslogtreecommitdiff
blob: 8440724310c93542da400d06ae329a493eb541c3 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{include file="header.tpl" title="Quickstart Server"}
<h3>Quickstart Server Status Overview</h3>
<form name="form1" method="post" action="#">
List of clients currently installing:<br>
<table class="table" border="2">
	<tr>
		<th>MAC</th>
		<th>IP</th>
		<th>PROFILE</th>
		<th>STATUS</th>
	</tr>
{foreach from=$clients item=client key=key}
	{if $client.status eq 'Installing'}
		<tr>
			<td>{$client.mac}</td>
			<td>{$client.ip}</td>
			<td>{$client.profile}</td>
			<td>{$client.status}</td>
		</tr>
	
	{/if}
{/foreach}
</table>
List of clients pending installation:<br>
<table class="table">
	<tr>
		<th>MAC</th>
		<th>IP</th>
		<th>PROFILE</th>
		<th>STATUS</th>
	</tr>
{foreach from=$clients item=client key=key}
	{if $client.status eq 'Scheduled for Install'}
		<tr>
			<td>{$client.mac}</td>
			<td>{$client.ip}</td>
			<td>{$client.profile}</td>
			<td>{$client.status}</td>
		</tr>
	
	{/if}
{/foreach}
</table>
List of completed installations:<br>
<table class="table">
	<tr>
		<th>MAC</th>
		<th>IP</th>
		<th>PROFILE</th>
		<th>STATUS</th>
	</tr>
{foreach from=$clients item=client key=key}
	{if $client.status eq 'Install Complete'}
		<tr>
			<td>{$client.mac}</td>
			<td>{$client.ip}</td>
			<td>{$client.profile}</td>
			<td>{$client.status}</td>
		</tr>
	
	{/if}
{/foreach}
</table>
List of available profiles:<br>
<table class="table">
	<tr>
		<th>Profile ID</th>
		<th>Profile Name</th>
		<th>Filename/URI</th>
		<th>Description</th>
	</tr>
{foreach from=$profiles item=profile key=key}
	<tr>
		<td>{$profile.profileid}</td>
		<td>{$profile.profile_name}</td>
		<td>{$profile.location}</td>
		<td>{$profile.description}</td>
	</tr>

{/foreach}
</table>


<input type="submit" name="Submit" value="Submit">
</form>
{include file="footer.tpl"}