Last change
on this file since 58 was
58,
checked in by gav, 15 years ago
|
Configure BootStrap? with latest concepts.
Install and setup Acegi plugin with custom views.
Test Fixture plugin in a test app but couldn't get it to work with Acegi encodePassword() so gave up.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[58] | 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 | </style> |
---|
| 41 | </head> |
---|
| 42 | |
---|
| 43 | <body> |
---|
| 44 | <div id='login'> |
---|
| 45 | <div class='inner'> |
---|
| 46 | <g:if test='${flash.message}'> |
---|
| 47 | <div class='login_message'>${flash.message}</div> |
---|
| 48 | </g:if> |
---|
| 49 | <div class='fheader'>Please Login..</div> |
---|
| 50 | <form action='${postUrl}' method='POST' id='loginForm' class='cssform'> |
---|
| 51 | <input type='submit' value='Login with your Facebook account' /> |
---|
| 52 | </form> |
---|
| 53 | </div> |
---|
| 54 | </div> |
---|
| 55 | <script type='text/javascript'> |
---|
| 56 | (function(){ |
---|
| 57 | document.forms['loginForm'].elements['j_username'].focus(); |
---|
| 58 | })(); |
---|
| 59 | </script> |
---|
| 60 | </body> |
---|
Note: See
TracBrowser
for help on using the repository browser.