if 'django_cas' in INSTALLED_APPS:
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
- 'django_cas.backends.CASBackend',
+ 'fnpdjango.auth_backends.AttrCASBackend',
)
CAS_SERVER_URL = 'http://logowanie.nowoczesnapolska.org.pl/cas/'
-CAS_VERSION = '1'
+CAS_VERSION = '3'
SPONSORS_THUMB_WIDTH = 100
SPONSORS_THUMB_HEIGHT = 56
'catalogue/css/section_list.scss',
'curriculum/curriculum.scss',
'jquery/colorbox/colorbox.css',
+ 'fnpdjango/annoy/annoy.css',
'css/forum.scss',
'css/mil.scss'
'curriculum/curriculum.js',
'js/formset.js',
'pybb/js/pybbjs.js',
+ 'fnpdjango/annoy/annoy.js',
),
'output_filename': 'compressed/base.js',
},
+++ /dev/null
-#annoy-on {
- font-size: 13px;
- line-height: 1.15em;
-
- padding: .1em 1em;
- background: orange;
- z-index: 200;
- font-family: Arial, sans-serif;
- display: block;
- padding: 0 1em;
- width: 1em;
- text-align:center;
- border-radius: 0 0 0 1em;
- position: absolute;
- top: 0;
- right: 0;
- color: black;
- box-shadow: .5em 0 1em black;
-}
-
-#annoy {
- font-size: 13px;
- line-height: 1.15em;
- padding: 1em 5em 1em 0;
- display: none;
- background: orange;
- font-family: Arial, sans-serif;
- position: relative;
- z-index: 200;
- box-shadow: 0 0 1em black;
-}
-#annoy p {
- margin: 0 0 0 10em;;
-}
-#annoy a {
- color: #4E56C8;
-}
-
-#annoy a#annoy-off {
- padding: .5em 1em .5em;
- width: 1em;
- text-align:center;
- font-family: Arial, sans-serif;
- display: block;
-
- border-radius: 0 0 0 1em;
- position: absolute;
- top: 0;
- right: 0;
- color: black;
-}
-#annoy a#annoy-off:hover {
- cursor: pointer;
-}
@charset "UTF-8";
-@import url(http://fonts.googleapis.com/css?family=Dosis:400,700&subset=latin,latin-ext);
+@import url(//fonts.googleapis.com/css?family=Dosis:400,700&subset=latin,latin-ext);
a {
text-decoration: none;
color: #ed7831; }
list-style: none;
display: inline-block;
text-transform: uppercase;
- margin: 0 0.5em;
+ margin: 0 .5em;
text-align: center;
/*position:relative;*/ }
header.main nav a {
-@import url(http://fonts.googleapis.com/css?family=Dosis:400,700&subset=latin,latin-ext);
+@import url(//fonts.googleapis.com/css?family=Dosis:400,700&subset=latin,latin-ext);
@import "vars";
@import "mixins";
+++ /dev/null
-(function($) {
- $(function() {
-
-
-var have_localstorage;
-try {
- localStorage.setItem("test", "test");
- localStorage.removeItem("test");
- have_localstorage = true;
-} catch(e) {
- have_localstorage = false;
-}
-
-
-
-$("#annoy-on").click(function(e) {
- e.preventDefault();
- $("#annoy").slideDown('fast');
- $(this).hide();
- if (have_localstorage) localStorage.removeItem("annoyed2013");
-});
-
-$("#annoy-off").click(function() {
- $("#annoy").slideUp('fast');
- $("#annoy-on").show();
- if (have_localstorage) localStorage["annoyed2013"] = true;
-});
-
-
-if (have_localstorage) {
- if (!localStorage["annoyed2013"]) {
- $("#annoy-on").hide();
- $("#annoy").show();
- }
-}
-
-
-
- });
-})(jQuery);
<div class="footer-extra">{% block footer_extra %}{% endblock %}</div>
</footer>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
{% block extra_script %}{% endblock %}
{% tracking_code %}
</body>
jsonfield>=0.9,<0.10
django_cas>=2.1,<2.2
-fnpdjango>=0.1.16,<0.2
+fnpdjango>=0.1.18,<0.2
Feedparser