sorry for that, correct pad.html
This commit is contained in:
parent
95fe749791
commit
89aac09c91
1 changed files with 333 additions and 147 deletions
480
static/pad.html
480
static/pad.html
|
@ -1,148 +1,334 @@
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<title>Etherpad Lite</title>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
<meta charset="utf-8">
|
||||||
<style>
|
<meta name="robots" content="noindex, nofollow">
|
||||||
*{ margin:0;padding:0; }
|
<title>Etherpad Lite</title>
|
||||||
body {
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||||||
background: rgba(0,0,0,.05);
|
<!-- CSS -->
|
||||||
color: #333;
|
<link href="../static/css/pad.css" rel="stylesheet">
|
||||||
font: 14px helvetica,sans-serif;
|
<!-- javascript -->
|
||||||
background: #ccc;
|
<script type="text/javascript">
|
||||||
background: -webkit-radial-gradient(circle,#aaa,#eee 60%) center fixed;
|
// <![CDATA[
|
||||||
background: -moz-radial-gradient(circle,#aaa,#eee 60%) center fixed;
|
var clientVars = {}; // ]]>
|
||||||
background: -ms-radial-gradient(circle,#aaa,#eee 60%) center fixed;
|
</script>
|
||||||
background: -o-radial-gradient(circle,#aaa,#eee 60%) center fixed;
|
<script src="../socket.io/socket.io.js"></script>
|
||||||
overflow-x: hidden;
|
<script src="../minified/pad.js"></script>
|
||||||
border-top: 8px solid rgba(51,51,51,.8);
|
<link href="../static/custom/pad.css" rel="stylesheet">
|
||||||
}
|
<script src="../static/custom/pad.js"></script>
|
||||||
#container {
|
<style type="text/css" title="dynamicsyntax"></style>
|
||||||
text-shadow: 0 1px 1px #fff;
|
</head>
|
||||||
border-top: 1px solid #999;
|
|
||||||
margin-top: 160px;
|
<body>
|
||||||
text-align: center;
|
|
||||||
padding: 15px;
|
<div id="editbar">
|
||||||
background: #eee;
|
|
||||||
background: -webkit-linear-gradient(#fff,#ccc);
|
<ul id="menu_left">
|
||||||
background: -moz-linear-gradient(#fff,#ccc);
|
<li onClick="window.pad&&pad.editbarClick('bold');return false" >
|
||||||
background: -ms-linear-gradient(#fff,#ccc);
|
<a title="Bold (ctrl-B)">
|
||||||
background: -o-linear-gradient(#fff,#ccc);
|
<div class="buttonicon" style="background-position:0px -116px"></div>
|
||||||
opacity: .9;
|
</a>
|
||||||
box-shadow: 0px 1px 8px rgba(0,0,0,0.3);
|
</li>
|
||||||
}
|
<li onClick="window.pad&&pad.editbarClick('italic'); return false;" >
|
||||||
#button {
|
<a title="Italics (ctrl-I)">
|
||||||
margin: 0 auto;
|
<div class="buttonicon" style="background-position:0px 0px"></div>
|
||||||
border-radius: 3px;
|
</a>
|
||||||
text-align: center;
|
</li>
|
||||||
font: 36px verdana,arial,sans-serif;
|
<li onClick="window.pad&&pad.editbarClick('underline');return false;" >
|
||||||
color: white;
|
<a title="Underline (ctrl-U)">
|
||||||
text-shadow: 0 -1px 0 rgba(0,0,0,.8);
|
<div class="buttonicon" style="background-position:0px -236px;margin-top:1px;"></div>
|
||||||
height: 70px;
|
</a>
|
||||||
line-height: 70px;
|
</li>
|
||||||
width: 300px;
|
<li onClick="window.pad&&pad.editbarClick('strikethrough');return false;" >
|
||||||
background: #555;
|
<a title="Strikethrough">
|
||||||
background: -webkit-linear-gradient(#5F5F5F,#565656 50%,#4C4C4C 51%,#373737);
|
<div class="buttonicon" style="background-position:0px -200px"></div>
|
||||||
background: -moz-linear-gradient(#5F5F5F,#565656 50%,#4C4C4C 51%,#373737);
|
</a>
|
||||||
background: -ms-linear-gradient(#5F5F5F,#565656 50%,#4C4C4C 51%,#373737);
|
</li>
|
||||||
background: -o-linear-gradient(#5F5F5F,#565656 50%,#4C4C4C 51%,#373737);
|
<li class="separator"></li>
|
||||||
box-shadow: inset 0 1px 3px rgba(0,0,0,0.9);
|
<li onClick="window.pad&&pad.editbarClick('insertunorderedlist');return false;" >
|
||||||
}
|
<a title="Toggle Bullet List">
|
||||||
#button:hover {
|
<div class="buttonicon" style="background-position:0px -34px"></div>
|
||||||
cursor: pointer;
|
</a>
|
||||||
background: #666;
|
</li>
|
||||||
background: -webkit-linear-gradient(#707070,#666666 50%,#5B5B5B 51%,#474747);
|
<li onClick="window.pad&&pad.editbarClick('indent');return false;" >
|
||||||
background: -moz-linear-gradient(#707070,#666666 50%,#5B5B5B 51%,#474747);
|
<a title="Indent">
|
||||||
background: -ms-linear-gradient(#707070,#666666 50%,#5B5B5B 51%,#474747);
|
<div class="buttonicon" style="background-position:0px -52px"></div>
|
||||||
background: -o-linear-gradient(#707070,#666666 50%,#5B5B5B 51%,#474747);
|
</a>
|
||||||
}
|
</li>
|
||||||
#button:active {
|
<li onClick="window.pad&&pad.editbarClick('outdent');return false;" >
|
||||||
box-shadow: inset 0 1px 12px rgba(0,0,0,0.9);
|
<a title="Unindent">
|
||||||
background: #444;
|
<div class="buttonicon" style="background-position:0px -134px"></div>
|
||||||
}
|
</a>
|
||||||
#label {
|
</li>
|
||||||
text-align: left;
|
<li class="separator"></li>
|
||||||
margin: 0 auto;
|
<li onClick="window.pad&&pad.editbarClick('undo');return false;" >
|
||||||
width: 300px;
|
<a title="Undo (ctrl-Z)">
|
||||||
}
|
<div class="buttonicon" style="background-position:0px -255px"></div>
|
||||||
input {
|
</a>
|
||||||
vertical-align: middle;
|
</li>
|
||||||
font-weight: bold;
|
<li onClick="window.pad&&pad.editbarClick('redo');return false;" >
|
||||||
font-size: 15px;
|
<a title="Redo (ctrl-Y)">
|
||||||
}
|
<div class="buttonicon" style="background-position:0px -166px"></div>
|
||||||
input[type="text"] {
|
</a>
|
||||||
width: 243px;
|
</li>
|
||||||
padding: 10px 47px 10px 10px;
|
<li class="separator"></li>
|
||||||
background: #fff;
|
<li id="clearAuthorship" onClick="window.pad&&pad.editbarClick('clearauthorship');return false;" >
|
||||||
border: 1px solid #bbb;
|
<a title="Clear Authorship Colors">
|
||||||
outline: none;
|
<div class="buttonicon" style="background-position:0px -86px"></div>
|
||||||
border-radius: 3px;
|
</a>
|
||||||
text-shadow: 0 0 1px #fff;
|
</li>
|
||||||
}
|
</ul>
|
||||||
input[type="submit"] {
|
|
||||||
width: 45px;
|
<ul id="menu_right">
|
||||||
margin-left: -50px;
|
|
||||||
padding: 8px;
|
<li onClick="window.pad&&pad.editbarClick('import_export');return false;">
|
||||||
}
|
<a id="exportlink" title="Import/Export from/to different document formats">
|
||||||
input[type="submit"]::-moz-focus-inner { border: 0 }
|
<div class="buttonicon" style="background-position:0px -68px"></div>
|
||||||
@-moz-document url-prefix() { input[type="submit"] { padding: 7px } }
|
</a>
|
||||||
@media only screen and (min-device-width: 320px) and (max-device-width: 600px) {
|
</li>
|
||||||
body {
|
<li onClick="window.pad&&pad.editbarClick('embed');return false;" >
|
||||||
background: #bbb;
|
<a id="embedlink" title="Share and Embed this pad">
|
||||||
background: -webkit-linear-gradient(#aaa,#eee 60%) center fixed;
|
<div class="buttonicon" style="background-position:0px -18px"></div>
|
||||||
height: 100%;
|
</a>
|
||||||
}
|
</li>
|
||||||
#container {
|
<li class="separator"></li>
|
||||||
margin-top: 0;
|
<li id="timesliderlink" onClick="document.location = document.location.pathname+ '/timeslider'">
|
||||||
text-align: left;
|
<a title="Show the history of this pad">
|
||||||
}
|
<div class="buttonicon" style="background-position:0px -218px"></div>
|
||||||
#button, #label {
|
</a>
|
||||||
text-align: center;
|
</li>
|
||||||
width: 95%;
|
<li id="usericon" onClick="window.pad&&pad.editbarClick('showusers');return false;" >
|
||||||
}
|
<a title="Show connected users">
|
||||||
form {
|
<div class="buttonicon" id="usericonback" style="background-position:0px -184px;display:inline-block;"></div>
|
||||||
text-align: center;
|
<span id="online_count">1</span>
|
||||||
}
|
</a>
|
||||||
input[type=text] {
|
</li>
|
||||||
width: 75%;
|
</ul>
|
||||||
}
|
|
||||||
}
|
</div>
|
||||||
</style>
|
|
||||||
<link href="static/custom/index.css" rel="stylesheet">
|
<div id="users">
|
||||||
<script src="static/custom/index.js"></script>
|
<div id="connectionstatus">
|
||||||
<div id="container">
|
<!-- -->
|
||||||
<div id="button" onclick="go2Random()" class="translate">New Pad</div><br><div id="label" class="translate">or create/open a Pad with the name</div>
|
</div>
|
||||||
<form action="#" onsubmit="go2Name();return false;">
|
|
||||||
<input type="text" id="padname" autofocus>
|
<div id="myuser">
|
||||||
<input type="submit" value="OK">
|
|
||||||
</form>
|
<div id="mycolorpicker">
|
||||||
</div>
|
<div id="colorpicker"></div>
|
||||||
<script>
|
<!--
|
||||||
function go2Name()
|
<ul id="colorpickerswatches">
|
||||||
{
|
</ul>
|
||||||
var padname = document.getElementById("padname").value;
|
-->
|
||||||
padname.length > 0 ? window.location = "p/" + padname : alert("Please enter a name")
|
<span id="mycolorpickersave">
|
||||||
}
|
<a onclick="closeColorPicker()">Save</a>
|
||||||
|
</span>
|
||||||
function go2Random()
|
<span id="mycolorpickercancel">
|
||||||
{
|
<a onclick="closeColorPicker()">Cancel</a>
|
||||||
window.location = "p/" + randomPadName();
|
</span>
|
||||||
}
|
<span id="mycolorpickerpreview" class="myswatchboxhoverable"></span>
|
||||||
|
</div>
|
||||||
function randomPadName()
|
|
||||||
{
|
<div id="myswatchbox"><div id="myswatch"><!-- --></div></div>
|
||||||
var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
<div id="myusernameform"><input type="text" id="myusernameedit" disabled="disabled" /></div>
|
||||||
var string_length = 10;
|
<div id="mystatusform"><input type="text" id="mystatusedit" disabled="disabled" /></div>
|
||||||
var randomstring = '';
|
</div>
|
||||||
for (var i = 0; i < string_length; i++)
|
|
||||||
{
|
<div id="otherusers">
|
||||||
var rnum = Math.floor(Math.random() * chars.length);
|
<div id="guestprompts"><!-- --></div>
|
||||||
randomstring += chars.substring(rnum, rnum + 1);
|
|
||||||
}
|
<table id="otheruserstable" cellspacing="0" cellpadding="0" border="0">
|
||||||
return randomstring;
|
<tr>
|
||||||
}
|
<td>
|
||||||
|
</td>
|
||||||
//start the costum js
|
</tr>
|
||||||
if(typeof costumStart == "function") costumStart();
|
</table>
|
||||||
</script>
|
|
||||||
</html>
|
<div id="nootherusers">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="userlistbuttonarea">
|
||||||
|
<!--<a href="javascript:void(0)" id="sharebutton">Share</a>-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- /padusers -->
|
||||||
|
|
||||||
|
|
||||||
|
<!--<div id="users">
|
||||||
|
|
||||||
|
<!-- some example code so I can make the css --*>
|
||||||
|
|
||||||
|
</div>-->
|
||||||
|
|
||||||
|
<div id="editorcontainerbox">
|
||||||
|
|
||||||
|
<div id="editorcontainer">
|
||||||
|
<!-- -->
|
||||||
|
</div>
|
||||||
|
<div id="editorloadingbox">
|
||||||
|
Loading...
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- import export code -->
|
||||||
|
<div id="importexport">
|
||||||
|
|
||||||
|
<div id="import">
|
||||||
|
Import from text file, HTML, PDF, Word, ODT or RTF:<br/><br/>
|
||||||
|
<form id="importform" method="post" action="" target="importiframe" enctype="multipart/form-data">
|
||||||
|
<div class="importformdiv" id="importformfilediv">
|
||||||
|
<input type="file" name="file" size="15" id="importfileinput" />
|
||||||
|
<div class="importmessage" id="importmessagefail"></div>
|
||||||
|
</div>
|
||||||
|
<div class="importmessage" id="importmessagesuccess">Successful!</div>
|
||||||
|
<div class="importformdiv" id="importformsubmitdiv">
|
||||||
|
<input type="hidden" name="padId" value="blpmaXT35R" />
|
||||||
|
<span class="nowrap">
|
||||||
|
<input type="submit" name="submit" value="Import Now" disabled="disabled" id="importsubmitinput" />
|
||||||
|
<img alt="" id="importstatusball" src="../static/img/loading.gif" align="top" />
|
||||||
|
<img alt="" id="importarrow" src="../static/img/leftarrow.png" align="top" />
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="importexportline"></div>
|
||||||
|
|
||||||
|
<div id="export">
|
||||||
|
Export current pad as:
|
||||||
|
<a id="exporthtmla" target="_blank" class="exportlink"><div class="exporttype" id="exporthtml">HTML</div></a>
|
||||||
|
<a id="exportplaina" target="_blank" class="exportlink"><div class="exporttype" id="exportplain">Plain text</div></a>
|
||||||
|
<a id="exportworda" target="_blank" class="exportlink"><div class="exporttype" id="exportword">Microsoft Word</div></a>
|
||||||
|
<a id="exportpdfa" target="_blank" class="exportlink"><div class="exporttype" id="exportpdf">PDF</div></a>
|
||||||
|
<a id="exportopena" target="_blank" class="exportlink"><div class="exporttype" id="exportopen">OpenDocument</div></a>
|
||||||
|
<a id="exportwordlea" target="_blank" onClick="padimpexp.export2Wordle();return false;" class="exportlink"><div class="exporttype" id="exportwordle">Wordle</div></a>
|
||||||
|
<form id="wordlepost" name="wall" action="http://wordle.net/advanced" method="POST" style="margin-left:0px;">
|
||||||
|
<div id="hidetext" style=""><textarea id="text" name="text" id="text" style="display:none;">Coming soon!</textarea></div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- the embed code -->
|
||||||
|
<div id="embed">
|
||||||
|
<div id="embedreadonly">
|
||||||
|
<input type="checkbox" id="readonlyinput" onClick="padeditbar.setEmbedLinks();"/><label for="readonlyinput">Read only</label>
|
||||||
|
</div>
|
||||||
|
Share:
|
||||||
|
<br/>
|
||||||
|
<div id="linkcode">
|
||||||
|
<label for="linkinput">Link:</label><input id="linkinput" type="text" value="">
|
||||||
|
</div><br/>
|
||||||
|
<div id="embedcode">
|
||||||
|
<label for="embedinput">Embed code:</label><input id="embedinput" type="text" value="">
|
||||||
|
</div><br/>
|
||||||
|
<div id="qrcode">
|
||||||
|
<label for="embedreadonlyqr">QR code:</label><br/>
|
||||||
|
<div id="qr_center"><img id="embedreadonlyqr"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="chatthrob">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="chaticon">
|
||||||
|
<a onClick="chat.show();return false;"
|
||||||
|
title="Open the chat for this pad">
|
||||||
|
<span id="chatlabel">Chat</span>
|
||||||
|
<div class="buttonicon" style="background-position:0px -102px;display:inline-block;"></div>
|
||||||
|
</a>
|
||||||
|
<span id="chatcounter">0</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="chatbox">
|
||||||
|
<div id="titlebar"><span id ="titlelabel">Chat</span><a id="titlecross" onClick="chat.hide();return false;">- </a></div>
|
||||||
|
<div id="chattext" class="authorColors"></div>
|
||||||
|
<div id="chatinputbox">
|
||||||
|
<form>
|
||||||
|
<input id="chatinput" type="text" maxlength="140"/>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="focusprotector"> </div>
|
||||||
|
|
||||||
|
<!-- /padeditor -->
|
||||||
|
<div id="modaloverlay">
|
||||||
|
<div id="modaloverlay-inner">
|
||||||
|
<!-- -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="mainmodals">
|
||||||
|
<div id="connectionbox" class="modaldialog">
|
||||||
|
<div id="connectionboxinner" class="modaldialog-inner">
|
||||||
|
<div class="connecting">
|
||||||
|
Connecting...
|
||||||
|
</div>
|
||||||
|
<div class="reconnecting">
|
||||||
|
Reestablishing connection...
|
||||||
|
</div>
|
||||||
|
<div class="disconnected">
|
||||||
|
<h2 class="h2_disconnect">Disconnected.</h2>
|
||||||
|
<h2 class="h2_userdup">Opened in another window.</h2>
|
||||||
|
<h2 class="h2_unauth">No Authorization.</h2>
|
||||||
|
<div id="disconnected_looping">
|
||||||
|
<p>
|
||||||
|
<b>We're having trouble talking to the EtherPad lite synchronization server.</b>
|
||||||
|
You may be connecting through an incompatible firewall or proxy server.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div id="disconnected_initsocketfail">
|
||||||
|
<p>
|
||||||
|
<b>We were unable to connect to the EtherPad lite synchronization server.</b>
|
||||||
|
This may be due to an incompatibility with your web browser or internet connection.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div id="disconnected_userdup">
|
||||||
|
<p>
|
||||||
|
<b>You seem to have opened this pad in another browser window.</b>
|
||||||
|
If you'd like to use this window instead, you can reconnect.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div id="disconnected_unknown">
|
||||||
|
<p>
|
||||||
|
<b>Lost connection with the EtherPad lite synchronization server.</b> This may be due to a loss of network connectivity.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div id="disconnected_slowcommit">
|
||||||
|
<p>
|
||||||
|
<b>Server not responding.</b> This may be due to network connectivity issues or high load on the server.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div id="disconnected_unauth">
|
||||||
|
<p>
|
||||||
|
Your browser's credentials or permissions have changed while viewing this pad. Try reconnecting.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div id="disconnected_deleted">
|
||||||
|
<p>
|
||||||
|
This pad was deleted.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div id="reconnect_advise">
|
||||||
|
<p>
|
||||||
|
If this continues to happen, please let us know
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div id="reconnect_form">
|
||||||
|
<button id="forcereconnect">Reconnect Now</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form id="reconnectform" method="post" action="/ep/pad/reconnect" accept-charset="UTF-8" style="display: none;">
|
||||||
|
<input type="hidden" class="padId" name="padId"/>
|
||||||
|
<input type="hidden" class="diagnosticInfo" name="diagnosticInfo"/>
|
||||||
|
<input type="hidden" class="missedChanges" name="missedChanges"/>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue