Changeset 193 for trunk/grails-app/views
- Timestamp:
- Nov 20, 2009, 2:46:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/login/auth.gsp
r142 r193 4 4 <style type='text/css' media='screen'> 5 5 #login { 6 7 6 margin:15px 0px; padding:0px; 7 text-align:center; 8 8 } 9 9 #login .inner { 10 11 12 13 10 width:260px; 11 margin:0px auto; 12 text-align:left; 13 padding:10px; 14 14 /* border-top:1px dashed #499ede; 15 15 border-bottom:1px dashed #499ede;*/ 16 16 /* background-color:#EEF;*/ 17 17 } 18 18 #login .inner .fheader { 19 19 padding:4px;margin:3px 0px 3px 0;color:#2e3741;font-size:14px;font-weight:bold; 20 20 } 21 21 #login .inner .cssform p { 22 23 24 25 22 clear: left; 23 margin: 0; 24 padding: 5px 0 0 0; 25 padding-left: 105px; 26 26 /* border-top: 1px dashed gray;*/ 27 28 27 margin-bottom: 10px; 28 height: 1%; 29 29 } 30 30 #login .inner .cssform input[type='text'] { 31 31 width: 120px; 32 32 } 33 33 #login .inner .cssform input[type='submit']:link { … … 39 39 } 40 40 #login .inner .cssform label { 41 42 43 44 45 41 font-weight: bold; 42 float: left; 43 margin-left: -105px; 44 width: 100px; 45 padding: 5px 0 0 0; 46 46 } 47 47 #login .inner .login_message {color:red;} … … 52 52 53 53 <body> 54 54 <div id='login'> 55 55 <h1>Welcome to gnuMims please log in</h1> 56 56 The demo users are <b>user</b>, <b>manager</b> and <b>admin</b> all having the password: <b>pass</b> 57 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 58 <div class='inner'> 59 <g:if test='${flash.message}'> 60 <div class='login_message'>${flash.message}</div> 61 </g:if> 62 <div class='fheader'></div> 63 <form action='${postUrl}' method='POST' id='loginForm' class='cssform'> 64 <p> 65 <label for='j_username'>Login ID</label> 66 <input type='text' class='text_' name='j_username' id='j_username' value='manager' /> 67 </p> 68 <p> 69 <label for='j_password'>Password</label> 70 <input type='password' class='text_' name='j_password' id='j_password' value="pass"/> 71 </p> 72 72 73 74 75 76 77 78 73 <p> 74 <input type='submit' value='Login' /> 75 </p> 76 </form> 77 </div> 78 </div> 79 79 <script type='text/javascript'> 80 80 <!-- 81 81 (function(){ 82 82 document.forms['loginForm'].elements['j_username'].focus(); 83 83 })(); 84 84 // -->
Note: See TracChangeset
for help on using the changeset viewer.