parent
4dfe4d14a1
commit
0758a9d217
5 changed files with 134 additions and 35 deletions
@ -1,6 +1,6 @@ |
|||||||
<form id="chat" onsubmit="sendmessage(this.elements['recv'].value, this.elements['msg'].value)"> |
<form id="chat" autocomplete="off" onsubmit="sendmessage(this.elements['recv'].value, this.elements['msg'].value)"> |
||||||
<label for="recv">receiver:</label> <input type="text" id="recv" oninput="checkpartner(this.value)" autofocus/> |
<input placeholder="receiver" autocomplete="off" type="text" id="recv" oninput="checkpartner(this.value)" /> |
||||||
<label for="msg">message:</label> <input type="text" id="msg"/> |
<input placeholder="message" autocomplete="off" type="text" id="msg"/> |
||||||
<input type="submit" id="send" disabled/> |
<input type="submit" id="send" disabled/> |
||||||
</form> |
</form> |
||||||
<table id="msgs"></table> |
<div id="msgs"></div> |
||||||
|
@ -1,10 +1,8 @@ |
|||||||
<h2>Create New User (Step 1 of 1)</h2> |
<h2>Register User (Step 1 of 1)</h2> |
||||||
<p>Welcome to Safechat. Yor are here for the first time, at least with this browser. We do not collect your private data. Please chose any username, either a pseudony or your real name, and chose a safe password.</p> |
|
||||||
<form id="register" onsubmit="createNewUser(this.elements['user'].value, this.elements['pwd'].value)"> |
<form id="register" onsubmit="createNewUser(this.elements['user'].value, this.elements['pwd'].value)"> |
||||||
<label for="user">User Name:</label><input type="text" id="user" oninput="checkuser(this.value)" autofocus/> |
<input placeholder="user name" type="text" id="user" oninput="checkuser(this.value)"/> |
||||||
<label for="pwd">Password:</label><input type="password" id="pwd" oninput="checkpwd(this.value, document.getElementById('pwd2').value)"/> |
<input placeholder="password" type="password" id="pwd" oninput="checkpwd(this.value, document.getElementById('pwd2').value)"/> |
||||||
<label for="pwd2">Repeat Password:</label><input type="password" id="pwd2" oninput="checkpwd(document.getElementById('pwd').value, this.value)"/> |
<input placeholder="repeat password" type="password" id="pwd2" oninput="checkpwd(document.getElementById('pwd').value, this.value)"/> |
||||||
<input id="createuser" type="submit" disabled/> |
<input id="createuser" type="submit" disabled/> |
||||||
</form> |
</form> |
||||||
<p>Please choose any user name and a safe password. Chose a user name so, that your friends can find you, for example your real name, email address or phone number.</p> |
<p>Please chose any username, e.g. a pseudonym, your e-mail, your phone number, your real name, and chose a safe password.</p> |
||||||
<p>Be careful: You won't be able to change the user name, nor the password later.</p> |
|
||||||
|
Loading…
Reference in new issue