mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Remove app debug button, follow-up of corresponding PR on yunohost core
This commit is contained in:
parent
270d33babf
commit
73c57c71f2
4 changed files with 0 additions and 55 deletions
|
@ -222,13 +222,6 @@
|
|||
});
|
||||
});
|
||||
|
||||
// Get app debug page
|
||||
app.get('#/apps/:app/debug', function (c) {
|
||||
c.api('/apps/'+c.params['app']+'/debug', function(data) {
|
||||
c.view('app/app_debug', data);
|
||||
});
|
||||
});
|
||||
|
||||
// Get app actions list
|
||||
app.get('#/apps/:app/actions', function (c) {
|
||||
c.api('/apps/'+c.params['app']+'/actions', function(data) {
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
"api_not_responding": "The YunoHost API is not responding. Maybe 'yunohost-api' is down or got restarted?",
|
||||
"app_change_label": "Change Label",
|
||||
"app_change_url": "Change URL",
|
||||
"app_debug_no_logs": "Application's logs are not available",
|
||||
"app_debug_tab": "Display debug information",
|
||||
"app_info_access_desc": "Groups / users currently allowed to access this app:",
|
||||
"app_info_changelabel_desc": "Change app label in the portal.",
|
||||
"app_info_debug_desc": "Display debugging information for this application.",
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
<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>
|
||||
|
||||
{{#if services}}
|
||||
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
|
||||
{{#services}}
|
||||
<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 id="service-log-{{ @index }}" class="service-log">{{file_content}}</pre>
|
||||
<button data-paste-content="#service-log-{{ @index }}"><i class="fa-cloud-upload"></i> {{t 'upload'}}</button>
|
||||
{{/logs}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/services}}
|
||||
</div>
|
||||
|
||||
{{else}}
|
||||
<div class="alert alert-warning">
|
||||
<span class="fa-exclamation-triangle"></span>
|
||||
{{t 'app_debug_no_logs'}}
|
||||
</div>
|
||||
{{/if}}
|
|
@ -83,13 +83,6 @@
|
|||
<span class="fa-trash-o"></span> {{t 'uninstall'}}
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="container">
|
||||
<p>{{t 'app_info_debug_desc'}}</p>
|
||||
<a href="#/apps/{{settings.id}}/debug" role="button" class ="btn btn-warning slide">
|
||||
<span class="fa-bug"></span> {{t 'app_debug_tab'}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{load_tooltips}}
|
||||
|
|
Loading…
Add table
Reference in a new issue