Browse Source

Termin Seite

master
corbreedy 4 years ago
parent
commit
18fffe03eb
  1. 7
      hpst/static/css/sinnes-tau.css
  2. 7
      hpst/templates/termin.html
  3. 5
      hpst/templates/wildnispaedagogik.html

7
hpst/static/css/sinnes-tau.css

@ -31,3 +31,10 @@ body, html {
height: 350px; height: 350px;
border: 1; border: 1;
} }
.sttframe {
top: 10;
left: 10;
width: 100%;
height: 350px;
border: 1;
}

7
hpst/templates/termin.html

@ -19,9 +19,9 @@
<header class="w3-container st-br"> <header class="w3-container st-br">
<h1>{{termin.titel}}</h1><h4>{{termin.teaser}}</h4> <h1>{{termin.titel}}</h1><h4>{{termin.teaser}}</h4>
</header> </header>
<img src="{% static termin.bild %}" alt="Termin" width="100%">
<div class="w3-container w3-center w3-padding-16"> <div class="w3-container w3-center w3-padding-16">
<div class="w3-responsive"> <div class="w3-responsive">
<img src="{% static termin.bild %}" alt="Termin">
<table class="w3-table-all w3-large w3-striped w3-border"> <table class="w3-table-all w3-large w3-striped w3-border">
<tr> <tr>
<td colspan="2"><b>{{termin.text|safe}}</b></td> <td colspan="2"><b>{{termin.text|safe}}</b></td>
@ -43,7 +43,7 @@
<td>Hinterstöcken 26, 96317 Kronach</td> <td>Hinterstöcken 26, 96317 Kronach</td>
</tr> </tr>
<tr> <tr>
<td colspan="2" class="w3-center"><iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.openstreetmap.org/export/embed.html?bbox=11.35110855102539%2C50.21312179695905%2C11.372544765472414%2C50.22411945132669&amp;layer=mapnik&amp;marker=50.21862094105704%2C11.361826658248901" style="border: 1px solid black"></iframe><br/><small><a href="https://www.openstreetmap.org/?mlat=50.2186&amp;mlon=11.3618#map=16/50.2186/11.3618">Größere Karte anzeigen</a></small> </td> <td colspan="2" class="w3-center"><iframe class="sttframe" src="https://www.openstreetmap.org/export/embed.html?bbox=11.35110855102539%2C50.21312179695905%2C11.372544765472414%2C50.22411945132669&amp;layer=mapnik&amp;marker=50.21862094105704%2C11.361826658248901"></iframe><br/><small><a href="https://www.openstreetmap.org/?mlat=50.2186&amp;mlon=11.3618#map=16/50.2186/11.3618">Größere Karte anzeigen</a></small> </td>
</tr> </tr>
{% else %} {% else %}
<tr> <tr>
@ -63,19 +63,16 @@
</tr> </tr>
{% endif %} {% endif %}
{% if termin.freieplaetze > 3 %} {% if termin.freieplaetze > 3 %}
<tr>
<tr> <tr>
<th>Freie Plätze:</th> <th>Freie Plätze:</th>
<td class="w3-green">{{termin.freieplaetze}}</td> <td class="w3-green">{{termin.freieplaetze}}</td>
</tr> </tr>
{% elif termin.freieplaetze > 0 %} {% elif termin.freieplaetze > 0 %}
<tr>
<tr> <tr>
<th>Freie Plätze:</th> <th>Freie Plätze:</th>
<td class="w3-orange">{{termin.freieplaetze}}</td> <td class="w3-orange">{{termin.freieplaetze}}</td>
</tr> </tr>
{% elif termin.freieplaetze == 0 %} {% elif termin.freieplaetze == 0 %}
<tr>
<tr> <tr>
<th colspan="2" class="w3-orange">Keine Freie Plätze mehr!</th> <th colspan="2" class="w3-orange">Keine Freie Plätze mehr!</th>
</tr> </tr>

5
hpst/templates/wildnispaedagogik.html

@ -83,5 +83,10 @@ function showDivs(n) {
</div> </div>
<!-- Termine -->
{% if termine %}
{% include "termine_schnipp.html" %}
{% endif %}
{% endblock %} {% endblock %}

Loading…
Cancel
Save