mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] Use of accordion on application debug page.
This commit is contained in:
parent
f296b92587
commit
0bb8fe6e4d
1 changed files with 18 additions and 16 deletions
|
@ -5,24 +5,26 @@
|
|||
<a href="#/apps/{{name}}/debug">{{t 'debug'}}</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h1>Debug page for {{name}}</h1>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
|
||||
{{#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 class="panel panel-default">
|
||||
<div class="panel-heading" role="tab" id="heading-{{ @index }}">
|
||||
<h2 class="panel-title">
|
||||
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse-{{ @index }}" aria-expanded="true" aria-controls="collapse-{{ @index }}">
|
||||
<span class="fa-fw fa-info-circle"></span> {{t 'service_log' name }}
|
||||
</a>
|
||||
</h2>
|
||||
</div>
|
||||
<div id="collapse-{{ @index }}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading-{{ @index }}">
|
||||
<div class="panel-body">
|
||||
{{#logs}}
|
||||
<h3>{{file_name}}</h3>
|
||||
<pre class="service-log">{{file_content}}</pre>
|
||||
{{/logs}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{{#logs}}
|
||||
<h3>{{file_name}}</h3>
|
||||
<pre class="service-log">{{file_content}}
|
||||
</pre>
|
||||
{{/logs}}
|
||||
</div>
|
||||
</div>
|
||||
{{/services}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue