From: Date: Wed, 29 Aug 2007 13:05:03 +0000 (-0400) Subject: changed images on the front page and added new headings X-Git-Url: https://projects.mako.cc/source/selectricity/commitdiff_plain/cf61519ba2f371181958d4aeb7f5f19384453187 changed images on the front page and added new headings --- diff --git a/app/views/quickvote/_advanced.rhtml b/app/views/quickvote/_advanced.rhtml index 609e84a..d8228cf 100644 --- a/app/views/quickvote/_advanced.rhtml +++ b/app/views/quickvote/_advanced.rhtml @@ -1,14 +1,14 @@ <% fields_for 'quickvote', quickvote do |quickform| %> -

+

<%= quickform.select('election_method', %w(ssd condorcet plurality approval borda) ) %>

-

+

<%= quickform.date_select(:enddate, :start_year => Time.now.year) %>

-

Visibility

+

Visibility

Do you want the results to be visible while the election is active?

@@ -16,7 +16,7 @@ No <%= quickform.radio_button(:viewable, 0)%>

<% if session[:user] %> -

Notification

+

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 @@ -

Create QuickVote

+
+ Title + Subtitle +
+
+ +
+ Title + Subtitle +
+
+ +
+ Quickvote + +
+
<%= error_messages_for 'quickvote' %> -

+Header +Subheader +
+ +Header + +
+ +Header +
+ +

@@ -12,13 +39,13 @@ <% form_tag(:action => 'create') do %> -

+

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;