X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/f7aee769411a893c1059c529a220c0d25c72974f..166ed711409f6200467a3aa879fb165f59fc8cec:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index bd30dfe..0d59849 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -3,22 +3,58 @@
+
+QuickVotes+ +QuickVotes are like polls: unstructured, non-anonymous and +without the complex features of Selectricity. They are the +quickest way to make a decision or to compare between voting +methods. + +<%= link_to "Create a QuickVote", :controller => 'quickvote', :action => 'create' %> + +Recent QuickVotes include: + +
Selectricity Anywhere+ +You can also access Selectricity entirely over email or via SMS/text +messages from your mobile phone using Selectricity anywhere. Email <%= +link_to "vote\@mako.cc", "mailto:vote@mako.cc" %> with help in +the body for more information or read the <%= link_to "documentation +online", "selectricity-anywhere.html"%>. + + |
+
++ + |
+
Voters-Please enter your password/token to log in and vote: +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. <%= form_tag :controller => 'voter', :action => 'index' %> <%= text_field :vote, :password %> <%= submit_tag "Log In" %> -<%= end_form_tag %> - |
-- |
-Vote Administrators-<%= render :controller => 'user', :action => 'login' %> -hi! +<%= link_to 'Lost or forgot your token?', :controller => 'voter', :action => 'forgot_password' %> +<% if session[:user] %> + <%= render_partial 'user_summary' %> +<% else %> +Vote Administrators+You must have an account to start a new vote or to administer an + existing vote. You can log in or create a new account below. + + <%= render_partial 'basic_login' %> +<% end %> |