fixed html (with whitespace realigned), color choosing is now working. Still needs work.
This commit is contained in:
parent
9eb1fecfa7
commit
5dc72234ab
|
@ -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{
|
||||||
|
|
|
@ -14,41 +14,72 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var colorPickerOpen = false;
|
var myUserInfo = {};
|
||||||
|
|
||||||
function getColorPickerSwatchIndex(jnode) {
|
var colorPickerOpen = false;
|
||||||
return Number(jnode.get(0).className.match(/\bn([0-9]+)\b/)[1])-1;
|
var colorPickerSetup = false;
|
||||||
}
|
var previousColorId = 0;
|
||||||
function closeColorPicker(accept) {
|
|
||||||
if (accept) {
|
function getColorPickerSwatchIndex(jnode) {
|
||||||
var newColorId = getColorPickerSwatchIndex($("#mycolorpicker .picked"));
|
// return Number(jnode.get(0).className.match(/\bn([0-9]+)\b/)[1])-1;
|
||||||
if (newColorId >= 0) { // fails on NaN
|
return $("#colorpickerswatches li").index(jnode);
|
||||||
myUserInfo.colorId = newColorId;
|
}
|
||||||
pad.notifyChangeColor(newColorId);
|
function closeColorPicker(accept) {
|
||||||
}
|
if (accept) {
|
||||||
|
var newColorId = getColorPickerSwatchIndex($("#colorpickerswatches .picked"));
|
||||||
|
if (newColorId >= 0) { // fails on NaN
|
||||||
|
myUserInfo.colorId = newColorId;
|
||||||
|
pad.notifyChangeColor(newColorId);
|
||||||
}
|
}
|
||||||
colorPickerOpen = false;
|
} else {
|
||||||
$("#mycolorpicker").css('display', 'none');
|
pad.notifyChangeColor(previousColorId);
|
||||||
renderMyUserInfo();
|
|
||||||
}
|
}
|
||||||
|
colorPickerOpen = false;
|
||||||
|
$("#mycolorpicker").css('display', 'none');
|
||||||
|
//renderMyUserInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
function showColorPicker() {
|
||||||
|
previousColorId = myUserInfo.colorId ;
|
||||||
|
|
||||||
function showColorPicker() {
|
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");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$("#mycolorpicker").css('display', 'block');
|
|
||||||
colorPickerOpen = true;
|
colorPickerSetup = true;
|
||||||
renderMyUserInfo();
|
|
||||||
}
|
}
|
||||||
// this part happens even if color picker is already open
|
|
||||||
$("#mycolorpicker .pickerswatchouter").removeClass('picked');
|
$("#mycolorpicker").css('display', 'block');
|
||||||
$("#mycolorpicker .pickerswatchouter:eq("+(myUserInfo.colorId||0)+")").
|
colorPickerOpen = true;
|
||||||
addClass('picked');
|
|
||||||
}
|
$("#colorpickerswatches li").removeClass('picked');
|
||||||
|
$($("#colorpickerswatches li")[myUserInfo.colorId]).addClass("picked"); //seems weird
|
||||||
|
|
||||||
|
//paduserlist.renderMyUserInfo();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
var paduserlist = (function() {
|
var paduserlist = (function() {
|
||||||
|
@ -311,7 +342,6 @@ var paduserlist = (function() {
|
||||||
return self;
|
return self;
|
||||||
}()); ////////// rowManager
|
}()); ////////// rowManager
|
||||||
|
|
||||||
var myUserInfo = {};
|
|
||||||
var otherUsersInfo = [];
|
var otherUsersInfo = [];
|
||||||
var otherUsersData = [];
|
var otherUsersData = [];
|
||||||
|
|
||||||
|
@ -604,5 +634,4 @@ var paduserlist = (function() {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return self;
|
return self;
|
||||||
}());
|
}());
|
||||||
|
|
430
static/padhtml
430
static/padhtml
|
@ -2,17 +2,16 @@
|
||||||
"-//W3C//DTD XHTML 1.0 Transitional//EN"
|
"-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
||||||
<meta http-equiv="Content-Language" content="en-us" />
|
<meta http-equiv="Content-Language" content="en-us"/>
|
||||||
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
|
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW"/>
|
||||||
<title>Etherpad Lite v0.0.1: test</title>
|
<title>Etherpad Lite v0.0.1: test</title>
|
||||||
<!-- <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[
|
||||||
var clientVars = {}; // ]]>
|
var clientVars = {}; // ]]>
|
||||||
</script>
|
</script>
|
||||||
|
@ -22,7 +21,7 @@ var clientVars = {}; // ]]>
|
||||||
<!--
|
<!--
|
||||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
|
||||||
-->
|
-->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
|
||||||
<script type="text/javascript" src="/static/js/json.js"></script>
|
<script type="text/javascript" src="/static/js/json.js"></script>
|
||||||
<script type="text/javascript" src="/static/js/json2.js"></script>
|
<script type="text/javascript" src="/static/js/json2.js"></script>
|
||||||
<script type="text/javascript" src="/static/js/colorutils.js"></script>
|
<script type="text/javascript" src="/static/js/colorutils.js"></script>
|
||||||
|
@ -41,205 +40,226 @@ var clientVars = {}; // ]]>
|
||||||
<script type="text/javascript" src="/static/js/pad_connectionstatus.js"></script>
|
<script type="text/javascript" src="/static/js/pad_connectionstatus.js"></script>
|
||||||
<script type="text/javascript" src="/static/js/pad2.js"></script>
|
<script type="text/javascript" src="/static/js/pad2.js"></script>
|
||||||
<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="padeditor">
|
||||||
<div id="padpage">
|
|
||||||
<div id="padmain">
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<div id="padeditor">
|
|
||||||
<div id="editbar" class="disabledtoolbar">
|
<div id="editbar" class="disabledtoolbar">
|
||||||
<div id="editbarinner">
|
<table cellpadding="0" cellspacing="0" border="0" id="editbartable">
|
||||||
|
|
||||||
<div id="editbarleft"><!-- --></div>
|
|
||||||
|
|
||||||
<div id="editbarright"><!-- --></div>
|
|
||||||
|
|
||||||
<div id="editbarinner">
|
|
||||||
<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> </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%"> </td>
|
<td>
|
||||||
|
<img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24">
|
||||||
|
</td>
|
||||||
|
<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('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%">
|
||||||
|
|
||||||
|
</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><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('showusers'));" title="Show connected users"> <img id="showusersicon" src="/static/img/mar11/editbar_showusers.gif"></a></td>
|
<td class="editbarbutton editbargroupsfirst">
|
||||||
<td><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td>
|
<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>
|
</td>
|
||||||
<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('clearauthorship'));" title="Clear Authorship Colors">
|
<img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24">
|
||||||
<img src="/static/img/jun09/pad/editbar_clearauthorship.gif"></a></td>
|
</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>
|
||||||
<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>
|
||||||
<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>
|
||||||
<!-- The below is completely temporary and should be deleted CAKE -->
|
<td class="editbarbutton editbargroupsfirst">
|
||||||
<script type="text/javascript">
|
<a href="javascript:void (window.pad&&pad.editbarClick('clearauthorship'));" title="Clear Authorship Colors">
|
||||||
function shinyshiny(){
|
<img src="/static/img/jun09/pad/editbar_clearauthorship.gif"></a>
|
||||||
$('#showusersicon').fadeOut('fast');
|
</td>
|
||||||
$('#showusersicon').fadeIn('fast');
|
<td class="editbarbutton">
|
||||||
$('#showusersicon').fadeOut('fast');
|
<a href="javascript:void (window.pad&&pad.editbarClick('undo'));" title="Undo (ctrl-Z)"><img src="/static/img/jun09/pad/editbar_undo.gif"></a>
|
||||||
$('#showusersicon').fadeIn('fast');
|
</td>
|
||||||
}
|
<td class="editbarbutton">
|
||||||
</script>
|
<a href="javascript:void (window.pad&&pad.editbarClick('redo'));" title="Redo (ctrl-Y)"><img src="/static/img/jun09/pad/editbar_redo.gif"></a>
|
||||||
<input type="button" onClick="shinyshiny();" value="shiny">
|
</td>
|
||||||
<!-- end of temporary section designed to be deleted -->
|
<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>
|
||||||
<td><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td>
|
<td class="editbarbutton">
|
||||||
<td> </td>
|
<a href="javascript:void (window.pad&&pad.editbarClick('embed'));" title="Embed this pad"><img src="/static/img/mar11/editbar_embed.gif"></a>
|
||||||
<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>
|
<!-- The below is completely temporary and should be deleted CAKE -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
function shinyshiny(){
|
||||||
|
$('#showusersicon').fadeOut('fast');
|
||||||
|
$('#showusersicon').fadeIn('fast');
|
||||||
|
$('#showusersicon').fadeOut('fast');
|
||||||
|
$('#showusersicon').fadeIn('fast');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<input type="button" onclick="shinyshiny();" value="shiny">
|
||||||
|
<!-- end of temporary section designed to be deleted -->
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
</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="userscont">
|
<div id="users">
|
||||||
<table>
|
<ul>
|
||||||
<!-- some example code so I can make the css -->
|
<li><a onclick="showColorPicker();" title="Change my name/color">John</a></li>
|
||||||
<td class="myuser"><a onclick="showColorPicker();" title="Change my name/color">John</td>
|
<li>Joe</li>
|
||||||
<div id="mycolorpicker">
|
</ul>
|
||||||
<div>
|
<!-- some example code so I can make the css -->
|
||||||
<div class="pickerswatchouter n1"><div class="pickerswatch"><!-- --></div></div>
|
<div id="mycolorpicker">
|
||||||
<div class="pickerswatchouter n2"><div class="pickerswatch"><!-- --></div></div>
|
<ul id="colorpickerswatches">
|
||||||
<div class="pickerswatchouter n3"><div class="pickerswatch"><!-- --></div></div>
|
</ul>
|
||||||
<div class="pickerswatchouter n4"><div class="pickerswatch"><!-- --></div></div>
|
<div id="mycolorpickersave">
|
||||||
<div class="pickerswatchouter n5"><div class="pickerswatch"><!-- --></div></div>
|
<a onclick="closeColorPicker()">Save</a>
|
||||||
<div class="pickerswatchouter n6"><div class="pickerswatch"><!-- --></div></div>
|
</div>
|
||||||
<div class="pickerswatchouter n7"><div class="pickerswatch"><!-- --></div></div>
|
<div id="mycolorpickercancel">
|
||||||
<div class="pickerswatchouter n8"><div class="pickerswatch"><!-- --></div></div>
|
<a onclick="closeColorPicker()">Cancel</a>
|
||||||
</div><div>
|
</div>
|
||||||
<div class="pickerswatchouter n9"><div class="pickerswatch"><!-- --></div></div>
|
</div>
|
||||||
<div class="pickerswatchouter n10"><div class="pickerswatch"><!-- --></div></div>
|
</div>
|
||||||
<div class="pickerswatchouter n11"><div class="pickerswatch"><!-- --></div></div>
|
</div>
|
||||||
<div class="pickerswatchouter n12"><div class="pickerswatch"><!-- --></div></div>
|
<div id="embed">
|
||||||
<div class="pickerswatchouter n13"><div class="pickerswatch"><!-- --></div></div>
|
</div>
|
||||||
<div class="pickerswatchouter n14"><div class="pickerswatch"><!-- --></div></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 id="mycolorpickersave">Save</div>
|
|
||||||
<div id="mycolorpickercancel">Cancel</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<td class="user"> </td>
|
<div id="editorcontainerbox">
|
||||||
<td class="user">Joe</td>
|
<div id="editorloadingbox">
|
||||||
</table>
|
Loading Etherpad Lite...
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div id="editorcontainer">
|
||||||
<div id="embed"></div>
|
<!-- -->
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="editorcontainerbox">
|
|
||||||
<div id="editorloadingbox">Loading Etherpad Lite...</div>
|
|
||||||
<div id="editorcontainer"><!-- --></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /padeditor -->
|
<!-- /padeditor -->
|
||||||
</div><!-- /padmain -->
|
<div id="modaloverlay">
|
||||||
</div><!-- /padpage -->
|
<div id="modaloverlay-inner">
|
||||||
<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="reconnect_advise">
|
|
||||||
<p>If this continues to happen, please <a target="_blank" href="/ep/support">let us know</a>
|
|
||||||
(opens in new window).</p>
|
|
||||||
</div>
|
|
||||||
<div id="reconnect_form">
|
|
||||||
<button id="forcereconnect">Reconnect Now</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<form id="reconnectform"
|
<div id="mainmodals">
|
||||||
method="post"
|
<div id="connectionbox" class="modaldialog">
|
||||||
action="/ep/pad/reconnect"
|
<div id="connectionboxinner" class="modaldialog-inner">
|
||||||
accept-charset="UTF-8"
|
<div class="connecting">
|
||||||
style="display: none;">
|
Connecting...
|
||||||
<input type="hidden" class="padId" name="padId" />
|
</div>
|
||||||
<input type="hidden" class="diagnosticInfo"
|
<div class="reconnecting">
|
||||||
name="diagnosticInfo" />
|
Reestablishing connection...
|
||||||
<input type="hidden" class="missedChanges" name="missedChanges" />
|
</div>
|
||||||
</form>
|
<div class="disconnected">
|
||||||
</body>
|
<h2 class="h2_disconnect">Disconnected.</h2>
|
||||||
</html>
|
<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="reconnect_advise">
|
||||||
|
<p>
|
||||||
|
If this continues to happen, please <a target="_blank" href="/ep/support">let us know</a>
|
||||||
|
(opens in new window).
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div id="reconnect_form">
|
||||||
|
<button id="forcereconnect">Reconnect Now</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</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 New Issue