Skip to content
Snippets Groups Projects
Verified Commit a144e9ac authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add partner logos next to sponsor logos

parent 4631791a
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ SPONSORS = [ ...@@ -8,7 +8,7 @@ SPONSORS = [
("Python Software-Verband e.V.", "/theme/images/sponsors/pysv.png", "https://www.python-verband.org", date(2021, 7, 31)), ("Python Software-Verband e.V.", "/theme/images/sponsors/pysv.png", "https://www.python-verband.org", date(2021, 7, 31)),
("Proxmox Server Solutions GmbH", "/theme/images/sponsors/proxmox.png", "https://proxmox.com", date(2022, 4, 30)), ("Proxmox Server Solutions GmbH", "/theme/images/sponsors/proxmox.png", "https://proxmox.com", date(2022, 4, 30)),
] ]
PARTNERS = [
SPONSORSTEXTS = { ("Open Source Initiative", "/theme/images/partners/osi.png", "https://opensource.org"),
"de": "Wir bedanken uns bei unseren Sponsoren für die Unterstützung unserer Vereinsarbeit. Außerdem freuen wir uns immer über weitere Sponsoren, die ihr Engagement mit ihrem Logo hier bewerben möchten!", ("Free Software Foundation Europe", "/theme/images/partners/fsfe.png", "https://fsfe.orf"),
} ]
...@@ -59,6 +59,10 @@ footer#sponsoren-footer { ...@@ -59,6 +59,10 @@ footer#sponsoren-footer {
padding-bottom: 20px; padding-bottom: 20px;
} }
footer#sponsoren-footer div#partners-box{
border-left: 1px solid var(--teckids-secondary-dark);
}
li.li-column, div.ul-columns li { li.li-column, div.ul-columns li {
display: table-cell; display: table-cell;
} }
...@@ -113,11 +117,6 @@ h2, h3, h4 { ...@@ -113,11 +117,6 @@ h2, h3, h4 {
clear: both; clear: both;
} }
h3#sponsorheading {
text-align: center;
font-weight: bold;
}
#ldaplist-aktive img.media-object { #ldaplist-aktive img.media-object {
width: 150px; width: 150px;
} }
...@@ -127,15 +126,14 @@ div.row video { ...@@ -127,15 +126,14 @@ div.row video {
} }
img.sponsorslogo { img.sponsorslogo {
width: 300px; max-width: 300px;
padding-left: 20px; max-height: 130px;
float: left; padding-left: 20px;
float: left;
} }
p#sponsortext { .sponsorheading {
padding-top: 10px; margin-bottom: 1em;
padding-bottom: 10px;
text-align: center;
} }
time.icon { time.icon {
......
static/images/partners/fsfe.png

15.2 KiB

static/images/partners/osi.png

32.2 KiB

...@@ -112,21 +112,20 @@ ...@@ -112,21 +112,20 @@
{% block template_content_footer %}{% endblock %} {% block template_content_footer %}{% endblock %}
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col s12"> <div class="col s12 m6" id="sponsors-box">
<h3 id='sponsorheading' class="black-text">Sponsoren</h3> <h3 class="black-text sponsorheading">Sponsoren</h3>
<p id="sponsortext" class="black-text">
{% if article is defined %}
{{ SPONSORSTEXTS[article.lang|default(DEFAULT_LANG)] }}
{% elif page is defined %}
{{ SPONSORSTEXTS[DEFAULT_LANG] }}
{% endif %}
</p>
{% for alt, image, url, before in SPONSORS %} {% for alt, image, url, before in SPONSORS %}
{% if before >= TODAY %} {% if before >= TODAY %}
<a href="{{ url }}"><img src="{{ image }}" href="{{ url }}" alt="{{ alt }}" title="{{ alt }}" class="sponsorslogo" /></a> <a href="{{ url }}"><img src="{{ image }}" href="{{ url }}" alt="{{ alt }}" title="{{ alt }}" class="sponsorslogo" /></a>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
<div class="col s12 m6" id="partners-box">
<h3 class="black-text sponsorheading">Netzwerke und Partnerorganisationen</h3>
{% for alt, image, url in PARTNERS %}
<a href="{{ url }}"><img src="{{ image }}" href="{{ url }}" alt="{{ alt }}" title="{{ alt }}" class="sponsorslogo" /></a>
{% endfor %}
</div>
</div> </div>
</div> </div>
</footer> </footer>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment