SSOwat/portal/edit.html

64 lines
2.7 KiB
HTML
Raw Normal View History

<div class="wrapper user">
<ul class="ul-reset user-menu">
<li><a class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
</ul>
<div class="user-container col colNomarge">
2014-05-14 12:49:47 +02:00
<a class="user-img" href="info.html"></a>
<div class="user-info">
<h2><a href="info.html">{{{uid}}}<small>{{givenName}} {{sn}}</small></a></h2>
<span class="user-mail">{{mail}}</span>
2013-10-21 20:43:12 +02:00
</div>
</div>
</div>
<div class="wrapper edit">
<form class="form-edit" role="form" method="POST" action="edit.html">
<div class="form-section">
<div class="form-group">
<label for="uid" class="control-label">{{t_username}}</label>
<input id="uid" type="text" name="uid" class="form-control form-text" value="{{uid}}" disabled required>
</div>
<div class="form-group">
<label for="givenName" class="control-label">{{t_fullname}}</label>
<input type="text" id="givenName" name="givenName" class="form-control form-text" value="{{givenName}}" placeholder="{{t_firstname}}" required>
<input type="text" name="sn" class="form-control form-text" value="{{sn}}" placeholder="{{t_lastname}}" required>
</div>
2013-10-21 20:43:12 +02:00
</div>
<div class="form-section">
<div class="form-group" id="form-add-mail-alias">
<label for="mail" class="control-label">{{t_mail_addresses}}</label>
<a class="help-link" href="#">?</a>
<input type="email" name="mail" class="form-control form-text" value="{{mail}}" placeholder="{{t_new_mail}}" required>
{{#mailalias}}
<input type="email" name="mailalias[]" class="form-control form-text" value="{{.}}">
{{/mailalias}}
<input id="mail" type="email" name="mailalias[]" class="form-control mailalias-input form-text" placeholder="{{t_new_mail}}">
<a class="btn link-btn" id="add-mailalias">{{t_add_mail}}</a>
</div>
2014-05-14 12:49:47 +02:00
<div class="form-group" id="form-add-mail-drop">
<label for="mailforward" class="control-label">{{t_mail_forward}}</label>
<a class="help-link" href="#">?</a>
{{#maildrop}}
<input type="email" name="maildrop[]" class="form-control form-text" value="{{.}}">
{{/maildrop}}
<input id="mailforward" type="email" name="maildrop[]" class="form-control maildrop-input form-text" placeholder="{{t_new_forward}}">
<a class="btn link-btn" id="add-maildrop">{{t_add_forward}}</a>
</div>
</div>
2014-05-14 12:49:47 +02:00
<div class="btn-group">
<a href="info.html" class="btn large-btn">{{t_cancel}}</a>
<input type="submit" class="btn classic-btn large-btn" value="{{t_ok}}">
</div>
<div class="btn-group">
<a href="password.html" class="btn validate-btn large-btn">{{t_change_password}}</a>
</div>
</form>
</div>