Major integration of Courtland's design into the QuickVotes.
[selectricity-live] / app / views / quickvote / index.rhtml
index 1179b7cb894833f9f98d9f93da46958169d32428..a96fc41c609633882b514fb39db8d5067b31f936 100644 (file)
@@ -1,19 +1,12 @@
-<% %>
-
-<% if @voter.election.shortdesc %>
-  <h1><%=h @voter.election.shortdesc %></h1>
-<% else %>
-  <h1>QuickVote</h1>
-<% end %>
-
-<% if @voter.election.longdesc %>
-  <p><strong>Description:</strong></p>
-  <blockquote><%=h @voter.election.longdesc %></blockquote>
+<div id="page-title">
+       <span class="header">Quickvote</span>
+       <span class="subheader"><%=h @voter.election.description.capitalize %></span>
+</div>
 
-<h2>Vote</h2>
-<% end %>
+<div class="main-content">
 
 <% if @voter.voted? %>
+
   <p>You have already voted. You can:</p>
   
   <ul>
@@ -36,7 +29,7 @@ bottom</em>. When you are done, press confirm to record your vote.</p>
 </ol>
 </div>
 
-<div class="clearbox"></div>
+<div class="clear-div"></div>
 
 <%= button_to "Confirm Vote", quickaction_url( :action => 'confirm', :ident => @voter.election.name)  %>
 
@@ -45,3 +38,4 @@ bottom</em>. When you are done, press confirm to record your vote.</p>
     :complete => visual_effect(:highlight, 'rankings-list') %> 
 
 <% end %>
+</div> <!-- end main-content -->

Benjamin Mako Hill || Want to submit a patch?