blob: 09eb32f5744913347d080e694088589435d92e68 (
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
|
<h2>{{lang_execRemoteCommand}}</h2>
<form method="post" action="?do=rebootcontrol" id="list-form">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="show" value="exec">
<table class="table table-hover stupidtable" id="dataTable">
<thead>
<tr>
<th data-sort="string">{{lang_client}}</th>
<th data-sort="ipv4">{{lang_ip}}</th>
<th data-sort="string">
{{lang_status}}
</th>
</tr>
</thead>
<tbody>
{{#clients}}
<tr>
<td>
{{hostname}}{{^hostname}}{{machineuuid}}{{/hostname}}
<input type="hidden" name="uuid[]" value="{{machineuuid}}">
</td>
<td>{{clientip}}</td>
<td>{{state}}</td>
</tr>
{{/clients}}
</tbody>
</table>
{{^preset}}
<h3>{{lang_enterCommand}}</h3>
<div>
<label for="script-text">{{lang_scriptOrCommand}}</label>
<textarea id="script-text" class="form-control" name="script" rows="10"></textarea>
</div>
{{/preset}}
{{#preset}}
<input type="hidden" name="preset" value="{{id}}">
<h3>{{title}}</h3>
<div class="slx-space">{{lang_command}}: <i>{{command}}</i></div>
{{#args}}
<div class="row">
<div class="col-md-5">{{title}}</div>
<div class="col-md-7">{{{render}}}</div>
</div>
{{/args}}
{{/preset}}
<div class="text-right slx-space">
<button type="submit" class="btn btn-primary" name="action" value="exec">
<span class="glyphicon glyphicon-play"></span>
{{lang_remoteExec}}
</button>
</div>
</form>
|