Zaehler fuer Zeit bis zum Ende des Verfahrens eingefuegt

css-Formatierung vereinheitlicht
This commit is contained in:
lars 2012-08-21 16:05:20 +00:00
parent 66fa8322e7
commit 4084d22f08
2 changed files with 59 additions and 39 deletions

View file

@ -11,7 +11,7 @@ h1, h2, h3 {
h1 { h1 {
font-size: 220%; font-size: 220%;
margin-bottom: 0.5em; margin-bottom: 0.5em;
text-align:center; text-align: center;
} }
h2 { font-size: 130%; } h2 { font-size: 130%; }
@ -27,55 +27,66 @@ a:hover { text-decoration: none; }
a img { border: none; } a img { border: none; }
div#fullpage { div#fullpage {
margin-left:auto; margin-left: auto;
margin-right:auto; margin-right: auto;
} }
div#fullpage>div { div#fullpage>div {
margin-left:auto; margin-left: auto;
margin-right:auto; margin-right: auto;
} }
div.description { div.description {
text-align:center; text-align: center;
width: 70%; width: 70%;
border-width:2px; border-width: 2px;
background-color:lightgreen; background-color: lightgreen;
border-style:groove; border-style: groove;
padding:5px; padding: 5px;
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;
background-color:#FBB; background-color: #FBB;
border-style:groove; border-style: groove;
padding:5px; padding: 5px;
margin:0.5em 15% 1em 15%; margin: 0.5em 15% 1em 15%;
} }
div.start_evaluation { div.start_evaluation {
text-align:center; text-align: center;
} }
div.start_evaluation form input[type=submit] { div.start_evaluation form input[type=submit] {
margin-left:auto; margin-left: auto;
margin-right:auto; margin-right: auto;
} }
div#footer { div#footer {
margin-top: 2em; margin-top: 2em;
margin-bottom: 1em; margin-bottom: 1em;
margin-left:auto; margin-left: auto;
margin-right:auto; margin-right: auto;
display:table; display: table;
} }
div#footer>div { div#footer>div {
display:table-cell; display: table-cell;
padding-left:5%; padding-left: 5%;
padding-right:5%; padding-right: 5%;
} }
div#footer>div:first-child { div#footer>div:first-child {
@ -91,19 +102,19 @@ div#footer ul li {
} }
div#summary { div#summary {
margin-left:auto; margin-left: auto;
margin-right:auto; margin-right: auto;
max-width:768px; max-width: 768px;
width:80%; width: 80%;
} }
div#summary form div { text-align:center; } div#summary form div { text-align: center; }
div#summary form table td { text-align:left; } div#summary form table td { text-align: left; }
div#summary form table { width:100%; } div#summary form table { width: 100%; }
div#summary input[type=text] { width:100%; } div#summary input[type=text] { width: 100%; }
div#summary textarea { width:100%; } div#summary textarea { width: 100%; }
div#summary input[type=submit] { div#summary input[type=submit] {
text-align:center; text-align: center;
} }
table.options label { table.options label {
@ -128,12 +139,12 @@ table.options td.answer {
} }
ul.quality li { list-style-type: none; } ul.quality li { list-style-type: none; }
ul.quality li span.key { font-weight:bold; min-width:1.5em; display:inline-block; } ul.quality li span.key { font-weight: bold; min-width: 1.5em; display: inline-block; }
ul.quality li span.text { font-style:italic; } ul.quality li span.text { font-style: italic; }
table.options th { table.options th {
font-size: 150%; font-size: 150%;
font-weight:bold; font-weight: bold;
} }
table.options tr.option_image td { table.options tr.option_image td {
@ -152,6 +163,6 @@ table.options td.column5 { background-color: #ef2929; }
table.options td.column6 { background-color: #e9b96e; } table.options td.column6 { background-color: #e9b96e; }
input[type=submit], input[type=button] { input[type=submit], input[type=button] {
font-weight:bold; font-weight: bold;
} }

View file

@ -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&auml;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>