diff options
| author | timb <timb@mb.local> | 2010-01-22 07:13:41 -0800 |
|---|---|---|
| committer | timb <timb@mb.local> | 2010-01-22 07:13:41 -0800 |
| commit | a5541502fbb496fbbd83ccd2e8c14b7558a9ebb0 (patch) | |
| tree | 4db79825bf8e500e742c53affb643295ad525eed /template | |
| parent | a2f14ecd203074859015c3cca7cbde2c03edcd17 (diff) | |
can login from profile; plaintext pw filler; better form handling; huge cursor on sign in button
Diffstat (limited to 'template')
| -rw-r--r-- | template/form_login.st | 31 | ||||
| -rwxr-xr-x | template/head.st | 3 |
2 files changed, 8 insertions, 26 deletions
diff --git a/template/form_login.st b/template/form_login.st index aee9283..a028769 100644 --- a/template/form_login.st +++ b/template/form_login.st @@ -3,42 +3,25 @@ <fieldset id="signin_menu"> <form onsubmit="return false"> </p> -<img src="/static/signin.gif"> </p> </p><br> </p> - <input id="nickInput" name="nickInput" value="" title="username" tabindex="4" type="text"> + <input id="nickInput" name="nickInput" title="username" tabindex="4" type="text"> </p> <p> - <input id="passwordInput" name="passwordInput" value="" title="password" tabindex="5" type="password"> + <input id="passwordInputLabel" name="passwordInputLabel" tabindex="5" type="text" class="invisible"> + <input id="passwordInput" name="passwordInput" title="password" tabindex="5" type="password"> </p> <p class="remember"> - <input id="loginSubmit" value="Sign in" tabindex="6" type="submit"> + <img src="/static/signin.gif" id="signin-submit"> + + <!-- <input id="loginSubmit" value="Sign in" tabindex="6" type="submit"> --> </p> </form> </fieldset> </div> <script src="/static/js/home.js" type="text/javascript"></script> <script type="text/javascript"> - jQuery(document).ready(function() { - - initHome(); - - jQuery(".signin").click(function(e) { - e.preventDefault(); - jQuery("fieldset#signin_menu").toggle(); - jQuery(".signin").toggleClass("menu-open"); - }); - - jQuery("fieldset#signin_menu").mouseup(function() { - return false - }); - jQuery(document).mouseup(function(e) { - if(jQuery(e.target).parent("a.signin").length==0) { - jQuery(".signin").removeClass("menu-open"); - jQuery("fieldset#signin_menu").hide(); - } - }); -}); + initExpandableLoginForm() </script>
\ No newline at end of file diff --git a/template/head.st b/template/head.st index a9bb0f0..a873b7b 100755 --- a/template/head.st +++ b/template/head.st @@ -1,8 +1,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> -<!-- <script type="text/javascript" src="/static/jquery-1.3.2.min.js"></script> --> -<script type="text/javascript" src="/static/js/underscore-min.js"></script> +<!-- <script type="text/javascript" src="/static/js/underscore-min.js"></script> --> <script type="text/javascript" src="/static/js/sha1.js"></script> <script type="text/javascript" src="/static/js/pichat.js"></script> |
