Last change
on this file since 130 was
127,
checked in by gav, 16 years ago
|
Logins now route through a welcome action to allow flash message and user environment setup. Session timeout now user configurable and defaults to 12 hours. Work on Planned Maintenance.
|
File size:
1.4 KB
|
Rev | Line | |
---|
[127] | 1 | <head> |
---|
| 2 | <meta name="layout" content="main" /> |
---|
| 3 | <title>Change Session Timeout</title> |
---|
| 4 | </head> |
---|
| 5 | |
---|
| 6 | <body onload="document.changeSessionTimeoutForm.sessionTimeout.focus();"> |
---|
| 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>Change Session Timeout</h1> |
---|
| 13 | <g:if test="${flash.message}"> |
---|
| 14 | <div class="message">${flash.message}</div> |
---|
| 15 | </g:if> |
---|
| 16 | <g:hasErrors bean="${personInstance}"> |
---|
| 17 | <div class="errors"> |
---|
| 18 | <g:renderErrors bean="${personInstance}" as="list" /> |
---|
| 19 | </div> |
---|
| 20 | </g:hasErrors> |
---|
| 21 | |
---|
| 22 | <g:form name="changeSessionTimeoutForm" id="changeSessionTimeout"> |
---|
| 23 | <div class="dialog"> |
---|
| 24 | <table> |
---|
| 25 | <tbody> |
---|
| 26 | |
---|
| 27 | <tr class="prop"> |
---|
| 28 | <td valign="top" class="name"> |
---|
| 29 | <label for="sessionTimeout">Session timeout:</label> |
---|
| 30 | </td> |
---|
| 31 | |
---|
| 32 | <td valign="top" class="value"> |
---|
| 33 | <input valign="top" class="duration ${hasErrors(bean:personInstance,field:'sessionTimeout','errors')}" |
---|
| 34 | type="text" id="sessionTimeout" name="sessionTimeout" value="${fieldValue(bean:personInstance,field:'sessionTimeout')}"/> |
---|
| 35 | seconds |
---|
| 36 | </tr> |
---|
| 37 | |
---|
| 38 | </tbody> |
---|
| 39 | </table> |
---|
| 40 | </div> |
---|
| 41 | |
---|
| 42 | <div class="buttons"> |
---|
| 43 | <span class="button"><g:actionSubmit class="save" value="Save" action="changeSessionTimeout"/></span> |
---|
| 44 | </div> |
---|
| 45 | </g:form> |
---|
| 46 | |
---|
| 47 | </div> |
---|
| 48 | |
---|
| 49 | </body> |
---|
Note: See
TracBrowser
for help on using the repository browser.