etherpad-lite/static/pad.html

343 lines
11 KiB
HTML
Raw Normal View History

2011-07-24 18:31:01 +02:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex, nofollow">
<title>Etherpad Lite</title>
<!-- CSS -->
<link href="../static/css/pad.css" rel="stylesheet">
<!-- javascript -->
<script type="text/javascript">
2011-03-26 14:10:41 +01:00
// <![CDATA[
var clientVars = {}; // ]]>
</script>
<script src="../socket.io/socket.io.js"></script>
<script src="../minified/pad.js"></script>
<style type="text/css" title="dynamicsyntax"></style>
</head>
<body>
<div id="editbar">
<ul id="menu_left">
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('bold');return false" title="Bold (ctrl-B)">
<img src="../static/img/editbar_bold.gif" width="16" height="16" />
</a>
</li>
2011-04-07 18:09:13 +02:00
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('italic'); return false;" title="Italics (ctrl-I)">
<img src="../static/img/editbar_italic.gif" width="16" height="16" />
2011-04-07 18:09:13 +02:00
</a>
</li>
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('underline');return false;" title="Underline (ctrl-U)">
<img src="../static/img/editbar_underline.gif" width="16" height="16" />
</a>
</li>
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('strikethrough');return false;" title="Strikethrough">
<img src="../static/img/editbar_strikethrough.gif" width="16" height="16" />
</a>
</li>
<li class="separator"></li>
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('insertunorderedlist');return false;" title="Toggle Bullet List">
<img src="../static/img/editbar_insertunorderedlist.gif" width="16" height="16" />
</a>
</li>
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('indent');return false;" title="Indent List">
<img src="../static/img/editbar_indent.gif" width="16" height="16" />
</a>
</li>
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('outdent');return false;" title="Unindent List">
<img src="../static/img/editbar_outdent.gif" width="16" height="16" />
</a>
</li>
2011-07-06 13:48:18 +02:00
<li class="separator"></li>
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('undo');return false;" title="Undo (ctrl-Z)">
<img src="../static/img/editbar_undo.gif" width="16" height="16" />
</a>
</li>
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('redo');return false;" title="Redo (ctrl-Y)">
<img src="../static/img/editbar_redo.gif" width="16" height="16" />
</a>
</li>
2011-07-06 13:48:18 +02:00
<li class="separator"></li>
2011-06-21 16:08:36 +02:00
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('clearauthorship');return false;" title="Clear Authorship Colors">
<img src="../static/img/editbar_clearauthorship.gif" width="16" height="16" />
2011-07-06 13:48:18 +02:00
</a>
2011-06-21 16:08:36 +02:00
</li>
2011-07-06 13:48:18 +02:00
</ul>
2011-06-21 16:08:36 +02:00
2011-07-06 13:48:18 +02:00
<ul id="menu_right">
2011-06-21 16:08:36 +02:00
2011-07-06 19:35:27 +02:00
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('readonly');return false;" title="Create a readonly link for this pad">
2011-07-06 19:35:27 +02:00
<img src="../static/img/editbar_readonly.gif" width="16" height="16" />
</a>
</li>
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('import_export');return false;"
2011-07-20 18:33:27 +02:00
title="Import/Export from/to different document formats">
2011-07-06 19:35:27 +02:00
<img src="../static/img/editbar_import_export.gif" width="16" height="16" />
</a>
</li>
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('embed');return false;" title="Embed this pad">
<img src="../static/img/editbar_embed.gif" width="16" height="16" />
</a>
</li>
2011-07-06 22:56:08 +02:00
<!--
We removed this feature cause its not worth the space it needs in the editbar
<li>
<select id="viewzoommenu">
<option value="z85">85%</option>
<option value="z100">100%</option>
<option value="z115">115%</option>
<option value="z150">150%</option>
<option value="z200">200%</option>
<option value="z300">300%</option>
</select>
2011-07-06 22:56:08 +02:00
</li>-->
2011-04-07 20:45:28 +02:00
<li class="separator"></li>
2011-07-14 17:15:38 +02:00
<!--<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('chat'); return false;"
2011-07-11 22:52:45 +02:00
title="(Placeholder, not implemented so far) Open the chat for this pad">
2011-07-06 22:56:08 +02:00
<img src="../static/img/editbar_chat.gif" width="16" height="16" />
</a>
2011-07-14 17:15:38 +02:00
</li>-->
2011-04-07 20:45:28 +02:00
<li>
2011-07-06 13:48:18 +02:00
<a id="timesliderlink" title="Show the history of this pad">
<script>
document.getElementById('timesliderlink').href = document.location+ '/timeslider';
2011-07-06 13:48:18 +02:00
</script>
<img src="../static/img/editbar_timeslider.gif" width="16" height="16" />
2011-07-06 13:48:18 +02:00
</a>
2011-04-07 20:45:28 +02:00
</li>
<li>
2011-07-19 18:41:43 +02:00
<a onClick="window.pad&&pad.editbarClick('showusers');return false;" title="Show connected users">
<img id="showusersicon" src="../static/img/editbar_showusers.gif" width="16" height="16" /> <span id="online_count">1</span>
2011-04-07 20:45:28 +02:00
</a>
</li>
</ul>
</div>
2011-03-26 19:44:30 +01:00
<div id="users">
2011-04-07 20:45:28 +02:00
<div id="connectionstatus">
<!-- -->
</div>
<div id="myuser">
<div id="mycolorpicker">
<ul id="colorpickerswatches">
</ul>
<span id="mycolorpickersave">
<a onclick="closeColorPicker()">Save</a>
</span>
<span id="mycolorpickercancel">
<a onclick="closeColorPicker()">Cancel</a>
</span>
</div>
<div id="mycolorpickersave">Save</div>
<div id="mycolorpickercancel">Cancel</div>
<div id="myswatchbox"><div id="myswatch"><!-- --></div></div>
<div id="myusernameform"><input type="text" id="myusernameedit" disabled="disabled" /></div>
<div id="mystatusform"><input type="text" id="mystatusedit" disabled="disabled" /></div>
</div>
<div id="otherusers">
<div id="guestprompts"><!-- --></div>
<table id="otheruserstable" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
</td>
</tr>
</table>
<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>
2011-06-02 14:56:58 +02:00
<div id="editorloadingbox">
Loading...
2011-03-26 14:10:41 +01:00
</div>
</div>
<!-- import export code -->
<div id="importexport">
<div id="import">
2011-07-26 00:45:49 +02:00
Import from text file, HTML, PDF, Word, or RTF:<br/><br/>
2011-07-21 21:13:58 +02:00
<form id="importform" method="post" action="" target="importiframe" enctype="multipart/form-data">
<div class="importformdiv" id="importformfilediv">
<input type="file" name="file" size="20" 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" />
2011-07-26 15:45:24 +02:00
<img alt="" id="importstatusball" src="../static/img/loading.gif" align="top" />
<img alt="" id="importarrow" src="../static/img/leftarrow.png" align="top" />
</span>
</div>
2011-07-21 21:13:58 +02:00
</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>
2011-07-08 18:42:07 +02:00
<!-- the embed code -->
<div id="embed">
<div id="embedcode">
Embed code:<input id="embedinput" type="text" value="">
</div>
</div>
<!-- the embed code -->
<div id="readonly">
<div id="readonlyUrl">
Use this link to share a read-only version of your pad:<input id="readonlyInput" type="text" value="">
</div>
</div>
<div id="chatthrob">
</div>
2011-07-14 17:15:38 +02:00
<div id="chaticon">
2011-07-19 18:41:43 +02:00
<a onClick="chat.show();return false;"
2011-07-14 17:15:38 +02:00
title="Open the chat for this pad">
<span id="chatlabel">Chat</span>
<img src="../static/img/editbar_chat.gif" width="16" height="16" />
</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;">x&nbsp;</a></div>
2011-07-14 17:15:38 +02:00
<div id="chattext" class="authorColors"></div>
<div id="chatinputbox">
<form>
<input id="chatinput" type="text" maxlength="140"/>
</form>
</div>
</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>
2011-03-26 14:10:41 +01:00
</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>
2011-03-26 14:10:41 +01:00
</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>
2011-03-26 14:10:41 +01:00
</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="reconnect_advise">
<p>
2011-05-28 21:45:14 +02:00
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>