Last change
on this file since 40 was
40,
checked in by gav, 16 years ago
|
Added login page and adjusted Person domain/views/controller and BootStrap?.
Add beforeInterceptor() to all controllers.
Added BaseController?.
Added adminmenubar adjust layout and css to suite.
|
-
Property svn:executable set to
*
|
File size:
2.1 KB
|
Rev | Line | |
---|
[40] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <meta http-equiv="Content-Type" content="text/html; |
---|
| 4 | charset=UTF-8"/> |
---|
| 5 | <meta name="layout" content="main" /> |
---|
| 6 | <title>Log in</title> |
---|
| 7 | </head> |
---|
| 8 | <body> |
---|
| 9 | <div class="nav"> |
---|
| 10 | <span class="menuButton"> |
---|
| 11 | <!-- <a class="home" href="${createLinkTo(dir:'')}">Home</a> --> |
---|
| 12 | </span> |
---|
| 13 | </div> |
---|
| 14 | <div class="body"> |
---|
| 15 | <h1>Please log in</h1> |
---|
| 16 | <g:if test="${flash.message}"> |
---|
| 17 | <div class="message">${flash.message}</div> |
---|
| 18 | </g:if> |
---|
| 19 | <g:hasErrors bean="${person}"> |
---|
| 20 | <div class="errors"> |
---|
| 21 | <g:renderErrors bean="${person}" as="list" /> |
---|
| 22 | </div> |
---|
| 23 | </g:hasErrors> |
---|
| 24 | <g:form controller="person" method="post" > |
---|
| 25 | <div class="dialog"> |
---|
| 26 | <table> |
---|
| 27 | <tr class='prop'> |
---|
| 28 | <td valign='top' class='name'> |
---|
| 29 | <label for='userId'>User ID:</label> |
---|
| 30 | </td> |
---|
| 31 | <td valign='top' class='value '> |
---|
| 32 | <input type="text" maxlength='8' |
---|
| 33 | name='userId' |
---|
| 34 | value='${person?.userId}'> |
---|
| 35 | </input> |
---|
| 36 | </td> |
---|
| 37 | </tr> |
---|
| 38 | <tr class='prop'> |
---|
| 39 | <td valign='top' class='name'> |
---|
| 40 | <label for='password'>Password:</label> |
---|
| 41 | </td> |
---|
| 42 | <td valign='top' class='value '> |
---|
| 43 | <input type="password" maxlength='8' |
---|
| 44 | name='password' |
---|
| 45 | value='${person?.password}'> |
---|
| 46 | </input> |
---|
| 47 | </td> |
---|
| 48 | </tr> |
---|
| 49 | </table> |
---|
| 50 | </div> |
---|
| 51 | <div class="buttons"> |
---|
| 52 | <span class="button"> |
---|
| 53 | <g:actionSubmit value="Log in" /> |
---|
| 54 | </span> |
---|
| 55 | </div> |
---|
| 56 | </g:form> |
---|
| 57 | </div> |
---|
| 58 | </body> |
---|
| 59 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.