index.html

This commit is contained in:
Wikinaut 2011-11-14 00:26:46 +01:00
parent e1052a6a5d
commit bfafed3ef2

View file

@ -1,6 +1,6 @@
<!doctype html> <!doctype html>
<html> <html>
<title>Etherpad</title> <title>Etherpad Lite</title>
<style> <style>
*{ margin:0;padding:0; } *{ margin:0;padding:0; }
body { body {
@ -70,7 +70,7 @@
font-size: 15px font-size: 15px
} }
input[type="text"] { input[type="text"] {
width: 443px; /* 243px */ width: 443px;
padding: 10px 47px 10px 10px; padding: 10px 47px 10px 10px;
background: #fff; background: #fff;
border: 1px solid #bbb; border: 1px solid #bbb;
@ -86,8 +86,16 @@
input[type="submit"]::-moz-focus-inner { border: 0 } input[type="submit"]::-moz-focus-inner { border: 0 }
@-moz-document url-prefix() { input[type="submit"] { padding: 7px } } @-moz-document url-prefix() { input[type="submit"] { padding: 7px } }
</style> </style>
<body onload="document.mainform.padname.focus();">
<link href="static/custom/index.css" rel="stylesheet"> <link href="static/custom/index.css" rel="stylesheet">
<script src="static/custom/index.js"></script> <script src="static/custom/index.js"></script>
<div id="container">
<div id="button" onclick="go2Random()">New Pad</div><br><div id="label">or create/open a Pad with the name</div>
<form action="#" name="mainform" onsubmit="go2Name();return false;">
<input type="text" name="padname" id="padname" autofocus>
<input type="submit" value="OK">
</form>
</div>
<script> <script>
function go2Name() function go2Name()
{ {
@ -116,13 +124,5 @@
//start the costum js //start the costum js
if(typeof costumStart == "function") costumStart(); if(typeof costumStart == "function") costumStart();
</script> </script>
<body onload= "document.mainform.padname.focus();" >
<div id="container">
<div id="button" onclick="go2Random()" title="open a new pad with a generated random name like 'B3GYd74mn2yBH6'">create new random pad</div><br><div id="label">open an existing pad or create a new pad with the name</div>
<form action="#" name="mainform" onsubmit="go2Name();return false;">
<input type="text" name="padname" id="padname" autofocus>
<input type="submit" value="OK">
</form>
</div>
</body> </body>
</html> </html>