mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Simplify the domain info view ?
This commit is contained in:
parent
2f8422a18e
commit
65e615133e
1 changed files with 6 additions and 19 deletions
|
@ -12,23 +12,6 @@
|
||||||
<span class="fa-fw fa-globe"></span> {{name}}
|
<span class="fa-fw fa-globe"></span> {{name}}
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
|
||||||
{{#if main}}
|
|
||||||
<p class="alert alert-success">
|
|
||||||
<span class="fa-star" title="{{t 'default'}}"></span> {{t 'domain_default_longdesc'}}
|
|
||||||
</p>
|
|
||||||
{{/if}}
|
|
||||||
<p><a href="{{url}}" target="_blank">{{url}}</a></p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="panel panel-default">
|
|
||||||
<div class="panel-heading">
|
|
||||||
<h2 class="panel-title">
|
|
||||||
<span class="fa-fw fa-wrench"></span> {{t 'operations'}}
|
|
||||||
</h2>
|
|
||||||
</div>
|
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p>{{t 'domain_visit_url' url}}</p>
|
<p>{{t 'domain_visit_url' url}}</p>
|
||||||
|
@ -36,15 +19,19 @@
|
||||||
<span class="fa-fw fa-external-link"></span> {{t 'domain_visit'}}
|
<span class="fa-fw fa-external-link"></span> {{t 'domain_visit'}}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{{#unless main}}
|
|
||||||
<hr>
|
<hr>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p>{{t 'domain_default_desc'}}</p>
|
<p>{{t 'domain_default_desc'}}</p>
|
||||||
|
{{#if main}}
|
||||||
|
<p class="alert alert-info">
|
||||||
|
<span class="fa-star" title="{{t 'default'}}"></span> {{t 'domain_default_longdesc'}}
|
||||||
|
</p>
|
||||||
|
{{else}}
|
||||||
<button class="btn btn-primary" data-action="set_default" data-domain="{{name}}">
|
<button class="btn btn-primary" data-action="set_default" data-domain="{{name}}">
|
||||||
<span class="fa-fw fa-star"></span> {{t 'set_default'}}
|
<span class="fa-fw fa-star"></span> {{t 'set_default'}}
|
||||||
</button>
|
</button>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/unless}}
|
|
||||||
<hr>
|
<hr>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p>{{t 'domain_dns_longdesc'}}</p>
|
<p>{{t 'domain_dns_longdesc'}}</p>
|
||||||
|
|
Loading…
Reference in a new issue