yunohost-admin/views/user/user_create.ms

68 lines
2.7 KiB
Text
Raw Normal View History

2013-09-23 22:44:32 +02:00
<div class="pull-left">
<a href="#/users" class="btn btn-default slide back">
<span class="fa-chevron-left"></span> {{t 'users_list'}}
</a>
2013-09-23 22:44:32 +02:00
</div>
<div class="clearfix"></div>
<h1 class="view-title">{{t 'users_new'}}</h1>
2013-09-23 22:44:32 +02:00
<div class="br"></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>
2013-09-24 19:02:12 +02:00
<div class="col-sm-9">
<input type="text" id="username" name="username" class="form-control" placeholder="johndoe" required>
2013-09-23 22:44:32 +02:00
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">{{t 'user_fullname'}}</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="firstname" name="firstname" class="form-control" placeholder="John" required>
2013-09-23 22:44:32 +02:00
</div>
2013-09-24 19:10:01 +02:00
<div class="col-sm-5 col-xs-6">
2013-09-23 22:44:32 +02:00
<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>
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="email" name="email" class="form-control" placeholder="johndoe" required>
2013-09-23 22:44:32 +02:00
</div>
2013-09-24 19:10:01 +02:00
<div class="col-sm-5 col-xs-6">
<select class="form-control" name="domain">
2014-05-17 00:38:47 +02:00
{{#domains}}
<option>@{{.}}</option>
2014-05-17 00:38:47 +02:00
{{/domains}}
</select>
2013-09-23 22:44:32 +02:00
</div>
</div>
<hr>
<div class="form-group">
<label for="password" class="col-sm-3 control-label">{{t 'password'}}</label>
2013-09-24 19:02:12 +02:00
<div class="col-sm-9">
<input type="password" id="password" name="password" class="form-control" placeholder="•••••" required>
2013-09-23 22:44:32 +02:00
</div>
</div>
<div class="form-group">
<label for="confirmation" class="col-sm-3 control-label">{{t 'password_confirmation'}}</label>
2013-09-24 19:02:12 +02:00
<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>
2013-09-23 22:44:32 +02:00
</div>
</div>
</div>
</div>
<div class="text-center">
<input type="submit" class="btn btn-success slide back" value="{{t 'save'}}">
2013-09-23 22:44:32 +02:00
</div>
</form>