Last change
on this file since 2077 was
2077,
checked in by work@…, 11 years ago
|
- change login view behaviour when UseShibboleth? is set in request header
|
-
Property svn:keywords set to
Rev Author Date
|
File size:
1.6 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; |
---|
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> |
---|
62 | </head> |
---|
63 | |
---|
64 | <body> |
---|
65 | <div id='login'> |
---|
66 | <div class='inner' style="margin-top: 160px;"> |
---|
67 | |
---|
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 --> |
---|
70 | |
---|
71 | <g:if test='${flash.message}'> |
---|
72 | <div class='login_message'>${flash.message}</div> |
---|
73 | </g:if> |
---|
74 | <div class='fheader'>Please Login..</div> |
---|
75 | |
---|
76 | </div> |
---|
77 | </div> |
---|
78 | <g:if test="${!request.getHeaderNames().find{ it == 'UseShibboleth' }}"> |
---|
79 | <script type='text/javascript'> |
---|
80 | <!-- |
---|
81 | (function() { |
---|
82 | // Open login panel |
---|
83 | $("div#panel").slideDown("slow"); |
---|
84 | $("#toggle a").toggle(); |
---|
85 | |
---|
86 | })(); |
---|
87 | // --> |
---|
88 | </script> |
---|
89 | </g:if> |
---|
90 | </body> |
---|
91 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.