]> projects.mako.cc - selectricity/blobdiff - app/views/site/index.rhtml
Major commit adding about information and more before site goes live.
[selectricity] / app / views / site / index.rhtml
diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml
deleted file mode 100644 (file)
index b005cb5..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<% %>
-
-<table width="auto" padding="5px">
-<tr>
-<td width="47%" valign="top">
-
-<h2>QuickVotes</h2>
-
-<p><em>QuickVotes</em> are unstructured votes, more like polls, without
-the voter verifiability, anonymity, and other more complex features of
-HyperChad. They are the quickest way to make a decision using a variety
-of preferential and non-preficial election methods, or to compare
-between methods.</p>
-
-<p><%= link_to "Create QuickVote.", :controller => 'quickvote', :action => 'create' %></p>
-
-<h2>Voters</h2>
-
-<p>If you have received an email with a token inviting you to vote in an
-ongoing election, you can log in to vote using your token here.</p>
-
-<%= form_tag :controller => 'voter', :action => 'index' %>
-<%= text_field :vote, :password %>
-<%= submit_tag "Log In" %>
-<%= end_form_tag %>
-
-<p><%= link_to 'Lost or forgot your token?', :controller => 'voter', :action => 'forgot_password' %></p>
-</td>
-
-<td width="6%"></td>
-
-<td width="47%" valign="top">
-
-<% if session[:user] %>
-  <%= render_partial 'user_summary' %> 
-<% else %>
-  <h2>Election Administrators</h2>
-  <p>You must have an account to start a new election or to administer an
-  existing vote. You can log in or create a new account below.</p>
-
-  <%= render_partial 'basic_login' %>
-<% end %>
-</td>
-</tr>
-</table>

Benjamin Mako Hill || Want to submit a patch?