started working on the table css
This commit is contained in:
parent
a72cd80cdb
commit
ee7950ce7a
5 changed files with 46 additions and 5 deletions
|
@ -60,9 +60,9 @@
|
||||||
<div id="page">
|
<div id="page">
|
||||||
<div id="page-bgtop">
|
<div id="page-bgtop">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<div class="post">
|
|
||||||
${select('*|text()')}
|
${select('*|text()')}
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- end #content -->
|
<!-- end #content -->
|
||||||
|
|
|
@ -14,7 +14,10 @@
|
||||||
id="svg8460"
|
id="svg8460"
|
||||||
version="1.1"
|
version="1.1"
|
||||||
inkscape:version="0.47 r22583"
|
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
|
<defs
|
||||||
id="defs8462">
|
id="defs8462">
|
||||||
<inkscape:perspective
|
<inkscape:perspective
|
||||||
|
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.3 KiB |
|
@ -66,7 +66,7 @@
|
||||||
showgrid="false"
|
showgrid="false"
|
||||||
inkscape:window-width="1276"
|
inkscape:window-width="1276"
|
||||||
inkscape:window-height="976"
|
inkscape:window-height="976"
|
||||||
inkscape:window-x="21"
|
inkscape:window-x="0"
|
||||||
inkscape:window-y="0"
|
inkscape:window-y="0"
|
||||||
inkscape:window-maximized="1" />
|
inkscape:window-maximized="1" />
|
||||||
<metadata
|
<metadata
|
||||||
|
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
@ -259,6 +259,42 @@ hr { display: none; }
|
||||||
width: 610px;
|
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 */
|
||||||
|
|
||||||
.post {
|
.post {
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<!-- previous submissions -->
|
<!-- previous submissions -->
|
||||||
<div class="poll_submissions" py:if="poll.get_settings()['show_all_submissions']">
|
|
||||||
|
<div class="poll_submissions" py:if="poll.get_settings()['show_all_submissions']">
|
||||||
<h2>Previous submissions</h2>
|
<h2>Previous submissions</h2>
|
||||||
<table py:if="poll.get_num_of_submissions() > 0">
|
<table py:if="poll.get_num_of_submissions() > 0">
|
||||||
<tr><th>Submitter</th><th>Content</th><th>Timestamp</th></tr>
|
<tr><th>Submitter</th><th>Content</th><th>Timestamp</th></tr>
|
||||||
|
@ -42,6 +43,7 @@
|
||||||
</table>
|
</table>
|
||||||
<span py:if="poll.get_submissions().count() == 0">No submissions posted</span>
|
<span py:if="poll.get_submissions().count() == 0">No submissions posted</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- statistics -->
|
<!-- statistics -->
|
||||||
<div class="poll_statistics" py:if="poll.get_settings()['show_all_submissions']">
|
<div class="poll_statistics" py:if="poll.get_settings()['show_all_submissions']">
|
||||||
<h2>Statistics</h2>
|
<h2>Statistics</h2>
|
||||||
|
|
Loading…
Reference in a new issue