summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/form_login.st31
-rwxr-xr-xtemplate/head.st3
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>