mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] add template page for app debug page
This commit is contained in:
parent
40a29a6dad
commit
9ab1e1576c
1 changed files with 28 additions and 0 deletions
28
src/views/app/app_debug.ms
Normal file
28
src/views/app/app_debug.ms
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<div class="btn-breadcrumb">
|
||||||
|
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
|
||||||
|
<a href="#/apps">{{t 'applications'}}</a>
|
||||||
|
<a href="#/apps/{{name}}">{{label}}</a>
|
||||||
|
<a href="#/apps/{{name}}/debug">{{t 'debug'}}</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="separator"></div>
|
||||||
|
|
||||||
|
<h1>Debug page for {{name}}</h1>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
{{#services}}
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">
|
||||||
|
<h2 class="panel-title"><span class="fa-fw fa-info-circle"></span> Logs for the service {{name}}</h2>
|
||||||
|
</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
{{#logs}}
|
||||||
|
<h3>{{file_name}}</h3>
|
||||||
|
<pre class="service-log">{{file_content}}
|
||||||
|
</pre>
|
||||||
|
{{/logs}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{/services}}
|
Loading…
Reference in a new issue