blob: be81aa3e829b5543dd49d9af209605569933f53f (
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
58
59
|
<div class="page-header">
<h1>{{lang_benchmark}}</h1>
</div>
<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}}">
<h4>{{lang_selectServerOrNfs}}</h4>
{{#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>
<h4>{{lang_selectImage}}</h4>
<div>
<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 style="position:fixed;bottom:0;right:0;padding:8px;background:#fff;width:100%;border-top:1px solid #ddd">
<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>
</div>
</form>
|