fixed html (with whitespace realigned), color choosing is now working. Still needs work.

This commit is contained in:
HansPinckaers 2011-04-06 22:36:20 +02:00
parent 9eb1fecfa7
commit 5dc72234ab
3 changed files with 324 additions and 287 deletions

View file

@ -1,3 +1,6 @@
/* @override
http://localhost:9001/static/css/pad_lite.css */
*,html.body,p { margin: 0; padding: 0; } *,html.body,p { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; font-style: normal; h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; font-style: normal;
text-decoration: none; margin: 0; padding: 0; } text-decoration: none; margin: 0; padding: 0; }
@ -337,58 +340,12 @@ a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; }
background: url(/static/img/jun09/pad/colorpicker.gif) no-repeat left top; background: url(/static/img/jun09/pad/colorpicker.gif) no-repeat left top;
width: 232px; height: 140px; width: 232px; height: 140px;
position: absolute; position: absolute;
left: 13px; top: 13px; z-index: 101; left: 10px; top: 18px; z-index: 101;
display: none;/*...initially*/ display: none;/*...initially*/
} }
#mycolorpicker .n1 { left: 13px; }
#mycolorpicker .n2 { left: 40px; }
#mycolorpicker .n3 { left: 67px; }
#mycolorpicker .n4 { left: 94px; }
#mycolorpicker .n5 { left: 121px; }
#mycolorpicker .n6 { left: 148px; }
#mycolorpicker .n7 { left: 175px; }
#mycolorpicker .n8 { left: 202px; }
#mycolorpicker .n9 { left: 13px; top: 34px ! important;} #mycolorpicker .picked { border: 1px solid #fff !important; }
#mycolorpicker .n10 { left: 40px; top: 34px ! important;}
#mycolorpicker .n11 { left: 67px; top: 34px ! important;}
#mycolorpicker .n12 { left: 94px; top: 34px ! important;}
#mycolorpicker .n13 { left: 121px; top: 34px ! important;}
#mycolorpicker .n14 { left: 148px; top: 34px ! important;}
#mycolorpicker .n15 { left: 175px; top: 34px ! important;}
#mycolorpicker .n16 { left: 202px; top: 34px ! important;}
#mycolorpicker .n17 { left: 13px; top: 56px ! important;}
#mycolorpicker .n18 { left: 40px; top: 56px ! important;}
#mycolorpicker .n19 { left: 67px; top: 56px ! important;}
#mycolorpicker .n20 { left: 94px; top: 56px ! important;}
#mycolorpicker .n21 { left: 121px; top: 56px ! important;}
#mycolorpicker .n22 { left: 148px; top: 56px ! important;}
#mycolorpicker .n23 { left: 175px; top: 56px ! important;}
#mycolorpicker .n24 { left: 202px; top: 56px ! important;}
#mycolorpicker .n25 { left: 13px; top: 78px ! important;}
#mycolorpicker .n26 { left: 40px; top: 78px ! important;}
#mycolorpicker .n27 { left: 67px; top: 78px ! important;}
#mycolorpicker .n28 { left: 94px; top: 78px ! important;}
#mycolorpicker .n29 { left: 121px; top: 78px ! important;}
#mycolorpicker .n30 { left: 148px; top: 78px ! important;}
#mycolorpicker .n31 { left: 175px; top: 78px ! important;}
#mycolorpicker .n32 { left: 202px; top: 78px ! important;}
#mycolorpicker .pickerswatchouter {
border: 1px solid white;
width: 15px; height: 15px; position: absolute;
top: 12px;
}
#mycolorpicker .pickerswatch {
border: 1px solid #999;
width: 13px;
height: 13px;
position: absolute;
left: 0; top: 0;
}
#mycolorpicker .picked { border: 1px solid #666 !important; }
#mycolorpicker .picked .pickerswatch { border: 1px solid #666; } #mycolorpicker .picked .pickerswatch { border: 1px solid #666; }
#mycolorpickersave { position: absolute; left: 14px; top: 102px; #mycolorpickersave { position: absolute; left: 14px; top: 102px;
width: 47px; height: 0; padding-top: 20px; overflow: hidden; width: 47px; height: 0; padding-top: 20px; overflow: hidden;
@ -1073,10 +1030,41 @@ font-size:14px;
width:100%; width:100%;
} }
#userscont{ #users ul li
margin-left:6px; {
width:90%; float: left;
height:30px; list-style: none;
margin-left: 10px;
padding-right: 10px;
border-right: 1px solid #000;
}
#users ul li a:hover
{
text-decoration: underline;
cursor: pointer;
}
ul#colorpickerswatches
{
padding-left: 3px;
padding-top: 5px;
}
ul#colorpickerswatches li
{
border: 1px solid #999;
width: 14px;
height: 14px;
overflow: hidden;
margin: 3px 6px;
padding: 0px;
}
ul#colorpickerswatches li:hover
{
border: 1px solid #000;
cursor: pointer;
} }
.user{ .user{

View file

@ -14,40 +14,71 @@
* limitations under the License. * limitations under the License.
*/ */
var myUserInfo = {};
var colorPickerOpen = false; var colorPickerOpen = false;
var colorPickerSetup = false;
var previousColorId = 0;
function getColorPickerSwatchIndex(jnode) { function getColorPickerSwatchIndex(jnode) {
return Number(jnode.get(0).className.match(/\bn([0-9]+)\b/)[1])-1; // return Number(jnode.get(0).className.match(/\bn([0-9]+)\b/)[1])-1;
return $("#colorpickerswatches li").index(jnode);
} }
function closeColorPicker(accept) { function closeColorPicker(accept) {
if (accept) { if (accept) {
var newColorId = getColorPickerSwatchIndex($("#mycolorpicker .picked")); var newColorId = getColorPickerSwatchIndex($("#colorpickerswatches .picked"));
if (newColorId >= 0) { // fails on NaN if (newColorId >= 0) { // fails on NaN
myUserInfo.colorId = newColorId; myUserInfo.colorId = newColorId;
pad.notifyChangeColor(newColorId); pad.notifyChangeColor(newColorId);
} }
} else {
pad.notifyChangeColor(previousColorId);
} }
colorPickerOpen = false; colorPickerOpen = false;
$("#mycolorpicker").css('display', 'none'); $("#mycolorpicker").css('display', 'none');
renderMyUserInfo(); //renderMyUserInfo();
} }
function showColorPicker() { function showColorPicker() {
previousColorId = myUserInfo.colorId ;
if (! colorPickerOpen) { if (! colorPickerOpen) {
var palette = pad.getColorPalette(); var palette = pad.getColorPalette();
if(!colorPickerSetup) {
var colorsList = $("#colorpickerswatches")
for(var i=0;i<palette.length;i++) { for(var i=0;i<palette.length;i++) {
$("#mycolorpicker .n"+(i+1)+" .pickerswatch").css(
'background', palette[i]); var li = $('<li>', {
style: 'background: '+palette[i]+';'
});
li.appendTo(colorsList);
li.bind('click', function(event){
$("#colorpickerswatches li").removeClass('picked');
$(event.target).addClass("picked");
var newColorId = getColorPickerSwatchIndex($("#colorpickerswatches .picked"));
pad.notifyChangeColor(newColorId);
});
if(myUserInfo.colorId == i){
$(event.target).addClass("picked");
} }
}
colorPickerSetup = true;
}
$("#mycolorpicker").css('display', 'block'); $("#mycolorpicker").css('display', 'block');
colorPickerOpen = true; colorPickerOpen = true;
renderMyUserInfo();
$("#colorpickerswatches li").removeClass('picked');
$($("#colorpickerswatches li")[myUserInfo.colorId]).addClass("picked"); //seems weird
//paduserlist.renderMyUserInfo();
} }
// this part happens even if color picker is already open
$("#mycolorpicker .pickerswatchouter").removeClass('picked');
$("#mycolorpicker .pickerswatchouter:eq("+(myUserInfo.colorId||0)+")").
addClass('picked');
} }
@ -311,7 +342,6 @@ var paduserlist = (function() {
return self; return self;
}()); ////////// rowManager }()); ////////// rowManager
var myUserInfo = {};
var otherUsersInfo = []; var otherUsersInfo = [];
var otherUsersData = []; var otherUsersData = [];
@ -605,4 +635,3 @@ var paduserlist = (function() {
}; };
return self; return self;
}()); }());

View file

@ -10,7 +10,6 @@
<!-- <base href="http://localhost:9001/" />--> <!-- <base href="http://localhost:9001/" />-->
<!-- CSS --> <!-- CSS -->
<link href="/static/css/pad_lite.css" rel="stylesheet" type="text/css"/> <link href="/static/css/pad_lite.css" rel="stylesheet" type="text/css"/>
<!-- javascript --> <!-- javascript -->
<script type="text/javascript"> <script type="text/javascript">
// <![CDATA[ // <![CDATA[
@ -43,59 +42,86 @@ var clientVars = {}; // ]]>
<script type="text/javascript" src="/socket.io/socket.io.js"></script> <script type="text/javascript" src="/socket.io/socket.io.js"></script>
</head> </head>
<body id="padbody" class="limwidth nonpropad nonprouser"> <body id="padbody" class="limwidth nonpropad nonprouser">
<div id="padpage">
<div id="padmain">
<script>
$(document).ready(function () {
});
</script>
<div id="padeditor"> <div id="padeditor">
<div id="editbar" class="disabledtoolbar"> <div id="editbar" class="disabledtoolbar">
<div id="editbarinner">
<div id="editbarleft"><!-- --></div>
<div id="editbarright"><!-- --></div>
<div id="editbarinner">
<table cellpadding="0" cellspacing="0" border="0" id="editbartable"> <table cellpadding="0" cellspacing="0" border="0" id="editbartable">
<tr> <tr>
<td>
<td><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td> <img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24">
<td class="editbarbutton editbargroupsfirst"><a href="javascript:void (window.pad&&pad.editbarClick('bold'));" title="Bold (ctrl-B)"><img src="/static/img/jun09/pad/editbar_bold.gif"></a></td> </td>
<td class="editbarbutton"> <a href="javascript:void (window.pad&&pad.editbarClick('italic'));" title="Italics (ctrl-I)"><img src="/static/img/jun09/pad/editbar_italic.gif"></a></td> <td class="editbarbutton editbargroupsfirst">
<td class="editbarbutton"> <a href="javascript:void (window.pad&&pad.editbarClick('underline'));" title="Underline (ctrl-U)"><img src="/static/img/jun09/pad/editbar_underline.gif"></a></td> <a href="javascript:void (window.pad&&pad.editbarClick('bold'));" title="Bold (ctrl-B)"><img src="/static/img/jun09/pad/editbar_bold.gif"></a>
<td class="editbarbutton"> <a href="javascript:void (window.pad&&pad.editbarClick('strikethrough'));" title="Strikethrough"><img src="/static/img/jun09/pad/editbar_strikethrough.gif"></a></td> </td>
<td><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td> <td class="editbarbutton">
<td>&nbsp;&nbsp;</td> <a href="javascript:void (window.pad&&pad.editbarClick('italic'));" title="Italics (ctrl-I)"><img src="/static/img/jun09/pad/editbar_italic.gif"></a>
<td><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td> </td>
<td class="editbarbutton editbargroupsfirst"><a href="javascript:void (window.pad&&pad.editbarClick('insertunorderedlist'));" title="Toggle Bullet List"><img src="/static/img/jun09/pad/editbar_insertunorderedlist.gif"></a></td> <td class="editbarbutton">
<td class="editbarbutton"><a href="javascript:void (window.pad&&pad.editbarClick('indent'));" title="Indent List"><img src="/static/img/jun09/pad/editbar_indent.gif"></a></td> <a href="javascript:void (window.pad&&pad.editbarClick('underline'));" title="Underline (ctrl-U)"><img src="/static/img/jun09/pad/editbar_underline.gif"></a>
<td class="editbarbutton"><a href="javascript:void (window.pad&&pad.editbarClick('outdent'));" title="Unindent List"><img src="/static/img/jun09/pad/editbar_outdent.gif"></a></td> </td>
<td><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td> <td class="editbarbutton">
<a href="javascript:void (window.pad&&pad.editbarClick('strikethrough'));" title="Strikethrough"><img src="/static/img/jun09/pad/editbar_strikethrough.gif"></a>
</td>
<td width="100%">&nbsp;</td> <td>
<img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24">
</td>
<td>
&nbsp;&nbsp;
</td>
<td>
<img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24">
</td>
<td class="editbarbutton editbargroupsfirst">
<a href="javascript:void (window.pad&&pad.editbarClick('insertunorderedlist'));" title="Toggle Bullet List"><img src="/static/img/jun09/pad/editbar_insertunorderedlist.gif"></a>
</td>
<td class="editbarbutton">
<a href="javascript:void (window.pad&&pad.editbarClick('indent'));" title="Indent List"><img src="/static/img/jun09/pad/editbar_indent.gif"></a>
</td>
<td class="editbarbutton">
<a href="javascript:void (window.pad&&pad.editbarClick('outdent'));" title="Unindent List"><img src="/static/img/jun09/pad/editbar_outdent.gif"></a>
</td>
<td>
<img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24">
</td>
<td width="100%">
&nbsp;
</td>
</tr> </tr>
</table> </table>
<table cellpadding="0" cellspacing="0" border="0" id="editbarsavetable"> <table cellpadding="0" cellspacing="0" border="0" id="editbarsavetable">
<tr> <tr>
<td><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td>
<td class="editbarbutton editbargroupsfirst"><a href="javascript:void (window.pad&&pad.editbarClick('showusers'));" title="Show connected users"> <img id="showusersicon" src="/static/img/mar11/editbar_showusers.gif"></a></td>
<td><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td>
<td>&nbsp;&nbsp;</td>
<td><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td>
<td class="editbarbutton editbargroupsfirst"><a href="javascript:void (window.pad&&pad.editbarClick('clearauthorship'));" title="Clear Authorship Colors">
<img src="/static/img/jun09/pad/editbar_clearauthorship.gif"></a></td>
<td class="editbarbutton"><a href="javascript:void (window.pad&&pad.editbarClick('undo'));" title="Undo (ctrl-Z)"><img src="/static/img/jun09/pad/editbar_undo.gif"></a></td>
<td class="editbarbutton"><a href="javascript:void (window.pad&&pad.editbarClick('redo'));" title="Redo (ctrl-Y)"><img src="/static/img/jun09/pad/editbar_redo.gif"></a></td>
<td class="editbarbutton"><a href="javascript:void (window.pad&&pad.editbarClick('save'));" title="Save Revision"><img src="/static/img/jun09/pad/editbar_save.gif"></a></td>
<td class="editbarbutton"><a href="javascript:void (window.pad&&pad.editbarClick('embed'));" title="Embed this pad"> <img src="/static/img/mar11/editbar_embed.gif"></a></td>
<td> <td>
<img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24">
</td>
<td class="editbarbutton editbargroupsfirst">
<a href="javascript:void (window.pad&&pad.editbarClick('showusers'));" title="Show connected users"><img id="showusersicon" src="/static/img/mar11/editbar_showusers.gif"></a>
</td>
<td>
<img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24">
</td>
<td>
&nbsp;&nbsp;
</td>
<td>
<img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24">
</td>
<td class="editbarbutton editbargroupsfirst">
<a href="javascript:void (window.pad&&pad.editbarClick('clearauthorship'));" title="Clear Authorship Colors">
<img src="/static/img/jun09/pad/editbar_clearauthorship.gif"></a>
</td>
<td class="editbarbutton">
<a href="javascript:void (window.pad&&pad.editbarClick('undo'));" title="Undo (ctrl-Z)"><img src="/static/img/jun09/pad/editbar_undo.gif"></a>
</td>
<td class="editbarbutton">
<a href="javascript:void (window.pad&&pad.editbarClick('redo'));" title="Redo (ctrl-Y)"><img src="/static/img/jun09/pad/editbar_redo.gif"></a>
</td>
<td class="editbarbutton">
<a href="javascript:void (window.pad&&pad.editbarClick('save'));" title="Save Revision"><img src="/static/img/jun09/pad/editbar_save.gif"></a>
</td>
<td class="editbarbutton">
<a href="javascript:void (window.pad&&pad.editbarClick('embed'));" title="Embed this pad"><img src="/static/img/mar11/editbar_embed.gif"></a>
</td>
<td>
<!-- The below is completely temporary and should be deleted CAKE --> <!-- The below is completely temporary and should be deleted CAKE -->
<script type="text/javascript"> <script type="text/javascript">
function shinyshiny(){ function shinyshiny(){
@ -105,83 +131,71 @@ var clientVars = {}; // ]]>
$('#showusersicon').fadeIn('fast'); $('#showusersicon').fadeIn('fast');
} }
</script> </script>
<input type="button" onClick="shinyshiny();" value="shiny"> <input type="button" onclick="shinyshiny();" value="shiny">
<!-- end of temporary section designed to be deleted --> <!-- end of temporary section designed to be deleted -->
</td> </td>
<td><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td> <td>
<td>&nbsp;&nbsp;</td> <img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24">
<td><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td> </td>
<td class="editbarbutton editbargroupsfirst"><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></td> <td>
<td><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td> &nbsp;&nbsp;
</td>
<td>
<img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24">
</td>
<td class="editbarbutton editbargroupsfirst">
<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>
</td>
<td>
<img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24">
</td>
</tr> </tr>
</table> </table>
<div id="users"> <div id="users">
<div id="userscont"> <ul>
<table> <li><a onclick="showColorPicker();" title="Change my name/color">John</a></li>
<li>Joe</li>
</ul>
<!-- some example code so I can make the css --> <!-- some example code so I can make the css -->
<td class="myuser"><a onclick="showColorPicker();" title="Change my name/color">John</td>
<div id="mycolorpicker"> <div id="mycolorpicker">
<div> <ul id="colorpickerswatches">
<div class="pickerswatchouter n1"><div class="pickerswatch"><!-- --></div></div> </ul>
<div class="pickerswatchouter n2"><div class="pickerswatch"><!-- --></div></div> <div id="mycolorpickersave">
<div class="pickerswatchouter n3"><div class="pickerswatch"><!-- --></div></div> <a onclick="closeColorPicker()">Save</a>
<div class="pickerswatchouter n4"><div class="pickerswatch"><!-- --></div></div> </div>
<div class="pickerswatchouter n5"><div class="pickerswatch"><!-- --></div></div> <div id="mycolorpickercancel">
<div class="pickerswatchouter n6"><div class="pickerswatch"><!-- --></div></div> <a onclick="closeColorPicker()">Cancel</a>
<div class="pickerswatchouter n7"><div class="pickerswatch"><!-- --></div></div> </div>
<div class="pickerswatchouter n8"><div class="pickerswatch"><!-- --></div></div> </div>
</div><div> </div>
<div class="pickerswatchouter n9"><div class="pickerswatch"><!-- --></div></div> </div>
<div class="pickerswatchouter n10"><div class="pickerswatch"><!-- --></div></div> <div id="embed">
<div class="pickerswatchouter n11"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n12"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n13"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n14"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n15"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n16"><div class="pickerswatch"><!-- --></div></div>
</div><div>
<div class="pickerswatchouter n17"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n18"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n19"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n20"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n21"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n22"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n23"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n24"><div class="pickerswatch"><!-- --></div></div>
</div><div>
<div class="pickerswatchouter n25"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n26"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n27"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n28"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n29"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n30"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n31"><div class="pickerswatch"><!-- --></div></div>
<div class="pickerswatchouter n32"><div class="pickerswatch"><!-- --></div></div>
</div> </div>
<div id="mycolorpickersave">Save</div>
<div id="mycolorpickercancel">Cancel</div>
</div> </div>
<td class="user">&nbsp;&nbsp;&nbsp;</td>
<td class="user">Joe</td>
</table>
</div>
</div>
<div id="embed"></div>
</div>
</div>
</div>
<div id="editorcontainerbox"> <div id="editorcontainerbox">
<div id="editorloadingbox">Loading Etherpad Lite...</div> <div id="editorloadingbox">
<div id="editorcontainer"><!-- --></div> Loading Etherpad Lite...
</div>
<div id="editorcontainer">
<!-- -->
</div>
</div>
<!-- /padeditor -->
<div id="modaloverlay">
<div id="modaloverlay-inner">
<!-- -->
</div>
</div> </div>
</div><!-- /padeditor -->
</div><!-- /padmain -->
</div><!-- /padpage -->
<div id="modaloverlay"><div id="modaloverlay-inner"><!-- --></div></div>
<div id="mainmodals"> <div id="mainmodals">
<div id="connectionbox" class="modaldialog"> <div id="connectionbox" class="modaldialog">
<div id="connectionboxinner" class="modaldialog-inner"> <div id="connectionboxinner" class="modaldialog-inner">
<div class="connecting"> <div class="connecting">
@ -195,31 +209,43 @@ var clientVars = {}; // ]]>
<h2 class="h2_userdup">Opened in another window.</h2> <h2 class="h2_userdup">Opened in another window.</h2>
<h2 class="h2_unauth">No Authorization.</h2> <h2 class="h2_unauth">No Authorization.</h2>
<div id="disconnected_looping"> <div id="disconnected_looping">
<p><b>We're having trouble talking to the EtherPad lite synchronization server.</b> <p>
You may be connecting through an incompatible firewall or proxy server.</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>
<div id="disconnected_initsocketfail"> <div id="disconnected_initsocketfail">
<p><b>We were unable to connect to the EtherPad lite synchronization server.</b> <p>
This may be due to an incompatibility with your web <b>We were unable to connect to the EtherPad lite synchronization server.</b>
browser or internet connection.</p> This may be due to an incompatibility with your web browser or internet connection.
</p>
</div> </div>
<div id="disconnected_userdup"> <div id="disconnected_userdup">
<p><b>You seem to have opened this pad in another browser window.</b> <p>
If you'd like to use this window instead, you can reconnect.</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>
<div id="disconnected_unknown"> <div id="disconnected_unknown">
<p><b>Lost connection with the EtherPad lite synchronization <p>
server.</b> This may be due to a loss of network connectivity.</p> <b>Lost connection with the EtherPad lite synchronization server.</b> This may be due to a loss of network connectivity.
</p>
</div> </div>
<div id="disconnected_slowcommit"> <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> <p>
<b>Server not responding.</b> This may be due to network connectivity issues or high load on the server.
</p>
</div> </div>
<div id="disconnected_unauth"> <div id="disconnected_unauth">
<p>Your browser's credentials or permissions have changed while viewing this pad. Try reconnecting.</p> <p>
Your browser's credentials or permissions have changed while viewing this pad. Try reconnecting.
</p>
</div> </div>
<div id="reconnect_advise"> <div id="reconnect_advise">
<p>If this continues to happen, please <a target="_blank" href="/ep/support">let us know</a> <p>
(opens in new window).</p> If this continues to happen, please <a target="_blank" href="/ep/support">let us know</a>
(opens in new window).
</p>
</div> </div>
<div id="reconnect_form"> <div id="reconnect_form">
<button id="forcereconnect">Reconnect Now</button> <button id="forcereconnect">Reconnect Now</button>
@ -228,18 +254,12 @@ var clientVars = {}; // ]]>
</div> </div>
</div> </div>
</div> </div>
</div>
<form id="reconnectform" <form id="reconnectform" method="post" action="/ep/pad/reconnect" accept-charset="UTF-8" style="display: none;">
method="post"
action="/ep/pad/reconnect"
accept-charset="UTF-8"
style="display: none;">
<input type="hidden" class="padId" name="padId"/> <input type="hidden" class="padId" name="padId"/>
<input type="hidden" class="diagnosticInfo" <input type="hidden" class="diagnosticInfo" name="diagnosticInfo"/>
name="diagnosticInfo" />
<input type="hidden" class="missedChanges" name="missedChanges"/> <input type="hidden" class="missedChanges" name="missedChanges"/>
</form> </form>
</body> </body>
</html> </html>