1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
| <html>
<head>
<title>Info user</title>
<r:require modules="bootstrap, bootstrap-js"/>
<r:external uri="/js/bootstrap.js"/>
<r:external uri="/js/bootstrap.min.js"/>
<r:layoutResources />
</head>
<body>
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Profile</h3>
</div>
<div class="panel-body">
<g:uploadForm role="form" action="saveUser" >
<div class="col-xs-12 col-sm-6 col-md-8">
<div class="form-group">
<i class="glyphicon glyphicon-user"></i>
<label >login: </label>
<input type="text" class="form-control" value="${sec.username()}" name="username" readonly="readonly" />
</div>
<div class="form-group">
<i class="glyphicon glyphicon-user"></i>
<label >Nom & Prenom: </label>
<input type="text" class="form-control" value="${sec.loggedInUserInfo(field:'fullname')}" name="fullname" readonly="readonly"/>
</div>
<div class="form-group">
<i class="glyphicon glyphicon-envelope"></i>
<label >Mail:</label>
<input type="Mail" class="form-control" value="${sec.loggedInUserInfo(field:'email')}" name="mail" readonly="readonly" />
</div>
<div class="form-group">
<i class="glyphicon glyphicon-briefcase"></i>
<label >Equipe: </label>
<input type="text" class="form-control" value="${sec.loggedInUserInfo(field: 'member')}" name="equipe" readonly="readonly" />
</div>
<div class="form-group">
<i class="glyphicon glyphicon-phone"></i>
<label >Phone:</label>
<input type="text" class="form-control" value="${sec.loggedInUserInfo(field:'phone')}" name="phone" readonly="readonly" />
</div>
</div>
<div class="col-xs-6 col-md-4">
<img src="//placehold.it/150x150">
<br/>
<div class="form-group">
<label for="exampleInputFile">Télécharger votre image</label>
<fieldset class="form">
<input type="file" name="file" >
</fieldset>
</div>
</div>
<div class="col-xs-14 col-md-12">
<%-- <g:actionSubmit value="enregistrer" class="pull-right btn btn-primary btn-lg"/>--%>
<button type="submit" class="pull-right btn btn-primary"><i class="glyphicon glyphicon-floppy-disk"></i></button>
</div>
</g:uploadForm>
</div>
</div>
<r:layoutResources />
</body>
</html> |
Partager