X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/c65b1e11059c5cf510b54c785d4a246215058f70..74373452650a5ef7eff91f8c479d23500ace3c0c:/app/views/site/index.rhtml?ds=inline diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index eb009b3..e0e34a2 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -1,25 +1,64 @@ -<% %> - - - -
- -

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:

- -
    -<% for quickvote in @quickvotes %> -
  • <%= link_to (quickvote.shortdesc || "Unnamed"), quickvote_url(:votename => quickvote.name) %>
  • -<% end %> -
+
+
+

Voters

+ +

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 below.

+ + <% form_tag(:controller => 'voter', :action => 'index') do %> +

<%= text_field :vote, :password %>

+

<%= submit_tag "Log In" %>

+ <% end %> + +

<%= link_to 'Lost or forgot your token?', :controller => 'voter', :action => 'forgot_password' %>

+ +

SMS Interface

+

For information on accessing Selectricity over email or via SMS/text messages from your mobile phone, email <%= link_to "vote\@mako.cc", "mailto:vote@mako.cc" %> with "help" in the body or read the <%= link_to "Selectricity Anywhere documentation", "selectricity-anywhere.html"%>.

+ +
+
+ +
+
+

Control Room

+ <% if session[:user] %> + <%= render :partial => 'user_summary' %> + <% else %> + +

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 %> + +
+
+ +
+
+ +

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') %>
  • +
  • <%= link_to( "My Recent QuickVotes", :controller => 'quickvote', :action => 'my_quickvotes')%>
  • +
+ +

Recently created QuickVotes include:

+
    + <% for quickvote in @quickvotes %> +
  • <%= link_to (h(quickvote.shortdesc) || "Unnamed"), quickvote_url(:ident => quickvote.name) %>
  • + <% end %> +
+ +
+
+ +