yunohost-admin/views/domain/domain_add.ms

71 lines
2.4 KiB
Text
Raw Normal View History

2014-07-03 21:57:57 +02:00
<div class="btn-breadcrumb">
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
<a href="#/domains">{{t 'domains'}}</a>
<a href="#/domains/add">{{t 'domain_add'}}</a>
</div>
2014-07-03 21:57:57 +02:00
<div class="separator"></div>
<form action="#/domains/add" method="POST" class="form-horizontal">
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
{{t 'domain_add_panel_with_domain'}}
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse">
<div class="panel-body">
<small>{{t 'domain_add_dns_doc'}}</small>
<hr>
<div class="form-group">
<label for="domain" class="col-sm-3 control-label">{{t 'domain_name'}}</label>
2013-09-24 19:02:12 +02:00
<div class="col-sm-9">
<input type="text" id="domain" name="domain" class="form-control" placeholder="{{t 'myserver_org'}}">
</div>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
2014-05-17 00:38:47 +02:00
{{t 'domain_add_panel_without_domain'}}
</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse">
<div class="panel-body">
<small>{{t 'domain_add_dyndns_doc'}}</small>
<hr>
<div class="form-group">
<label for="ddomain" class="col-sm-3 control-label">{{t 'domain_name'}}</label>
2013-09-24 19:10:01 +02:00
<div class="clearfix visible-xs"></div>
<div class="col-sm-4 col-xs-6">
<input type="text" id="ddomain" name="ddomain" class="form-control" placeholder="{{t 'myserver'}}">
</div>
2013-09-24 19:10:01 +02:00
<div class="col-sm-5 col-xs-6">
<select class="form-control" name="ddomain-ext">
2014-05-17 00:38:47 +02:00
{{#ddomains}}
<option>{{.}}</option>
2014-05-17 00:38:47 +02:00
{{/ddomains}}
</select>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="br"></div>
<div class="text-center">
<input type="submit" class="btn btn-success slide back" value="{{t 'add'}}">
</div>
</form>