Revision 7e5c8125
b/cloudcms/static/cloudcms/css/modules.css | ||
---|---|---|
55 | 55 |
.landing h2, .landing a:hover { color:#01A1AE;} |
56 | 56 |
.faq h2, .faq a:hover, .faq .current a { color:#EF4F54; border:0 none;} |
57 | 57 |
.content .question h2 { color:#4085A6 } |
58 |
.content .backlink { margin:1em 0; } |
|
58 | 59 |
.content .question .backlink a { border:0 none; color:#F89A1C } |
59 | 60 |
.content .question .backlink a:hover { text-decoration:underline; } |
60 | 61 |
.faq h3 { color:#4085a6; margin:0;} |
b/cloudcms/static/cloudcms/js/client-downloads.js | ||
---|---|---|
8 | 8 |
|
9 | 9 |
|
10 | 10 |
var current_os = BrowserDetect.OS; |
11 |
//var current_os = "linux"; |
|
12 | 11 |
var current_client = _.filter(this.clients, function(el){return el.os == current_os}); |
13 | 12 |
|
14 | 13 |
if (_.isEmpty(current_client)){ |
... | ... | |
19 | 18 |
} else { |
20 | 19 |
current_client = current_client[0]; |
21 | 20 |
} |
22 |
this.el.find("#os").html(current_client.os); |
|
21 |
this.el.find("#os").html('for '+current_client.os);
|
|
23 | 22 |
this.el.find(".btn_01").attr('href',current_client.link); |
24 | 23 |
|
25 | 24 |
var new_list = _.filter(this.clients, function(el){return el.os != current_os}); |
b/cloudcms/static/cloudcms/js/common.js | ||
---|---|---|
36 | 36 |
$(this).parents('.box-more').toggleClass('border'); |
37 | 37 |
}); |
38 | 38 |
|
39 |
|
|
40 |
var topMargin=parseInt($('.mainlogo').height())+parseInt($('.top-msg').css('marginBottom')); |
|
41 |
$('.mainlogo').css('marginTop','-'+topMargin+'px') |
|
39 |
var fixTopMessageHeight = function() { |
|
40 |
var topMargin = parseInt($('.mainlogo img').height())+parseInt($('.top-msg').css('marginBottom')); |
|
41 |
$('.mainlogo').css('marginTop','-'+topMargin+'px'); |
|
42 |
} |
|
43 |
|
|
44 |
if ($('.mainlogo img').length > 0) { |
|
45 |
$('.mainlogo img').bind('load', fixTopMessageHeight) |
|
46 |
} else { |
|
47 |
fixTopMessageHeight(); |
|
48 |
} |
|
42 | 49 |
|
43 | 50 |
$('.top-msg a.close').click(function(e) { |
44 | 51 |
$('.top-msg').animate({ |
... | ... | |
60 | 67 |
|
61 | 68 |
$('.top-msg .success').parents('.top-msg').css( |
62 | 69 |
{ |
63 |
backgroundColor: '#f3c',
|
|
70 |
backgroundColor: '#00A2B1',
|
|
64 | 71 |
color: '#fff' |
65 | 72 |
} |
66 | 73 |
) |
67 | 74 |
|
68 | 75 |
$('.top-msg .error').parents('.top-msg').css( |
69 | 76 |
{ |
70 |
backgroundColor: 'red',
|
|
77 |
backgroundColor: '#C43F73',
|
|
71 | 78 |
color: '#fff' |
72 | 79 |
} |
73 | 80 |
) |
... | ... | |
75 | 82 |
|
76 | 83 |
$('.top-msg .warning').parents('.top-msg').css( |
77 | 84 |
{ |
78 |
backgroundColor: '#90f', |
|
85 |
backgroundColor: '#F0A216', |
|
86 |
color: '#fff' |
|
87 |
} |
|
88 |
) |
|
89 |
|
|
90 |
$('.top-msg .info').parents('.top-msg').css( |
|
91 |
{ |
|
92 |
backgroundColor: '#75A23A', |
|
79 | 93 |
color: '#fff' |
80 | 94 |
} |
81 | 95 |
) |
b/cloudcmsfaq/templates/cloudcmsfaq/detail.html | ||
---|---|---|
13 | 13 |
{% endfor %} |
14 | 14 |
</div> |
15 | 15 |
<div class="bottom-content backlink"> |
16 |
<a href="{{ question.back_url }}">{% trans "< Back to FAQ's" %}</a>
|
|
16 |
<a href="{{ question.back_url }}">{% trans "< Back to FAQ" %}</a> |
|
17 | 17 |
</div> |
18 | 18 |
</div> |
19 | 19 |
{% endfragment %} |
Also available in: Unified diff