summaryrefslogtreecommitdiffstats
path: root/modules-available/systemstatus/templates/services.html
blob: 2614fca901b677c8c37db465ccdabdc12573cc24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<form method="post" action="?do=systemstatus">
	<input type="hidden" name="token" value="{{token}}">
	<input type="hidden" name="action" value="service-start">
	<table class="table">
{{#services}}
	<tr class="bg-{{#fail}}danger{{/fail}}{{^fail}}success{{/fail}}">
		<td>
		{{#fail}}
		<button class="btn btn-default btn-xs pull-right" name="service" value="{{service}}">
			{{lang_restart}}
		</button>
		{{/fail}}
		{{name}}: {{#fail}}{{lang_failure}}{{/fail}}{{^fail}}{{lang_OK}}{{/fail}}
		<div class="clearfix"></div>
		{{#error}}<pre>{{error}}</pre>{{/error}}
		</td>
	</tr>
{{/services}}
	</table>
</form>