Simplify the domain info view ?

This commit is contained in:
Alexandre Aubin 2019-10-17 20:19:56 +02:00
parent 2f8422a18e
commit 65e615133e

View file

@ -12,23 +12,6 @@
<span class="fa-fw fa-globe"></span> {{name}}
</h2>
</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="container">
<p>{{t 'domain_visit_url' url}}</p>
@ -36,15 +19,19 @@
<span class="fa-fw fa-external-link"></span> {{t 'domain_visit'}}
</a>
</div>
{{#unless main}}
<hr>
<div class="container">
<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}}">
<span class="fa-fw fa-star"></span> {{t 'set_default'}}
</button>
{{/if}}
</div>
{{/unless}}
<hr>
<div class="container">
<p>{{t 'domain_dns_longdesc'}}</p>