source: trunk/grails-app/views/login/auth.gsp @ 139

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

Install Navigation plugin, work on navigation and hopefully fixed a few more IE vs Firefox CSS issues.
New skin for class-diagram plugin.
Adjust security config to suite.
Replace home.gsp with start.gsp, remove options.gsp and acknowledgements.gsp as they are now on start.gsp tabs.
Create search pages for Tasks, Assets and Inventory.
Change suggested login to manager.
Change all date formats to format="EEE, dd-MMM-yyyy".

File size: 2.0 KB
Line 
1<head>
2<meta name='layout' content='main' />
3<title>Login</title>
4<style type='text/css' media='screen'>
5#login {
6        margin:15px 0px; padding:0px;
7        text-align:center;
8}
9#login .inner {
10        width:260px;
11        margin:0px auto;
12        text-align:left;
13        padding:10px;
14/*      border-top:1px dashed #499ede;
15        border-bottom:1px dashed #499ede;*/
16/*      background-color:#EEF;*/
17}
18#login .inner .fheader {
19        padding:4px;margin:3px 0px 3px 0;color:#2e3741;font-size:14px;font-weight:bold;
20}
21#login .inner .cssform p {
22        clear: left;
23        margin: 0;
24        padding: 5px 0 8px 0;
25        padding-left: 105px;
26/*      border-top: 1px dashed gray;*/
27        margin-bottom: 10px;
28        height: 1%;
29}
30#login .inner .cssform input[type='text'] {
31        width: 120px;
32}
33#login .inner .cssform input[type='submit']:link {
34}
35#login .inner .cssform input[type='submit']:visited {
36}
37#login .inner .cssform input[type='submit']:hover {
38    background:#bfdaff;
39}
40#login .inner .cssform label {
41        font-weight: bold;
42        float: left;
43        margin-left: -105px;
44        width: 100px;
45}
46#login .inner .login_message {color:red;}
47#login .inner .text_ {width:120px;}
48#login .inner .chk {height:12px;}
49</style>
50</head>
51
52<body>
53        <div id='login'>
54        <h1>Welcome to gnuMims please log in</h1>
55        The demo users are <b>user</b>, <b>manager</b> and  <b>admin</b> all having the password: <b>pass</b>
56
57                <div class='inner'>
58                        <g:if test='${flash.message}'>
59                        <div class='login_message'>${flash.message}</div>
60                        </g:if>
61                        <div class='fheader'></div>
62                        <form action='${postUrl}' method='POST' id='loginForm' class='cssform'>
63                                <p>
64                                        <label for='j_username'>Login ID</label>
65                                        <input type='text' class='text_' name='j_username' id='j_username' value='manager' />
66                                </p>
67                                <p>
68                                        <label for='j_password'>Password</label>
69                                        <input type='password' class='text_' name='j_password' id='j_password' value="pass"/>
70                                </p>
71
72                                <p>
73                                        <input type='submit' value='Login' />
74                                </p>
75                        </form>
76                </div>
77        </div>
78<script type='text/javascript'>
79<!--
80(function(){
81        document.forms['loginForm'].elements['j_username'].focus();
82})();
83// -->
84</script>
85</body>
Note: See TracBrowser for help on using the repository browser.