2014-01-29 18:32:22 +01:00
|
|
|
<div class="pull-left">
|
2014-05-07 15:23:16 +02:00
|
|
|
<a href="#/services" class="btn btn-default slide back">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-chevron-left"></span> {{t 'services_list'}}
|
2014-05-07 15:23:16 +02:00
|
|
|
</a>
|
2014-01-29 18:32:22 +01:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
2014-05-07 16:24:17 +02:00
|
|
|
<h1 class="view-title">{{service.name}}</h1>
|
2014-07-02 23:18:46 +02:00
|
|
|
|
2014-01-29 18:32:22 +01:00
|
|
|
<div class="br"></div>
|
|
|
|
|
|
|
|
|
2014-07-02 23:18:46 +02:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h2 class="panel-title"><span class="fa-fw fa-info-circle"></span> {{t 'status'}}</h2>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<dl class="dl-horizontal">
|
2014-01-29 18:32:22 +01:00
|
|
|
{{#service}}
|
|
|
|
<div class="pull-left">
|
2014-05-13 01:30:22 +02:00
|
|
|
{{t 'service_start_on_boot'}}
|
2014-01-29 18:32:22 +01:00
|
|
|
<span class="text-{{#is_loaded}}success{{/is_loaded}}{{^is_loaded}}danger{{/is_loaded}}">
|
|
|
|
{{loaded}}
|
|
|
|
</span>
|
|
|
|
<br>
|
2014-05-13 01:30:22 +02:00
|
|
|
{{t 'service_status'}}
|
2014-01-29 18:32:22 +01:00
|
|
|
<span class="text-{{#is_running}}success{{/is_running}}{{^is_running}}danger{{/is_running}}">
|
|
|
|
{{status}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pull-right">
|
|
|
|
{{#is_loaded}}
|
2014-03-04 15:48:49 +01:00
|
|
|
<a href="#/services/{{name}}/disable" class="btn btn-danger">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-square-o"></span> {{t 'disable'}}
|
2014-01-29 18:32:22 +01:00
|
|
|
</a>
|
|
|
|
{{/is_loaded}}
|
|
|
|
{{^is_loaded}}
|
2014-03-04 15:48:49 +01:00
|
|
|
<a href="#/services/{{name}}/enable" class="btn btn-success">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-check-square-o"></span> {{t 'enable'}}
|
2014-01-29 18:32:22 +01:00
|
|
|
</a>
|
|
|
|
{{/is_loaded}}
|
|
|
|
|
|
|
|
{{#is_running}}
|
2014-03-04 15:48:49 +01:00
|
|
|
<a href="#/services/{{name}}/stop" class="btn btn-danger">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-stop"></span> {{t 'stop'}}
|
2014-01-29 18:32:22 +01:00
|
|
|
</a>
|
|
|
|
{{/is_running}}
|
|
|
|
{{^is_running}}
|
2014-03-04 15:48:49 +01:00
|
|
|
<a href="#/services/{{name}}/start" class="btn btn-success">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-play"></span> {{t 'start'}}
|
2014-01-29 18:32:22 +01:00
|
|
|
</a>
|
|
|
|
{{/is_running}}
|
2014-03-04 15:48:49 +01:00
|
|
|
<a href="#/services/{{name}}/log" class="btn btn-default slide">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-book"></span> {{t 'log'}}
|
2014-01-29 18:32:22 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{/service}}
|
2014-07-02 23:18:46 +02:00
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|