<% fields_for 'quickvote', quickvote do |quickform| %>
-<h3><label for="quickvote_election_method">Election Method</label></h3>
+<p><label for="quickvote_election_method">Election Method</label></p>
<p><%= quickform.select('election_method',
%w(ssd condorcet plurality approval borda) ) %></p>
-<h3><label for="quickvote_enddate">End Time</label></h3>
+<p><label for="quickvote_enddate">End Time</label></p>
<p><%= quickform.date_select(:enddate, :start_year => Time.now.year) %></p>
-<h3>Visibility</h3>
+<p>Visibility</p>
<p>Do you want the results to be visible while the election is active?</p>
No <%= quickform.radio_button(:viewable, 0)%></p>
<% if session[:user] %>
-<h3>Notification</h3>
+<p>Notification</p>
<p>Would you like to be e-mailed when this QuickVote concludes?</p>
-<h2>Create QuickVote</h2>
+<div id="voters-title">
+ <span class="header">Title</span>
+ <span class="subheader">Subtitle</span>
+ <div style="clear:both;"></div>
+</div>
+
+<div id="controlroom-title">
+ <span class="header">Title</span>
+ <span class="subheader">Subtitle</span>
+ <div style="clear:both;"></div>
+</div>
+
+<div id="quickvote-title">
+ <span class="header">Quickvote</span>
+ <span class="subheader"></span>
+ <div style="clear:both;"></div>
+</div>
<%= error_messages_for 'quickvote' %>
-<h3><label for="quickvote_candidate_names">Choices</h3>
+<span class="header">Header</span>
+<span class="subheader">Subheader</span>
+<div style="clear:both;"></div>
+
+<span class="header">Header</span>
+<span class="subheader"></span>
+<div style="clear:both;"></div>
+
+<span class="header">Header</span>
+<div style="clear:both;"></div>
+
+<p><label for="quickvote_candidate_names">Choices</p>
<!-- the list of candidates -->
<div id="candidate_names">
<% form_tag(:action => 'create') do %>
<!--[form:election]-->
-<h3><label for="quickvote_name">One Word Description (for URL)</label></h3>
+<p><label for="quickvote_name">One Word Description (for URL)</label></p>
<p><em><font size="-1">required; 5-12 characters; only letters and numbers; no spaces</font></em></p>
<p><%= text_field 'quickvote', 'name', :size => 15, :maxsize => 12 %></p>
-<h3><label for="quickvote_description">Description</label></h3>
+<p><label for="quickvote_description">Description</label></p>
<p><font size="-1">required; one line summary on the first line</font></em><br/>
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. */
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;