100 lines
2.1 KiB
HTML
100 lines
2.1 KiB
HTML
{% load sekizai_tags staticfiles %}
|
|
|
|
|
|
|
|
{% comment %}
|
|
Displays a slider linking to
|
|
/events
|
|
/messages
|
|
/addressbook
|
|
Requires context "hasParticipationSetForAllEvents"
|
|
to diplay if a user has finished the event planning
|
|
{% endcomment %}
|
|
|
|
|
|
|
|
|
|
|
|
{% addtoblock "css" %}
|
|
|
|
<style>
|
|
|
|
.slide .info {
|
|
position: absolute;
|
|
top: 260px;
|
|
left: 8%;
|
|
width: 24%;
|
|
display: none;
|
|
z-index: 10;
|
|
}
|
|
.slide .info a {
|
|
text-transform: uppercase;
|
|
color: rgb(255, 255, 255);
|
|
background: none repeat scroll 0% 0% rgb(166, 3, 3);
|
|
font-size: 25px;
|
|
font-weight: bolder;
|
|
padding: 15px 24px;
|
|
border: 0px none;
|
|
border-radius: 6px 6px 6px 6px;
|
|
transition: background 0.2s linear 0s, box-shadow 0.2s linear 0s;
|
|
}
|
|
.slide .info .subtitle {
|
|
margin: 25px;
|
|
font-size: 20px;
|
|
font-style: italic;
|
|
}
|
|
.slide .info .subtitlebg
|
|
{
|
|
background: none repeat scroll 0% 0% rgb(243, 243, 243);
|
|
padding: 10px;
|
|
padding-top: 20px;
|
|
padding-bottom: 20px;
|
|
border-radius: 8px;
|
|
|
|
}
|
|
</style>
|
|
|
|
{% endaddtoblock %}
|
|
|
|
|
|
|
|
|
|
|
|
<section id="feature_slider" class="">
|
|
|
|
<article class="slide" id="slide_eventManagement"
|
|
style="background: url('{{STATIC_URL}}/img/slides/andi2.jpg') repeat-x top center;">
|
|
|
|
<div class="info">
|
|
<a href="/events">Einsatzplanung</a>
|
|
|
|
<div class="subtitle subtitlebg">
|
|
{% if hasParticipationSetForAllEvents %}
|
|
Sehr gut - du hast dich für alles eingetragen
|
|
{% else %}
|
|
Du hast dich noch nicht für alle Termine eingetragen!!
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
</article>
|
|
|
|
<article class="slide" id="slide_messages" style="background: url('{{STATIC_URL}}/img/backgrounds/silver.jpg') repeat-x top center;">
|
|
<img class="asset left-30 sp600 t120 z1" src="{{STATIC_URL}}/img/slides/gruppe.png" />
|
|
<div class="info">
|
|
<a href="/messages">Forum</a>
|
|
<div class="subtitle">Nachricht an alle schreiben...</div>
|
|
</div>
|
|
</article>
|
|
|
|
<article class="slide" id="adressbook"
|
|
style="background: url('{{STATIC_URL}}/img/slides/spielen2.jpg') repeat-x top center;">
|
|
<div class="info">
|
|
<a href="/musicians">Adressbuch</a>
|
|
<div class="subtitle subtitlebg">Geburtstage, Telefonnummern, ...</div>
|
|
</div>
|
|
</article>
|
|
|
|
</section>
|
|
|