Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed spacing between "login" and "password" #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions jquery.couchLogin.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*
// Copyright Chris Anderson 2011
// Apache 2.0 License
// jquery.couchLogin.js
Expand All @@ -11,6 +12,7 @@
// alert("bye bye");
// }
// });
*/

(function($) {
$.fn.couchLogin = function(opts) {
Expand Down Expand Up @@ -65,8 +67,8 @@
var templates = {
adminParty : '<p><strong>Admin party, everyone is admin!</strong> Fix this in <a href="/_utils/index.html">Futon</a> before proceeding.</p>',
loggedOut : '<a href="#signup">Signup</a> or <a href="#login">Login</a>',
loginForm : '<form class="login"><label for="name">Name</label> <input type="text" name="name" value="" autocapitalize="off" autocorrect="off"><label for="password">Password</label> <input type="password" name="password" value=""><input type="submit" value="Login"><a href="#signup">or Signup</a></form>',
signupForm : '<form class="signup"><label for="name">Name</label> <input type="text" name="name" value="" autocapitalize="off" autocorrect="off"><label for="password">Password</label> <input type="password" name="password" value=""><input type="submit" value="Signup"><a href="#login">or Login</a></form>'
loginForm : '<form class="login"><label for="name">Name</label> <input type="text" name="name" value="" autocapitalize="off" autocorrect="off"> <label for="password">Password</label> <input type="password" name="password" value=""> <input type="submit" value="Login"> <a href="#signup">or Signup</a></form>',
signupForm : '<form class="signup"><label for="name">Name</label> <input type="text" name="name" value="" autocapitalize="off" autocorrect="off"> <label for="password">Password</label> <input type="password" name="password" value=""> <input type="submit" value="Signup"> <a href="#login">or Login</a></form>'
};
function loggedIn(r) {
var auth_db = encodeURIComponent(r.info.authentication_db)
Expand Down