2013-09-24 16:54:33 +02:00
|
|
|
<div class="pull-left">
|
2014-05-07 15:23:16 +02:00
|
|
|
<a href="#/" class="btn btn-default slide back">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-chevron-left"></span> {{t 'menu'}}
|
2014-05-07 15:23:16 +02:00
|
|
|
</a>
|
2013-09-24 16:54:33 +02:00
|
|
|
</div>
|
|
|
|
<div class="pull-right">
|
2014-05-07 15:23:16 +02:00
|
|
|
<a href="#/domains/add" class="btn btn-success slide">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-plus"></span> {{t 'domain_add'}}
|
2014-05-07 15:23:16 +02:00
|
|
|
</a>
|
2013-09-24 16:54:33 +02:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
2014-05-13 01:30:22 +02:00
|
|
|
<h1 class="view-title">{{t 'domains'}}</h1>
|
2013-09-24 16:54:33 +02:00
|
|
|
<div class="br"></div>
|
|
|
|
|
|
|
|
<div class="list-group">
|
2014-03-03 20:20:48 +01:00
|
|
|
{{#domains}}
|
2014-03-02 20:07:02 +01:00
|
|
|
<div class="list-group-item">
|
2014-03-03 20:20:48 +01:00
|
|
|
{{#if main}}
|
|
|
|
<span class="container text-success pull-right">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-star"></span> {{t 'default'}}
|
2014-03-03 20:20:48 +01:00
|
|
|
</span>
|
|
|
|
{{else}}
|
2014-04-01 13:55:26 +02:00
|
|
|
<a href="#/domains/{{url}}/delete" class="btn btn-danger slide back pull-right">
|
2014-05-13 01:30:22 +02:00
|
|
|
<span class="fa-trash-o"></span> {{t 'delete'}}
|
2014-03-02 20:07:02 +01:00
|
|
|
</a>
|
2014-03-03 20:20:48 +01:00
|
|
|
{{/if}}
|
|
|
|
<h2 class="list-group-item-heading">{{url}}</h2>
|
|
|
|
<a href="https://{{url}}" target="_blank">https://{{url}}</a>
|
2014-03-02 20:07:02 +01:00
|
|
|
</div>
|
2014-03-03 20:20:48 +01:00
|
|
|
{{/domains}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h2 class="panel-title">
|
2014-05-13 01:30:22 +02:00
|
|
|
{{t 'domain_default'}}
|
2014-03-03 20:20:48 +01:00
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2014-05-13 01:30:22 +02:00
|
|
|
<p>{{t 'domain_default_desc'}}</p>
|
2014-03-03 20:20:48 +01:00
|
|
|
<form method="POST" action="#/domains" class="row">
|
|
|
|
<div class="col-xs-9 col-sm-6">
|
|
|
|
<select name="domain" required class="form-control">
|
2014-05-13 01:30:22 +02:00
|
|
|
<option value="" default disabled selected>{{t 'domain_select'}}</option>
|
2014-03-03 20:20:48 +01:00
|
|
|
{{#domains}}{{#unless main}}<option value="{{url}}">{{url}}</option>{{/unless}}{{/domains}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-3 col-sm-6">
|
2014-05-13 01:30:22 +02:00
|
|
|
<input type="submit" class="btn btn-success slide back" value="{{t 'set_default'}}">
|
2014-03-03 20:20:48 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
2013-09-24 16:54:33 +02:00
|
|
|
</div>
|