summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authoryo momma <shutup@oops.wtf>2026-01-28 17:09:45 +0000
committeryo momma <shutup@oops.wtf>2026-01-28 17:09:45 +0000
commita5edfe0ab3e0c9fa1aa1d0580b58ee5715f557b1 (patch)
treeec142076c6a986c1adfa30caf151ba3b7f8fa8ea /template
parentfc9a4ea22eb91757b95cbe1bf1708be17fc2337a (diff)
Comment out password fields in login templatesHEADmaster
Keep legacy password markup as HTML comments so it can be re-enabled easily without rewriting templates.
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/form_login.st12
-rwxr-xr-xtemplate/fullscreen.st5
-rwxr-xr-xtemplate/fullscreen4.st8
-rwxr-xr-xtemplate/fullscreen5.st30
-rwxr-xr-xtemplate/fullscreenphotobooth.st8
-rwxr-xr-xtemplate/mgmtfull.st8
6 files changed, 56 insertions, 15 deletions
diff --git a/template/form_login.st b/template/form_login.st
index c97dc28..95b6333 100755
--- a/template/form_login.st
+++ b/template/form_login.st
@@ -4,6 +4,13 @@
<form onsubmit="return false">
<br>
<input id="nickInput" name="nickInput" title="username" tabindex="4" type="text">
+ <p>
+ <!-- Password login disabled.
+ Uncomment to restore legacy password field.
+ <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"><br>
<input id="signin-submit" value="Sign in" tabindex="6">
<br><br>
@@ -12,6 +19,11 @@
Remember Me
</label>
<br> </p> </form>
+ <!--
+ <span id="pwreset">
+ <a href="/reset">Password Reset</a>
+ </span>
+ -->
</fieldset>
</div>
<script src="/static/js/home.js?v=20260126" type="text/javascript"></script>
diff --git a/template/fullscreen.st b/template/fullscreen.st
index 9e61957..0370176 100755
--- a/template/fullscreen.st
+++ b/template/fullscreen.st
@@ -172,11 +172,16 @@
type a username below to join (new usernames create an account instantly; no password required).
<form onsubmit="login(); return false;" class="log-in">
<p>username <input id="nickInput" tabindex="1"></p>
+ <!-- Password login disabled.
+ Uncomment to restore legacy password field.
+ <p>password <input id="passwordInput" type="password" tabindex="2"></p>
+ -->
<p>
remember me? <input id="remembermeInput" type="checkbox" checked="true" tabindex="2"> <input type="submit" value="LOGIN" tabindex="3"></p>
<img id="spinner" src="/static/img/spinner.gif">
</form>
<div id="errormsg"></div>
+ <!-- <div id="forgetpw"><a href="$domain$/reset">forgot password?</a></div> -->
</div>
</div>
<div id="registerbox" class="box">
diff --git a/template/fullscreen4.st b/template/fullscreen4.st
index 143f147..781faf7 100755
--- a/template/fullscreen4.st
+++ b/template/fullscreen4.st
@@ -114,7 +114,12 @@
<form onsubmit="login(); return false;">
<div align="left">username</div>
<div><input id="nickInput"></div>
- <div align="left" style="font-size: 80%; color: #666">no password required</div>
+ <br>
+ <!-- Password login disabled.
+ Uncomment to restore legacy password field.
+ <div align="left">password</div>
+ <div><input id="passwordInput" type="password"></div>
+ -->
<div align="right" style="font-size: 80%">remember me? <input id="remembermeInput" type="checkbox" checked="true"></div>
<br>
<div>
@@ -130,6 +135,7 @@
<center><i>join the party</i></center>
</div>
<div id="errormsg"></div>
+ <!-- <div id="forgetpw"><a href="$domain$/reset">forgot password?</a></div> -->
<div id="loginclose"><a href="#" onclick="jQuery('#loginbox').hide(); return false;">X</a></div>
</div>
</div>
diff --git a/template/fullscreen5.st b/template/fullscreen5.st
index c1b0ed4..1f47a5a 100755
--- a/template/fullscreen5.st
+++ b/template/fullscreen5.st
@@ -100,13 +100,18 @@
<div id="infocol">
<center>
<div id="formcontainer">
- <form onsubmit="login(); return false;">
- <div align="left">username</div>
- <div><input id="nickInput"></div>
- <div align="left" style="font-size: 80%; color: #666">no password required</div>
- <div align="right" style="font-size: 80%">remember me? <input id="remembermeInput" type="checkbox" checked="true"></div>
- <br>
- <div>
+ <form onsubmit="login(); return false;">
+ <div align="left">username</div>
+ <div><input id="nickInput"></div>
+ <br>
+ <!-- Password login disabled.
+ Uncomment to restore legacy password field.
+ <div align="left">password</div>
+ <div><input id="passwordInput" type="password"></div>
+ -->
+ <div align="right" style="font-size: 80%">remember me? <input id="remembermeInput" type="checkbox" checked="true"></div>
+ <br>
+ <div>
<center><input type="submit" value="LOGIN"></center>
<img id="spinner" src="/static/img/spinner.gif">
</div>
@@ -117,11 +122,12 @@
<div id="piccol">
<center><img id="loginimg" src="/static/img/danceman.gif"></center>
<center><i>join the party</i></center>
- </div>
- <div id="errormsg"></div>
- <div id="loginclose"><a href="#" onclick="jQuery('#loginbox').hide(); return false;">X</a></div>
- </div>
- </div>
+ </div>
+ <div id="errormsg"></div>
+ <!-- <div id="forgetpw"><a href="$domain$/reset">forgot password?</a></div> -->
+ <div id="loginclose"><a href="#" onclick="jQuery('#loginbox').hide(); return false;">X</a></div>
+ </div>
+ </div>
<div id="memelogo">
diff --git a/template/fullscreenphotobooth.st b/template/fullscreenphotobooth.st
index 0232e6b..3975553 100755
--- a/template/fullscreenphotobooth.st
+++ b/template/fullscreenphotobooth.st
@@ -102,7 +102,12 @@
<form onsubmit="login(); return false;">
<div align="left">username</div>
<div><input id="nickInput"></div>
- <div align="left" style="font-size: 80%; color: #666">no password required</div>
+ <br>
+ <!-- Password login disabled.
+ Uncomment to restore legacy password field.
+ <div align="left">password</div>
+ <div><input id="passwordInput" type="password"></div>
+ -->
<div align="right" style="font-size: 80%">remember me? <input id="remembermeInput" type="checkbox" checked="true"></div>
<br>
<div>
@@ -118,6 +123,7 @@
<center><i>join the party</i></center>
</div>
<div id="errormsg"></div>
+ <!-- <div id="forgetpw"><a href="$domain$/reset">forgot password?</a></div> -->
<div id="loginclose"><a href="#" onclick="jQuery('#loginbox').hide(); return false;">X</a></div>
</div>
</div>
diff --git a/template/mgmtfull.st b/template/mgmtfull.st
index 94d95b8..1efbce2 100755
--- a/template/mgmtfull.st
+++ b/template/mgmtfull.st
@@ -102,7 +102,12 @@
<form onsubmit="login(); return false;">
<div align="left">username</div>
<div><input id="nickInput"></div>
- <div align="left" style="font-size: 80%; color: #666">no password required</div>
+ <br>
+ <!-- Password login disabled.
+ Uncomment to restore legacy password field.
+ <div align="left">password</div>
+ <div><input id="passwordInput" type="password"></div>
+ -->
<div align="right" style="font-size: 80%">remember me? <input id="remembermeInput" type="checkbox" checked="true"></div>
<br>
<div>
@@ -118,6 +123,7 @@
<center><i>join the party</i></center>
</div>
<div id="errormsg"></div>
+ <!-- <div id="forgetpw"><a href="$domain$/reset">forgot password?</a></div> -->
<div id="loginclose"><a href="#" onclick="jQuery('#loginbox').hide(); return false;">X</a></div>
</div>
</div>