summaryrefslogtreecommitdiff
path: root/views/index.erb
diff options
context:
space:
mode:
Diffstat (limited to 'views/index.erb')
-rw-r--r--views/index.erb50
1 files changed, 0 insertions, 50 deletions
diff --git a/views/index.erb b/views/index.erb
deleted file mode 100644
index 48d9f71..0000000
--- a/views/index.erb
+++ /dev/null
@@ -1,50 +0,0 @@
-
-<div class="row-fluid">
- <div class="span4">
- <h2>1. Signup</h2>
- <p>
- First you signup just like normal. Your browser runs a bit of javascript and does not transfer your password but some validator based on it.
- </p>
- </div>
- <div class="span4">
- <h2>2. Login</h2>
- <p>
- Login using the same credentials. Again javascript is used to calculate a random number and a key based on it that the server then uses to validate your password.
- </p>
- </div>
- <div class="span4">
- <h2>3. Verify</h2>
- <p>
- The server logs will tell you your password was not transmitted in clear. Never the less the server can determine wether you were authorized.
- </p>
- </div>
-</div>
-<div class="row-fluid">
- <div class="span4">
- <% if @user.login %>
- <h4> You are signed up as <%= @user.login %>. </h4>
- <% end %>
- </div>
- <div class="span4">
- <% if @user.active %>
- <h4> You are logged in.</h4>
- <% end %>
- </div>
- <div class="span4">
- </div>
-</div>
-<div class="row-fluid">
- <div class="span4">
- <%= button_link(:signup, :primary => !@user.login) %>
- </div>
- <div class="span4">
- <%= button_link(:login, :primary => @user.login && !@user.active) %>
- </div>
- <div class="span4">
- <%= button_link(:verify, :primary => @user.active) %>
- </div>
-</div>
-
-
-
-