Revision 4ef604a6
b/snf-cyclades-app/synnefo/ui/static/snf/css/main.css | ||
---|---|---|
20 | 20 |
background: url("../images/body-bg.png") repeat-x #FFFFFF; |
21 | 21 |
text-align:center; |
22 | 22 |
font-size: 16px; |
23 |
background-position: 0px 35px; |
|
23 | 24 |
} |
24 | 25 |
|
25 | 26 |
a, a:hover, a:active, a:focus, div:focus, span:focus, li:focus { |
... | ... | |
47 | 48 |
|
48 | 49 |
#header { |
49 | 50 |
height: 93px; |
50 |
background: url("../images/header-bg.png") repeat-x scroll 0 0 #FFFFFF;
|
|
51 |
background: url("../images/header-bg.png") repeat-x scroll 0 0 transparent;
|
|
51 | 52 |
margin: 0 auto; |
52 | 53 |
width: 700px; |
53 | 54 |
text-align: left; |
... | ... | |
2077 | 2078 |
cursor: pointer; |
2078 | 2079 |
overflow: hidden; |
2079 | 2080 |
padding-top: 5px; |
2080 |
margin-top: -5px;
|
|
2081 |
margin-top: -6px;
|
|
2081 | 2082 |
position: relative; |
2082 | 2083 |
} |
2083 | 2084 |
|
b/snf-cyclades-app/synnefo/ui/static/snf/js/auth.js | ||
---|---|---|
82 | 82 |
} |
83 | 83 |
|
84 | 84 |
snf.auth.AstakosClient.prototype.redirect_to_logout = function() { |
85 |
window.location = this.config.logout_url; |
|
85 |
Backbone.history.navigate(this.config.logout_url); |
|
86 |
window.location = this.config.logout_url + "?next="; |
|
86 | 87 |
} |
87 | 88 |
|
88 | 89 |
snf.auth.AstakosClient.prototype.redirect_to_login = function() { |
b/snf-cyclades-app/synnefo/ui/templates/home.html | ||
---|---|---|
76 | 76 |
|
77 | 77 |
<!-- the following views require refactor --> |
78 | 78 |
<script src="{{ SYNNEFO_JS_URL }}synnefo.js"></script> |
79 |
|
|
80 |
{{ CLOUDBAR_CODE }} |
|
79 | 81 |
|
80 | 82 |
<script> |
81 | 83 |
// empty object for console to avoid errors in browsers that don't support it |
... | ... | |
584 | 586 |
synnefo.auth_client = new synnefo.auth.AstakosClient({ |
585 | 587 |
login_url: synnefo.config.login_redirect, |
586 | 588 |
logout_url: synnefo.config.logout_redirect, |
587 |
cookie_name: synnefo.config.auth_cookie_name |
|
589 |
cookie_name: synnefo.config.auth_cookie_name, |
|
590 |
logout_callback: function(client) { |
|
591 |
Backbone.history.navigate(client.config.logout_url); |
|
592 |
window.location = client.config.logout_url; |
|
593 |
} |
|
588 | 594 |
}); |
589 | 595 |
|
590 | 596 |
// user config |
Also available in: Unified diff