Last change
on this file since 58 was
58,
checked in by gav, 15 years ago
|
Configure BootStrap? with latest concepts.
Install and setup Acegi plugin with custom views.
Test Fixture plugin in a test app but couldn't get it to work with Acegi encodePassword() so gave up.
|
File size:
1.7 KB
|
Line | |
---|
1 | <head> |
---|
2 | <meta name="layout" content="main" /> |
---|
3 | <title>User Profile</title> |
---|
4 | </head> |
---|
5 | |
---|
6 | <body> |
---|
7 | <div class="nav"> |
---|
8 | <span class="menuButton"><a class='home' href="${createLinkTo(dir:'')}">Home</a></span> |
---|
9 | </div> |
---|
10 | |
---|
11 | <div class="body"> |
---|
12 | <h1>User Profile</h1> |
---|
13 | <g:if test="${flash.message}"> |
---|
14 | <div class="message">${flash.message}</div> |
---|
15 | </g:if> |
---|
16 | <div class="dialog"> |
---|
17 | <table> |
---|
18 | <tbody> |
---|
19 | |
---|
20 | <tr class="prop"> |
---|
21 | <td valign="top" class="name">Login Name:</td> |
---|
22 | <td valign="top" class="value">${person.username?.encodeAsHTML()}</td> |
---|
23 | </tr> |
---|
24 | |
---|
25 | <tr class="prop"> |
---|
26 | <td valign="top" class="name">Full Name:</td> |
---|
27 | <td valign="top" class="value">${person.userRealName?.encodeAsHTML()}</td> |
---|
28 | </tr> |
---|
29 | |
---|
30 | <tr class="prop"> |
---|
31 | <td valign="top" class="name">Enabled:</td> |
---|
32 | <td valign="top" class="value">${person.enabled}</td> |
---|
33 | </tr> |
---|
34 | |
---|
35 | <tr class="prop"> |
---|
36 | <td valign="top" class="name">Email:</td> |
---|
37 | <td valign="top" class="value">${person.email?.encodeAsHTML()}</td> |
---|
38 | </tr> |
---|
39 | |
---|
40 | <tr class="prop"> |
---|
41 | <td valign="top" class="name">Show Email:</td> |
---|
42 | <td valign="top" class="value">${person.emailShow}</td> |
---|
43 | </tr> |
---|
44 | |
---|
45 | <tr class="prop"> |
---|
46 | <td valign="top" class="name">Roles:</td> |
---|
47 | <td valign="top" class="value"> |
---|
48 | <ul> |
---|
49 | <g:each var='authority' in="${person.authorities}"> |
---|
50 | <li>${authority.authority}</li> |
---|
51 | </g:each> |
---|
52 | </ul> |
---|
53 | </td> |
---|
54 | </tr> |
---|
55 | |
---|
56 | </tbody> |
---|
57 | </table> |
---|
58 | </div> |
---|
59 | |
---|
60 | <div class="buttons"> |
---|
61 | <g:form> |
---|
62 | <input type="hidden" name="id" value="${person.id}" /> |
---|
63 | <span class="button"><g:actionSubmit class='edit' value="Edit" /></span> |
---|
64 | </g:form> |
---|
65 | </div> |
---|
66 | |
---|
67 | </div> |
---|
68 | </body> |
---|
Note: See
TracBrowser
for help on using the repository browser.