From: <%= quickform.select('election_method',
%w(ssd condorcet plurality approval borda) ) %> <%= quickform.date_select(:enddate, :start_year => Time.now.year) %> Visibility Do you want the results to be visible while the election is active?Visibility
+
Notification
Would you like to be e-mailed when this QuickVote concludes?
diff --git a/app/views/quickvote/create.rhtml b/app/views/quickvote/create.rhtml index 57df1ed..b1b6004 100644 --- a/app/views/quickvote/create.rhtml +++ b/app/views/quickvote/create.rhtml @@ -1,8 +1,35 @@ -required; 5-12 characters; only letters and numbers; no spaces
<%= text_field 'quickvote', 'name', :size => 15, :maxsize => 12 %>
- +required; one line summary on the first line
diff --git a/public/images/bg_quickvotes.png b/public/images/bg_quickvotes.png
index fd844ec..53e3c21 100644
Binary files a/public/images/bg_quickvotes.png and b/public/images/bg_quickvotes.png differ
diff --git a/public/images/bg_voters.png b/public/images/bg_voters.png
index 8901917..c7da281 100644
Binary files a/public/images/bg_voters.png and b/public/images/bg_voters.png differ
diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css
index ca71d76..185b48a 100644
--- a/public/stylesheets/main.css
+++ b/public/stylesheets/main.css
@@ -24,6 +24,13 @@ h3 {
margin: 0 0 1em 0 !important;
}
+.special {
+ background-color: #999999;
+ color: white;
+ text-align: center;
+ pading: 0 1em 0 1em;
+}
+
/* Left column. Includes logo, poll information, and graph. */
@@ -140,7 +147,59 @@ h5 {
overflow: hidden;
}
+#quickvote-title .header {
+ background-color: #74ce00;
+}
+
+#quickvote-title .subheader {
+ color: #74ce00;
+ background-color: #e5e5e5;
+}
+#controlroom-title .header {
+ background-color: #dc0d13;
+}
+
+#controlroom-title .subheader {
+ color: #dc0d13;
+ background-color: #e5e5e5;
+}
+
+#voters-title .header {
+ background-color: #005cd9;
+}
+
+#voters-title .subheader {
+ color: #005cd9;
+ background-color: #e5e5e5;
+}
+
+.header {
+ display: block;
+ font-family: "trebuchet ms",trebuchet,verdana,arial,sans-serif;
+ font-size:30px;
+ text-transform: uppercase;
+ text-align: center;
+ color: white;
+ background-color: #999999;
+ height: 32px;
+ float: left;
+ padding: 0px .75em 0px .75em;
+ margin-right: 10px;
+ margin-bottom: 14px;
+}
+
+.subheader {
+ display: block;
+ font-family: "trebuchet ms",trebuchet,verdana,arial,sans-serif;
+ font-size: 18px;
+ text-align: left;
+ color: #666666;
+ background-color: #CCCCCC;
+ height: 26px;
+ padding: 6px 1em 0px 20px;
+ margin-bottom: 14px;
+}
#main-box {
float: right;