summaryrefslogblamecommitdiffstats
path: root/modules-available/runmode/templates/module-machine-list.html
blob: 73ea8a703f34fd0b58bbf8e5b8162bf14b0c90a4 (plain) (tree)
1
2
3
4
5
6




                                                   
                                         






























                                                                                                                             
                                                    

                                                                                                                                                   



                                                                                               
                                                                                                                                         
                                                                                              

                                                      



                                     

                                                                   
<h2>
	{{lang_specialMachinesForMode}}:
	<a href="?do={{module}}">{{modulename}}</a>
</h2>

<form method="post" action="?do=runmode">
	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="action" value="delete-machine">
	<table class="table">
		<tr>
			<th>{{lang_machine}}</th>
			<th>{{lang_mode}}</th>
			<th class="slx-smallcol">{{lang_isclient}}</th>
			<th class="slx-smallcol">{{lang_delete}}</th>
		</tr>
		{{#list}}
			<tr>
				<td>
					<div class="slx-bold" title="{{clientip}}"><a
							href="?do=statistics&amp;uuid={{machineuuid}}">{{hostname}}</a></div>
					<div class="small">{{machineuuid}}</div>
				</td>
				<td>
					{{#mode_name}}
						<div>{{mode_name}}</div>
						<div class="small">{{modeid}}</div>
					{{/mode_name}}
					{{^mode_name}}
						<div>{{modeid}}</div>
					{{/mode_name}}
				</td>
				<td class="text-center">
					{{#isclient}}
						<span class="glyphicon glyphicon-check text-success"></span>
					{{/isclient}}
				</td>
				<td class="text-center">
					{{#canedit}}
					<button type="submit" class="btn btn-danger btn-sm" name="machineuuid" value="{{machineuuid}}" {{disabled}}
							data-confirm="#confirm-delete" data-title="{{hostname}}">
						<span class="glyphicon glyphicon-trash"></span>
					</button>
					{{/canedit}}
					{{#deleteUrl}}
					<a class="btn btn-default btn-sm {{disabled}}" href="?do={{module}}&amp;{{deleteUrl}}{{modeid}}">
						<span class="glyphicon glyphicon-edit"></span>
					</a>
					{{/deleteUrl}}
				</td>
			</tr>
		{{/list}}
	</table>
</form>
<div class="hidden" id="confirm-delete">{{lang_confirmDelete}}</div>