source: trunk/src/grails-app/views/person/login.gsp @ 50

Last change on this file since 50 was 50, checked in by gav, 15 years ago

Trying some different layouts in task edit/create.
Display entries in task show page.
Some more tuning of CSS.

  • Property svn:executable set to *
File size: 2.0 KB
Line 
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
10        <div class="body">
11            <h1>Welcome to gnuMims please log in</h1>
12            <g:if test="${flash.message}">
13                <div class="message">${flash.message}</div>
14            </g:if>
15            The demo users are "admin" and "user" both having password "pass"
16            <g:hasErrors bean="${person}">
17                <div class="errors">
18                    <g:renderErrors bean="${person}" as="list" />
19                </div>
20            </g:hasErrors>
21            <g:form controller="person" method="post" >
22                <div class="dialog">
23                <table>
24                    <tr class='prop'>
25                        <td valign='top' class='name'>
26                            <label for='userId'>User ID:</label>
27                        </td>
28                        <td valign='top' class='value '>
29                            <input type="text" maxlength='8'
30                                    name='userId'
31                                    value='${person?.userId}'>
32                            </input>
33                        </td>
34                    </tr>
35                    <tr class='prop'>
36                        <td valign='top' class='name'>
37                          <label for='password'>Password:</label>
38                        </td>
39                        <td valign='top' class='value '>
40                            <input type="password" maxlength='8'
41                                   name='password'
42                                   value='${person?.password}'>
43                           </input>
44                        </td>
45                   </tr>
46                </table>
47                </div>
48               <div class="buttons">
49               <span class="button">
50                  <g:actionSubmit value="Log in" />
51               </span>
52               </div>
53            </g:form>
54        </div>
55    </body>
56</html>
Note: See TracBrowser for help on using the repository browser.