summaryrefslogtreecommitdiffstats
path: root/modules-available/vmstore/templates/benchmark-imgselect.html
blob: 2ef616442b8132be8423cb476eb6c5d027119b7a (plain) (blame)
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
<h1>{{lang_benchmark}}</h1>

<h3>{{lang_selectImage}}</h3>

<form role="form" method="post" action="?do=vmstore">
	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="show" value="benchmark">
	<input type="hidden" name="id" value="{{id}}">

	<div style="max-height:1000px;max-height:80vh;overflow:auto">
		<table class="table table-condensed stupidtable">
			<thead>
			<tr>
				<th data-sort="string">{{lang_image}}</th>
				<th class="slx-smallcol" data-sort="int" data-sort-default="desc">{{lang_users}}</th>
				<th class="slx-smallcol" data-sort="int" data-sort-default="desc">{{lang_size}}</th>
			</tr>
			</thead>
			<tbody>
			{{#list}}
				<tr>
					<td>
						<div class="radio radio-inline">
							<input type="radio" id="r-{{id}}" name="image" value="{{name}}">
							<label for="r-{{id}}">{{name}}</label>
						</div>
					</td>
					<td class="text-right">{{users}}</td>
					<td class="text-right" data-sort-value="{{size}}">{{size_s}}</td>
				</tr>
			{{/list}}
			</tbody>
		</table>
	</div>

	<div class="slx-space"></div>

	<div class="slx-bold">
		{{lang_selectServerOrNfs}}
	</div>
	{{#servers}}
		<div class="radio">
			<input type="radio" id="s-{{idx}}" name="server" value="{{idx}}" {{checked}}>
			<label for="s-{{idx}}">{{server}}</label>
		</div>
	{{/servers}}

	<div class="slx-space"></div>

	<div class="buttonbar text-right">
		<button type="submit" name="action" value="start" class="btn btn-primary">
			<span class="glyphicon glyphicon-play"></span>
			{{lang_start}}
		</button>
	</div>

</form>