yunohost-admin/views/user_create.ms

63 lines
2.3 KiB
Text
Raw Normal View History

2013-09-23 22:44:32 +02:00
<div class="pull-left">
2013-09-24 19:02:12 +02:00
<a href="#/users" class="btn btn-default slide back"><span class="glyphicon glyphicon-chevron-left"></span> User list</a>
2013-09-23 22:44:32 +02:00
</div>
<div class="clearfix"></div>
<div class="view-title">New user</div>
<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">
2013-09-24 19:02:12 +02:00
<label for="username" class="col-sm-3 control-label">Username</label>
<div class="col-sm-9">
2013-09-23 22:44:32 +02:00
<input type="text" name="username" class="form-control" placeholder="johndoe" required>
</div>
</div>
<div class="form-group">
2013-09-24 19:02:12 +02:00
<label for="firstname" class="col-sm-3 control-label">Fullname</label>
2013-09-23 22:44:32 +02:00
<div class="col-sm-4">
<input type="text" name="firstname" class="form-control" placeholder="John" required>
</div>
2013-09-24 19:02:12 +02:00
<div class="col-sm-5">
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">
2013-09-24 19:02:12 +02:00
<label for="mail" class="col-sm-3 control-label">Mail</label>
<div class="col-sm-4">
2013-09-23 22:44:32 +02:00
<input type="text" name="email" class="form-control" placeholder="johndoe" required>
</div>
2013-09-24 19:02:12 +02:00
<div class="col-sm-5">
<select class="form-control" name="domain">
{{#Domains}}
<option>@{{.}}</option>
{{/Domains}}
</select>
2013-09-23 22:44:32 +02:00
</div>
</div>
<hr>
<div class="form-group">
2013-09-24 19:02:12 +02:00
<label for="password" class="col-sm-3 control-label">Password</label>
<div class="col-sm-9">
2013-09-23 22:44:32 +02:00
<input type="password" name="password" class="form-control" placeholder="•••••" required>
</div>
</div>
<div class="form-group">
2013-09-24 19:02:12 +02:00
<label for="confirmation" class="col-sm-3 control-label">Confirmation</label>
<div class="col-sm-9">
2013-09-23 22:44:32 +02:00
<input type="password" name="confirmation" class="form-control" placeholder="•••••" required>
</div>
</div>
</div>
</div>
<div class="text-center">
2013-09-24 19:02:12 +02:00
<input type="submit" class="btn btn-success slide back" value="Save">
2013-09-23 22:44:32 +02:00
</div>
</form>