yunohost-admin/views/service_info.ms

54 lines
1.7 KiB
Text
Raw Normal View History

2014-01-29 18:32:22 +01:00
<div class="pull-left">
<a href="#/services" class="btn btn-default slide back">
<span class="fa-chevron-left"></span> Services list
</a>
2014-01-29 18:32:22 +01:00
</div>
<div class="clearfix"></div>
<div class="view-title">{{service.name}}</div>
<div class="br"></div>
<div class="container">
<h2>Status</h2>
{{#service}}
<div class="pull-left">
2014-02-07 17:37:29 +01:00
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>
Status:
<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">
<span class="fa-square-o"></span> 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">
<span class="fa-check-square-o"></span> 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">
<span class="fa-stop"></span> 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">
<span class="fa-play"></span> 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">
<span class="fa-book"></span> Log
2014-01-29 18:32:22 +01:00
</a>
</div>
{{/service}}
</div>