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 = [
("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)),
]
SPONSORSTEXTS = {
"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!",
}
PARTNERS = [
("Open Source Initiative", "/theme/images/partners/osi.png", "https://opensource.org"),
("Free Software Foundation Europe", "/theme/images/partners/fsfe.png", "https://fsfe.orf"),
]
......@@ -59,6 +59,10 @@ footer#sponsoren-footer {
padding-bottom: 20px;
}
footer#sponsoren-footer div#partners-box{
border-left: 1px solid var(--teckids-secondary-dark);
}
li.li-column, div.ul-columns li {
display: table-cell;
}
......@@ -113,11 +117,6 @@ h2, h3, h4 {
clear: both;
}
h3#sponsorheading {
text-align: center;
font-weight: bold;
}
#ldaplist-aktive img.media-object {
width: 150px;
}
......@@ -127,15 +126,14 @@ div.row video {
}
img.sponsorslogo {
width: 300px;
padding-left: 20px;
float: left;
max-width: 300px;
max-height: 130px;
padding-left: 20px;
float: left;
}
p#sponsortext {
padding-top: 10px;
padding-bottom: 10px;
text-align: center;
.sponsorheading {
margin-bottom: 1em;
}
time.icon {
......
static/images/partners/fsfe.png

15.2 KiB

static/images/partners/osi.png

32.2 KiB

......@@ -112,21 +112,20 @@
{% block template_content_footer %}{% endblock %}
<div class="container">
<div class="row">
<div class="col s12">
<h3 id='sponsorheading' class="black-text">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>
<div class="col s12 m6" id="sponsors-box">
<h3 class="black-text sponsorheading">Sponsoren</h3>
{% for alt, image, url, before in SPONSORS %}
{% if before >= TODAY %}
<a href="{{ url }}"><img src="{{ image }}" href="{{ url }}" alt="{{ alt }}" title="{{ alt }}" class="sponsorslogo" /></a>
{% endif %}
{% endfor %}
</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>
</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