Zaehler fuer Zeit bis zum Ende des Verfahrens eingefuegt
css-Formatierung vereinheitlicht
This commit is contained in:
parent
66fa8322e7
commit
4084d22f08
2 changed files with 59 additions and 39 deletions
|
@ -46,6 +46,17 @@ div.description {
|
||||||
margin: 0.5em 15% 1em 15%;
|
margin: 0.5em 15% 1em 15%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.timeout p {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.timeout em {
|
||||||
|
color: red;
|
||||||
|
font-size: 180%;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
div.error {
|
div.error {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
|
|
|
@ -26,6 +26,15 @@ Falls Sie Fragen oder Anregungen zu dieser Umsetzung haben sollten, dann senden
|
||||||
</p>
|
</p>
|
||||||
</div><!-- description -->
|
</div><!-- description -->
|
||||||
|
|
||||||
|
<div class="timeout">
|
||||||
|
<?python
|
||||||
|
import datetime
|
||||||
|
remaining = datetime.datetime(2012, 8, 25, 0, 0) - datetime.datetime.now()
|
||||||
|
remaining_text = "%d Tage, %d Stunden und %d Minuten" % (remaining.days, remaining.seconds / 3600, (remaining.seconds / 60) % 60)
|
||||||
|
?>
|
||||||
|
<p>Es verbleiben nur noch <em>${remaining_text}</em> bis zum Ende des städtischen Beteiligungsverfahrens!</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="start_evaluation">
|
<div class="start_evaluation">
|
||||||
<form action="${base_url}" method="POST">
|
<form action="${base_url}" method="POST">
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in a new issue