yunohost-admin/views/user/user_edit.ms

59 lines
2.3 KiB
Text
Raw Normal View History

2013-09-23 22:43:27 +02:00
<div class="pull-left">
<a href="#/users/{{Username}}" class="btn btn-default slide back">
<span class="fa-chevron-left"></span> {{t 'info'}}
</a>
2013-09-23 22:43:27 +02:00
</div>
<div class="clearfix"></div>
<h1 class="view-title">{{t 'user_username_edit' Username}}</h1>
2013-09-23 22:43:27 +02:00
<div class="br"></div>
2013-09-23 12:31:35 +02:00
<form action="#/users/{{Username}}" method="PUT" class="form-horizontal">
2013-09-23 00:40:14 +02:00
<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">
2013-09-23 00:40:14 +02:00
<input type="text" name="username" class="form-control" placeholder="{{Username}}" disabled>
</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">
2013-09-23 12:31:35 +02:00
<input type="text" name="firstname" class="form-control" placeholder="{{Firstname}}">
</div>
2013-09-24 19:10:01 +02:00
<div class="col-sm-5 col-xs-6">
2013-09-23 12:31:35 +02:00
<input type="text" name="lastname" class="form-control" placeholder="{{Lastname}}">
2013-09-23 00:40:14 +02:00
</div>
</div>
<div class="form-group">
<label for="mail" class="col-sm-3 control-label">{{t 'user_email'}}</label>
2013-09-24 19:02:12 +02:00
<div class="col-sm-9">
2013-09-23 12:31:35 +02:00
<input type="email" name="mail" class="form-control" placeholder="{{Mail}}">
2013-09-23 00:40:14 +02:00
</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" name="password" class="form-control" placeholder="•••••">
</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" name="confirmation" class="form-control" placeholder="•••••">
<div class="help-block">{{t 'password_decription'}}</div>
</div>
</div>
2013-09-23 00:40:14 +02:00
</div>
</div>
<div class="text-center">
<input type="submit" class="btn btn-success slide back" value="{{t 'save'}}">
2013-09-23 00:40:14 +02:00
</div>
</form>