started working on the table css

This commit is contained in:
phear 2010-04-16 17:49:28 +00:00
parent a72cd80cdb
commit ee7950ce7a
5 changed files with 46 additions and 5 deletions

View file

@ -60,9 +60,9 @@
<div id="page">
<div id="page-bgtop">
<div id="content">
<div class="post">
${select('*|text()')}
</div>
</div>
<!-- end #content -->

View file

@ -14,7 +14,10 @@
id="svg8460"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="Neues Dokument 20">
sodipodi:docname="form-entry.svg"
inkscape:export-filename="/home/mtsrc/daten/projekte/firma/wortschlucker/templates/media/images/form-entry.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs8462">
<inkscape:perspective

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -66,7 +66,7 @@
showgrid="false"
inkscape:window-width="1276"
inkscape:window-height="976"
inkscape:window-x="21"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -259,6 +259,42 @@ hr { display: none; }
width: 610px;
}
#content table
{
margin-bottom: 1.5em;
}
#content table th
{
text-align: left;
font-weight: bold;
padding: 0.5em;
color: #444;
}
#content table td
{
padding: 0.5em;
}
#content table tr.rowA
{
background-color: #efefef;
color: inherit;
}
#content table tr.rowB
{
background-color: #fafafa;
color: inherit;
}
/* Poll stuff */
.poll_submissions {
border-bottom: 1px solid #E0E0E0;
margin-bottom: 10px;
}
/* Post */
.post {

View file

@ -30,6 +30,7 @@
</form>
</div>
<!-- previous submissions -->
<div class="poll_submissions" py:if="poll.get_settings()['show_all_submissions']">
<h2>Previous submissions</h2>
<table py:if="poll.get_num_of_submissions() > 0">
@ -42,6 +43,7 @@
</table>
<span py:if="poll.get_submissions().count() == 0">No submissions posted</span>
</div>
<!-- statistics -->
<div class="poll_statistics" py:if="poll.get_settings()['show_all_submissions']">
<h2>Statistics</h2>