Commit 939a816e authored by Steven Wittens's avatar Steven Wittens
Browse files

Poll.module cleanup:

* Code cleaning: simpler structures, removed some old leftovers, ...
* Clean URLs everywhere (the old mechanism was broken anyway). Had to get rid of 'inline voting' (i.e. voting with the sideblock and ending up on the same page), but that was a bit confusing anyway.
* Simplified submission form with form_group and streamlined choice mechanism.
* Improved bar rendering in pollresults for themes with avatars, like xtemplate.
parent eadfa192
......@@ -212,18 +212,13 @@ li {
.poll .bar {
height: 1em;
margin: 1px 0;
.poll .bar .background {
background-color: #ddd;
float: left;
height: 1em;
margin-left: -1px;
.poll .bar .foreground {
background-color: #000;
float: left;
height: 1em;
margin-right: -1px;
clear: left;
float: left;
.poll .links {
text-align: center;
......@@ -242,6 +237,9 @@ li {
margin: 0 auto;
display: table;
.node-form .poll-form fieldset {
display: block;
.more-link {
text-align: right;
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment