mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
66 lines
2.8 KiB
Text
66 lines
2.8 KiB
Text
<div class="btn-breadcrumb">
|
|
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
|
|
<a href="#/users" class="visible-xs">…</a>
|
|
<a href="#/users" class="hidden-xs">{{t 'users'}}</a>
|
|
<a href="#/users/create">{{t 'users_new'}}</a>
|
|
</div>
|
|
|
|
<div class="separator"></div>
|
|
|
|
<form action="#/users" method="POST" class="form-horizontal">
|
|
|
|
<div class="panel panel-default">
|
|
<div class="panel-body">
|
|
<div class="form-group">
|
|
<label for="username" class="col-sm-3 control-label">{{t 'user_username'}}</label>
|
|
<div class="col-sm-9">
|
|
<input type="text" id="username" name="username" class="form-control" placeholder="johndoe" required>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="firstname" class="col-sm-3 control-label">{{t 'user_fullname'}}</label>
|
|
<div class="clearfix visible-xs"></div>
|
|
<div class="col-sm-4 col-xs-6">
|
|
<input type="text" id="firstname" name="firstname" class="form-control" placeholder="John" required>
|
|
</div>
|
|
<div class="col-sm-5 col-xs-6">
|
|
<input type="text" name="lastname" class="form-control" placeholder="Doe" required>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="form-group">
|
|
<label for="mail" class="col-sm-3 control-label">{{t 'user_email'}}</label>
|
|
<div class="clearfix visible-xs"></div>
|
|
<div class="col-sm-4 col-xs-6">
|
|
<input type="text" id="email" name="email" class="form-control" placeholder="johndoe" required>
|
|
</div>
|
|
<div class="col-sm-5 col-xs-6">
|
|
<select class="form-control" name="domain">
|
|
{{#domains}}
|
|
<option>@{{.}}</option>
|
|
{{/domains}}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="form-group">
|
|
<label for="password" class="col-sm-3 control-label">{{t 'password'}}</label>
|
|
<div class="col-sm-9">
|
|
<input type="password" id="password" name="password" class="form-control" placeholder="•••••" required>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="confirmation" class="col-sm-3 control-label">{{t 'password_confirmation'}}</label>
|
|
<div class="col-sm-9">
|
|
<input type="password" id="confirmation" name="confirmation" class="form-control" placeholder="•••••" required>
|
|
<div class="help-block">{{t 'password_description'}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-center">
|
|
<input type="submit" class="btn btn-success slide back" value="{{t 'save'}}">
|
|
</div>
|
|
|
|
</form>
|