mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Remove the old legacy diagnosis thing
This commit is contained in:
parent
b84d948611
commit
3c9c3fc926
4 changed files with 0 additions and 51 deletions
|
@ -251,21 +251,6 @@
|
|||
});
|
||||
});
|
||||
|
||||
// Diagnosis
|
||||
app.get('#/tools/diagnosis(/:private)?', function (c) {
|
||||
// See http://sammyjs.org/docs/routes for splat documentation
|
||||
var private = (c.params.splat[0] == 'private');
|
||||
|
||||
var endurl = (private) ? '?private' : '';
|
||||
c.api('GET', '/diagnosis'+endurl, {}, function(diagnosis) {
|
||||
c.view('tools/tools_diagnosis', {
|
||||
'diagnosis' : JSON.stringify(diagnosis, undefined, 4),
|
||||
'raw' : diagnosis,
|
||||
'private' : private
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// Migrations
|
||||
app.get('#/tools/migrations', function (c) {
|
||||
c.api('GET', '/migrations?pending', {}, function(pending_migrations) {
|
||||
|
|
|
@ -91,9 +91,6 @@
|
|||
"details": "Details",
|
||||
"domain_dns_conf_is_just_a_recommendation": "This page shows you the *recommended* configuration. It does *not* configure the DNS for you. It is your responsability to configure your DNS zone in your DNS registrar according to this recommendation.",
|
||||
"diagnosis": "Diagnosis",
|
||||
"diagnosis_hide_private": "Show diagnostic information without private data",
|
||||
"diagnosis_view_private": "Show diagnostic information including private data",
|
||||
"diagnosis_with_private": "Diagnosis with private data",
|
||||
"disable": "Disable",
|
||||
"disabled": "Disabled",
|
||||
"dns": "DNS",
|
||||
|
@ -230,10 +227,6 @@
|
|||
"passwords_dont_match": "Passwords don't match",
|
||||
"passwords_too_short": "Password is too short",
|
||||
"path": "Path",
|
||||
"diagnosis": "Diagnosis",
|
||||
"diagnosis_with_private": "Diagnosis with private data",
|
||||
"diagnosis_view_private": "Show diagnosis with private data",
|
||||
"diagnosis_hide_private": "Show diagnosis without private data",
|
||||
"logs": "Logs",
|
||||
"logs_operation": "Operations made on system with YunoHost",
|
||||
"logs_history": "History of command run on system",
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
<div class="btn-breadcrumb">
|
||||
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
|
||||
<a href="#/tools">{{t 'tools'}}</a>
|
||||
<a href="#/tools/diagnosis">{{t 'diagnosis'}}</a>
|
||||
{{#private}}
|
||||
<a href="#/tools/diagnosis/private">{{t 'diagnosis_with_private'}}</a>
|
||||
{{/private}}
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h2 class="panel-title"><span class="fa-fw fa-stethoscope"></span> {{t 'diagnosis'}}</h2>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<pre id="diagnosis">{{ diagnosis }}</pre>
|
||||
{{#if private}}
|
||||
<a class="btn btn-primary" role="button" href="#/tools/diagnosis"><i class="fa-eye-slash"></i> {{t 'diagnosis_hide_private'}}</a>
|
||||
{{else}}
|
||||
<a class="btn btn-primary" role="button" href="#/tools/diagnosis/private"><i class="fa-eye"></i> {{t 'diagnosis_view_private'}}</a>
|
||||
{{/if}}
|
||||
<button data-paste-content="#diagnosis"><i class="fa-cloud-upload"></i> {{t 'upload'}}</button>
|
||||
</div>
|
||||
</div>
|
|
@ -6,10 +6,6 @@
|
|||
<div class="separator"></div>
|
||||
|
||||
<div class="list-group">
|
||||
<a href="#/tools/diagnosis" class="list-group-item slide clearfix">
|
||||
<span class="pull-right fa-chevron-right"></span>
|
||||
<h2 class="list-group-item-heading">{{t 'diagnosis'}}</h2>
|
||||
</a>
|
||||
<a href="#/tools/logs" class="list-group-item slide clearfix">
|
||||
<span class="pull-right fa-chevron-right"></span>
|
||||
<h2 class="list-group-item-heading">{{t 'logs'}}</h2>
|
||||
|
|
Loading…
Reference in a new issue