Changeset 2077 for trunk/grails-app/views/login
- Timestamp:
- Oct 31, 2011, 3:46:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/login/auth.gsp
r1430 r2077 1 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 label { 34 font-weight: bold; 35 float: left; 36 margin-left: -105px; 37 width: 100px; 38 } 39 #login .inner .login_message {color:red;} 40 #login .inner .text_ {width:120px;} 41 #login .inner .chk {height:12px;} 42 </style> 2 <meta name='layout' content='main'/> 3 <title>Login</title> 4 <style type='text/css' media='screen'> 5 #login { 6 margin: 15px 0px; 7 padding: 0px; 8 text-align: center; 9 } 10 11 #login .inner { 12 width: 260px; 13 margin: 0px auto; 14 text-align: left; 15 padding: 10px; 16 border-top: 1px dashed #499ede; 17 border-bottom: 1px dashed #499ede; 18 background-color: #EEF; 19 } 20 21 #login .inner .fheader { 22 padding: 4px; 23 margin: 3px 0px 3px 0; 24 color: #2e3741; 25 font-size: 14px; 26 font-weight: bold; 27 } 28 29 #login .inner .cssform p { 30 clear: left; 31 margin: 0; 32 padding: 5px 0 8px 0; 33 padding-left: 105px; 34 border-top: 1px dashed gray; 35 margin-bottom: 10px; 36 height: 1%; 37 } 38 39 #login .inner .cssform input[type='text'] { 40 width: 120px; 41 } 42 43 #login .inner .cssform label { 44 font-weight: bold; 45 float: left; 46 margin-left: -105px; 47 width: 100px; 48 } 49 50 #login .inner .login_message { 51 color: red; 52 } 53 54 #login .inner .text_ { 55 width: 120px; 56 } 57 58 #login .inner .chk { 59 height: 12px; 60 } 61 </style> 43 62 </head> 44 63 45 64 <body> 46 47 65 <div id='login'> 66 <div class='inner' style="margin-top: 160px;"> 48 67 49 50 68 <!-- Logging in is handled in the login panel --> 69 <!-- That's why the login form is removed here, and the data is moved down --> 51 70 52 53 54 55 71 <g:if test='${flash.message}'> 72 <div class='login_message'>${flash.message}</div> 73 </g:if> 74 <div class='fheader'>Please Login..</div> 56 75 57 </div>58 76 </div> 77 </div> 78 <g:if test="${!request.getHeaderNames().find{ it == 'UseShibboleth' }}"> 59 79 <script type='text/javascript'> 60 <!--61 (function(){62 // Open login panel63 $("div#panel").slideDown("slow");64 $("#toggle a").toggle();80 <!-- 81 (function() { 82 // Open login panel 83 $("div#panel").slideDown("slow"); 84 $("#toggle a").toggle(); 65 85 66 })();67 // -->86 })(); 87 // --> 68 88 </script> 89 </g:if> 69 90 </body> 91 </html>
Note: See TracChangeset
for help on using the changeset viewer.