added first full working version of embeddable elections
author<mako@atdot.cc> <>
Tue, 19 Feb 2008 14:24:06 +0000 (09:24 -0500)
committer<mako@atdot.cc> <>
Tue, 19 Feb 2008 14:24:06 +0000 (09:24 -0500)
commitadfcf4dd7d989d0560e2a8f6a590dd10c5a49a08
tree69b1a3195b203f41d1e672d874c82c587fe349dc
parentb47d1fbe36d5aeb9b79d6bbaab035ca448a3c3ef
added first full working version of embeddable elections

- added several new fields to the database to support unauthenticated,
  embeddable, and early result visible full elections

- modified full election create to allow for proper options and to
  display the full election code

- added new layouts, views, css, and images for embeddable elections

- modified full elections to work with the new form of images in the
  last commit

- fixed several bugs related to vote recording and timestamp,s
36 files changed:
.bzrignore
app/controllers/election_controller.rb
app/controllers/voter_controller.rb
app/models/election.rb
app/models/picture.rb
app/models/token.rb
app/models/vote.rb
app/views/election/_candidate_box_info.rhtml [new file with mode: 0644]
app/views/election/_candidate_form.rhtml
app/views/election/_candidate_line.rhtml
app/views/election/_candidate_line_edit.rhtml
app/views/election/_overview_form.rhtml
app/views/election/_voters_form.rhtml
app/views/election/edit.rhtml [deleted file]
app/views/election/edit_general_information.rhtml [new file with mode: 0644]
app/views/election/edit_voters.rhtml
app/views/election/show.rhtml
app/views/embed/full_vote.rhtml [new file with mode: 0644]
app/views/embed/results.rhtml [new file with mode: 0644]
app/views/layouts/embed.rhtml [new file with mode: 0644]
app/views/voter/_results_sidebar.rhtml
app/views/voter/_vote.rhtml
app/views/voter/_vote_sidebar.rhtml
app/views/voter/full_vote.rhtml
app/views/voter/review.rhtml
config/routes.rb
db/migrate/002_add_embeddable_support.rb [new file with mode: 0644]
db/schema.rb
public/images/default_icon.png [new file with mode: 0644]
public/images/embed_basic_bg.png [new file with mode: 0644]
public/images/embed_header_icon.png [new file with mode: 0644]
public/images/embed_results_changevote.png [new file with mode: 0644]
public/images/embed_voting_bg.png [new file with mode: 0644]
public/images/embed_voting_submitvote.png [new file with mode: 0644]
public/stylesheets/embed.css [new file with mode: 0644]
public/stylesheets/main.css

Benjamin Mako Hill || Want to submit a patch?