top: 0;
left: 0;
height: 100%;
- /* background-image: url(/static/test.jpg); set real background image */
background-size: 100% 100%;
border-top-left-radius: 15*$px 6.38%;
border-bottom-left-radius: 15*$px 6.38%;
'piwik.django',
# Disable, if not using CAS.
'django_cas',
+ 'sponsors',
'django.contrib.auth',
'django.contrib.contenttypes',
CAS_SERVER_URL = 'http://logowanie.nowoczesnapolska.org.pl/cas/'
CAS_VERSION = '1'
+
+SPONSORS_THUMB_WIDTH = 100
+SPONSORS_THUMB_HEIGHT = 56
'catalogue/js/jquery.cycle.all.js',
'catalogue/js/edumed.js',
'catalogue/js/carousel.js',
+ 'sponsors/js/sponsors.js',
),
'output_filename': 'compressed/base.js',
},
width: 13.75em; }
footer.main .footer-item p {
font-size: .75em; }
- footer.main .footer-item-half {
+ footer.main .sponsors-column {
float: left;
- margin-right: 1.25em;
+ margin-left: 1.25em;
width: 6.25em; }
- footer.main .footer-item-half p {
+ footer.main .sponsors-column p {
font-size: .75em; }
#search {
font-size: .75em;
}
}
- .footer-item-half {
+ .sponsors-column {
float: left;
- margin-right: 20 * $px;
+ margin-left: 20 * $px;
width: 100 * $px;
p {
font-size: .75em;
{% load i18n static %}
{% load fnp_common fnp_share fnp_lang macros %}
{% load compressed static %}
+{% load sponsor_tags %}
{% macro title %}{% block title %}{% endblock %}{% endmacro %}
{% macro site_name %}Edukacja medialna{% endmacro %}
Nr konta: 59 1030 0019 0109 8530 0040 5685<br/>
</p>
</div>
- <div class="footer-item">
+ <div class="footer-item" style="margin-right:0;">
<p>
Webdesign Ortografika<br/>
<br/>
– Na tych samych warunkach 3.0</a>.
</p>
</div>
- <div class="footer-item-half">
- <p>
- Patron honorowy:<br/>
- <br/>
- <img src="{% static 'img/logosy/mkidn.png' %}" alt="Ministerstwo Kultury i Dziedzictwa Narodowego" />
- </p>
- </div>
- <div class="footer-item-half" style="margin-right: 0">
- <p>
- Grantodawca:<br/>
- <br/>
- <img src="{% static 'img/logosy/nina.png' %}" alt="Narodowy Instytut Audiowizualny" />
- </p>
- </div>
+ {% sponsor_page "footer" %}
<div class="clr"></div>
</footer>
(r'^accounts/login/$', 'django_cas.views.login'),
(r'^accounts/logout/$', 'django_cas.views.logout'),
)
+
+
+if settings.DEBUG:
+ urlpatterns += patterns('',
+ url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
+ 'document_root': settings.MEDIA_ROOT,
+ }),
+ )
#git+git://github.com/Kronuz/pyScss.git@d8f4da23a3c87696a75b3830ed4ab49b75550a93#egg=pyScss
#TODO: pyScss support, for now just install sass
+django-jsonfield>=0.9,<0.10
+
django_cas>=2.1,<2.2
fnpdjango<0.2
# Librarian
lxml
+
+# sponsors
+pillow
+django-sponsors