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