yunohost-admin/views/postinstall/postinstall_2.ms
2014-05-25 20:14:52 +00:00

81 lines
2.8 KiB
Text

<h2>{{t 'domain'}}</h2>
<p class="lead">
{{t 'postinstall_domain'}}
</p>
<br />
<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>
<div class="br"></div>
<div class="form-group">
<strong class="col-sm-3 control-label">{{t 'domain_name'}}</strong>
<div class="col-sm-9">
<div class="input-group">
<label for="domain" class="input-group-addon">
<span class="fa-fw fa-cloud"></span><span class="sr-only">{{t 'domain'}}</span>
</label>
<input type="text" id="domain" name="domain" class="form-control" placeholder="{{t 'myserver_org'}}">
</div>
</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">
{{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>
<div class="br"></div>
<div class="form-group">
<strong class="col-sm-3 control-label">{{t 'domain_name'}}</strong>
<div class="clearfix visible-xs"></div>
<div class="col-sm-4 col-xs-6">
<div class="input-group">
<label for="ddomain" class="input-group-addon">
<span class="fa-fw fa-cloud"></span><span class="sr-only">{{t 'domain'}}</span>
</label>
<input type="text" id="ddomain" name="ddomain" class="form-control" placeholder="{{t 'myserver'}}">
</div>
</div>
<div class="col-sm-5 col-xs-6">
<select class="form-control" name="ddomain-ext">
{{#ddomains}}
<option>{{.}}</option>
{{/ddomains}}
</select>
</div>
</div>
</div>
</div>
</div>
</div>
<br />
<div class="pull-left">
<a href="#/postinstall" class="btn btn-default btn-lg slide back">
<span class="fa-chevron-left"></span> {{t 'previous'}}
</a>
</div>
<div class="pull-right">
<a href="#/postinstall/password" class="btn btn-default btn-lg slide savedomain">
{{t 'next'}} <span class="fa-chevron-right"></span>
</a>
</div>