yunohost-admin/views/postinstall.ms

99 lines
3.5 KiB
Text
Raw Normal View History

2013-10-01 12:40:59 +02:00
<form action="#/postinstall" method="POST" class="form-horizontal">
<div class="well">
<p>A last step is necessary to fulfill the installation: You have to link your YunoHost instance to a domain name, and set a new administrator password.</p>
</div>
<h2>Domain</h2>
<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">
I already have a domain name...
</a>
</h4>
</div>
2014-02-11 13:26:35 +01:00
<div id="collapseOne" class="panel-collapse collapse in">
2013-10-01 12:40:59 +02:00
<div class="panel-body">
2014-01-06 02:10:52 +01:00
<small>... and I have <a href="http://doc.yunohost.org/#/dns">set my DNS correctly</a>.</small>
<div class="br"></div>
2013-10-01 12:40:59 +02:00
<div class="form-group">
<strong class="col-sm-3 control-label">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">Domain</span>
</label>
<input type="text" id="domain" name="domain" class="form-control" placeholder="myserver.org">
</div>
2013-10-01 12:40:59 +02:00
</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">
I don't have a domain name...
</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse">
<div class="panel-body">
<small>... and I want a dynamic DNS service.</small>
<div class="br"></div>
2013-10-01 12:40:59 +02:00
<div class="form-group">
<strong class="col-sm-3 control-label">Domain name</strong>
2013-10-01 12:40:59 +02:00
<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">Domain</span>
</label>
<input type="text" id="ddomain" name="ddomain" class="form-control" placeholder="myserver">
</div>
2013-10-01 12:40:59 +02:00
</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>
<div class="br"></div>
<h2>Password</h2>
<div class="panel panel-default">
<div class="panel-body">
<div class="form-group">
<label for="password" class="col-sm-3 control-label">New admin password</label>
<div class="col-sm-9">
<input type="password" id="password" name="password" class="form-control" placeholder="••••••">
</div>
2013-10-01 12:40:59 +02:00
</div>
<div class="form-group">
<label for="confirmation" class="col-sm-3 control-label">Confirmation</label>
<div class="col-sm-9">
<input type="password" id="confirmation" name="confirmation" class="form-control" placeholder="••••••">
</div>
2013-10-01 12:40:59 +02:00
</div>
</div>
</div>
2013-10-01 12:40:59 +02:00
<div class="text-center">
<input type="submit" class="btn btn-success" value="Go !">
</div>
</form>