yunohost-admin/views/user_edit.ms

42 lines
1.5 KiB
Text
Raw Normal View History

2013-09-23 22:43:27 +02:00
<div class="pull-left">
2013-09-24 19:02:12 +02:00
<a href="#/users/{{Username}}" class="btn btn-default slide back"><span class="glyphicon glyphicon-chevron-left"></span> Info</a>
2013-09-23 22:43:27 +02:00
</div>
<div class="clearfix"></div>
<div class="view-title">Edit {{Username}}</div>
<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">
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 00:40:14 +02:00
<input type="text" name="username" class="form-control" placeholder="{{Username}}" disabled>
</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 12:31:35 +02:00
<div class="col-sm-4">
<input type="text" name="firstname" class="form-control" placeholder="{{Firstname}}">
</div>
2013-09-24 19:02:12 +02:00
<div class="col-sm-5">
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">
2013-09-24 19:02:12 +02:00
<label for="mail" class="col-sm-3 control-label">Mail</label>
<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>
</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 00:40:14 +02:00
</div>
</form>