mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-11-04 10:11:33 +01:00 
			
		
		
		
	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; }
 | 
			
		||||
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; font-style: normal;
 | 
			
		||||
  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;
 | 
			
		||||
  width: 232px; height: 140px;
 | 
			
		||||
  position: absolute;
 | 
			
		||||
  left: 13px; top: 13px; z-index: 101;
 | 
			
		||||
  left: 10px; top: 18px; z-index: 101;
 | 
			
		||||
  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 .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 .picked { border: 1px solid #fff !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; }
 | 
			
		||||
#mycolorpickersave { position: absolute; left: 14px; top: 102px;
 | 
			
		||||
  width: 47px; height: 0; padding-top: 20px; overflow: hidden;
 | 
			
		||||
@ -1073,10 +1030,41 @@ font-size:14px;
 | 
			
		||||
width:100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#userscont{
 | 
			
		||||
margin-left:6px;
 | 
			
		||||
width:90%;
 | 
			
		||||
height:30px;
 | 
			
		||||
#users ul li
 | 
			
		||||
{
 | 
			
		||||
float: left;
 | 
			
		||||
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{
 | 
			
		||||
 | 
			
		||||
@ -14,41 +14,72 @@
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
 var colorPickerOpen = false;
 | 
			
		||||
var myUserInfo = {};
 | 
			
		||||
 | 
			
		||||
 function getColorPickerSwatchIndex(jnode) {
 | 
			
		||||
    return Number(jnode.get(0).className.match(/\bn([0-9]+)\b/)[1])-1;
 | 
			
		||||
  }
 | 
			
		||||
  function closeColorPicker(accept) {
 | 
			
		||||
    if (accept) {
 | 
			
		||||
      var newColorId = getColorPickerSwatchIndex($("#mycolorpicker .picked"));
 | 
			
		||||
      if (newColorId >= 0) { // fails on NaN
 | 
			
		||||
        myUserInfo.colorId = newColorId;
 | 
			
		||||
        pad.notifyChangeColor(newColorId);
 | 
			
		||||
      }
 | 
			
		||||
var colorPickerOpen = false;
 | 
			
		||||
var colorPickerSetup = false;
 | 
			
		||||
var previousColorId = 0;
 | 
			
		||||
 | 
			
		||||
function getColorPickerSwatchIndex(jnode) {
 | 
			
		||||
//  return Number(jnode.get(0).className.match(/\bn([0-9]+)\b/)[1])-1;
 | 
			
		||||
  return $("#colorpickerswatches li").index(jnode);
 | 
			
		||||
}
 | 
			
		||||
function closeColorPicker(accept) {
 | 
			
		||||
  if (accept) {
 | 
			
		||||
    var newColorId = getColorPickerSwatchIndex($("#colorpickerswatches .picked"));
 | 
			
		||||
    if (newColorId >= 0) { // fails on NaN
 | 
			
		||||
      myUserInfo.colorId = newColorId;
 | 
			
		||||
      pad.notifyChangeColor(newColorId);
 | 
			
		||||
    }
 | 
			
		||||
    colorPickerOpen = false;
 | 
			
		||||
    $("#mycolorpicker").css('display', 'none');
 | 
			
		||||
    renderMyUserInfo();
 | 
			
		||||
  } else {
 | 
			
		||||
    pad.notifyChangeColor(previousColorId);
 | 
			
		||||
  }
 | 
			
		||||
  colorPickerOpen = false;
 | 
			
		||||
  $("#mycolorpicker").css('display', 'none');
 | 
			
		||||
  //renderMyUserInfo();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function showColorPicker() {
 | 
			
		||||
  previousColorId = myUserInfo.colorId ;
 | 
			
		||||
 | 
			
		||||
  function showColorPicker() {
 | 
			
		||||
    if (! colorPickerOpen) {
 | 
			
		||||
      var palette = pad.getColorPalette();
 | 
			
		||||
  if (! colorPickerOpen) {
 | 
			
		||||
    var palette = pad.getColorPalette();
 | 
			
		||||
 | 
			
		||||
    if(!colorPickerSetup) {
 | 
			
		||||
      var colorsList = $("#colorpickerswatches")
 | 
			
		||||
      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;
 | 
			
		||||
      renderMyUserInfo();
 | 
			
		||||
            
 | 
			
		||||
      colorPickerSetup = true;
 | 
			
		||||
    }
 | 
			
		||||
    // this part happens even if color picker is already open
 | 
			
		||||
    $("#mycolorpicker .pickerswatchouter").removeClass('picked');
 | 
			
		||||
    $("#mycolorpicker .pickerswatchouter:eq("+(myUserInfo.colorId||0)+")").
 | 
			
		||||
      addClass('picked');
 | 
			
		||||
  }
 | 
			
		||||
    
 | 
			
		||||
    $("#mycolorpicker").css('display', 'block');
 | 
			
		||||
    colorPickerOpen = true;
 | 
			
		||||
    
 | 
			
		||||
    $("#colorpickerswatches li").removeClass('picked');
 | 
			
		||||
    $($("#colorpickerswatches li")[myUserInfo.colorId]).addClass("picked"); //seems weird
 | 
			
		||||
    
 | 
			
		||||
    //paduserlist.renderMyUserInfo();
 | 
			
		||||
  } 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
var paduserlist = (function() {
 | 
			
		||||
@ -311,7 +342,6 @@ var paduserlist = (function() {
 | 
			
		||||
    return self;
 | 
			
		||||
  }()); ////////// rowManager
 | 
			
		||||
 | 
			
		||||
  var myUserInfo = {};
 | 
			
		||||
  var otherUsersInfo = [];
 | 
			
		||||
  var otherUsersData = [];
 | 
			
		||||
 | 
			
		||||
@ -604,5 +634,4 @@ var paduserlist = (function() {
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
  return self;
 | 
			
		||||
}());
 | 
			
		||||
 | 
			
		||||
}());
 | 
			
		||||
							
								
								
									
										430
									
								
								static/padhtml
									
									
									
									
									
								
							
							
						
						
									
										430
									
								
								static/padhtml
									
									
									
									
									
								
							@ -2,17 +2,16 @@
 | 
			
		||||
	  "-//W3C//DTD XHTML 1.0 Transitional//EN"
 | 
			
		||||
	  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 | 
			
		||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 | 
			
		||||
  <head>
 | 
			
		||||
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
 | 
			
		||||
    <meta http-equiv="Content-Language" content="en-us" />
 | 
			
		||||
    <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
 | 
			
		||||
    <title>Etherpad Lite v0.0.1: test</title>
 | 
			
		||||
    <!-- <base href="http://localhost:9001/" />-->
 | 
			
		||||
    <!-- CSS -->
 | 
			
		||||
    <link href="/static/css/pad_lite.css" rel="stylesheet" type="text/css" />
 | 
			
		||||
    
 | 
			
		||||
    <!-- javascript -->
 | 
			
		||||
    <script type="text/javascript">
 | 
			
		||||
<head>
 | 
			
		||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
 | 
			
		||||
<meta http-equiv="Content-Language" content="en-us"/>
 | 
			
		||||
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW"/>
 | 
			
		||||
<title>Etherpad Lite v0.0.1: test</title>
 | 
			
		||||
<!-- <base href="http://localhost:9001/" />-->
 | 
			
		||||
<!-- CSS -->
 | 
			
		||||
<link href="/static/css/pad_lite.css" rel="stylesheet" type="text/css"/>
 | 
			
		||||
<!-- javascript -->
 | 
			
		||||
<script type="text/javascript">
 | 
			
		||||
  // <![CDATA[
 | 
			
		||||
var clientVars = {};  // ]]>
 | 
			
		||||
</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 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/json2.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/pad2.js"></script>
 | 
			
		||||
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
 | 
			
		||||
  </head>
 | 
			
		||||
  <body id="padbody" class="limwidth nonpropad nonprouser">
 | 
			
		||||
    
 | 
			
		||||
  <div id="padpage">
 | 
			
		||||
    <div id="padmain">
 | 
			
		||||
      <script>
 | 
			
		||||
	$(document).ready(function () {
 | 
			
		||||
	});
 | 
			
		||||
      </script>
 | 
			
		||||
      <div id="padeditor">
 | 
			
		||||
</head>
 | 
			
		||||
<body id="padbody" class="limwidth nonpropad nonprouser">
 | 
			
		||||
<div id="padeditor">
 | 
			
		||||
	<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>
 | 
			
		||||
		  
 | 
			
		||||
  <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('bold'));" title="Bold (ctrl-B)"><img src="/static/img/jun09/pad/editbar_bold.gif"></a></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"> <a href="javascript:void (window.pad&&pad.editbarClick('underline'));"  title="Underline (ctrl-U)"><img src="/static/img/jun09/pad/editbar_underline.gif"></a></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><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>
 | 
			
		||||
			<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('bold'));" title="Bold (ctrl-B)"><img src="/static/img/jun09/pad/editbar_bold.gif"></a>
 | 
			
		||||
			</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">
 | 
			
		||||
				<a href="javascript:void (window.pad&&pad.editbarClick('underline'));" title="Underline (ctrl-U)"><img src="/static/img/jun09/pad/editbar_underline.gif"></a>
 | 
			
		||||
			</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>
 | 
			
		||||
				<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>
 | 
			
		||||
	      </table>
 | 
			
		||||
	      <table cellpadding="0" cellspacing="0" border = "0" id="editbarsavetable">
 | 
			
		||||
		</table>
 | 
			
		||||
		
 | 
			
		||||
		<table cellpadding="0" cellspacing="0" border="0" id="editbarsavetable">
 | 
			
		||||
		<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>  </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 -->
 | 
			
		||||
	<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>
 | 
			
		||||
			<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>
 | 
			
		||||
				  
 | 
			
		||||
			</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 -->
 | 
			
		||||
				<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>
 | 
			
		||||
	      </table>
 | 
			
		||||
	    <div id="users">
 | 
			
		||||
               <div id="userscont">
 | 
			
		||||
               <table>
 | 
			
		||||
                 <!-- 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>
 | 
			
		||||
		         <div class="pickerswatchouter n1"><div class="pickerswatch"><!-- --></div></div>
 | 
			
		||||
		         <div class="pickerswatchouter n2"><div class="pickerswatch"><!-- --></div></div>
 | 
			
		||||
		         <div class="pickerswatchouter n3"><div class="pickerswatch"><!-- --></div></div>
 | 
			
		||||
		         <div class="pickerswatchouter n4"><div class="pickerswatch"><!-- --></div></div>
 | 
			
		||||
		         <div class="pickerswatchouter n5"><div class="pickerswatch"><!-- --></div></div>
 | 
			
		||||
		         <div class="pickerswatchouter n6"><div class="pickerswatch"><!-- --></div></div>
 | 
			
		||||
		         <div class="pickerswatchouter n7"><div class="pickerswatch"><!-- --></div></div>
 | 
			
		||||
		         <div class="pickerswatchouter n8"><div class="pickerswatch"><!-- --></div></div>
 | 
			
		||||
		       </div><div>
 | 
			
		||||
		         <div class="pickerswatchouter n9"><div class="pickerswatch"><!-- --></div></div>
 | 
			
		||||
		         <div class="pickerswatchouter n10"><div class="pickerswatch"><!-- --></div></div>
 | 
			
		||||
		         <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 id="mycolorpickersave">Save</div>
 | 
			
		||||
		        <div id="mycolorpickercancel">Cancel</div>
 | 
			
		||||
		      </div>
 | 
			
		||||
		</table>
 | 
			
		||||
		
 | 
			
		||||
		<div id="users">
 | 
			
		||||
			<ul>
 | 
			
		||||
				<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 -->
 | 
			
		||||
			<div id="mycolorpicker">
 | 
			
		||||
				<ul id="colorpickerswatches">
 | 
			
		||||
				</ul>
 | 
			
		||||
				<div id="mycolorpickersave">
 | 
			
		||||
					<a onclick="closeColorPicker()">Save</a>
 | 
			
		||||
				</div>
 | 
			
		||||
				<div id="mycolorpickercancel">
 | 
			
		||||
					<a onclick="closeColorPicker()">Cancel</a>
 | 
			
		||||
				</div>
 | 
			
		||||
			</div>
 | 
			
		||||
		</div>
 | 
			
		||||
	</div>
 | 
			
		||||
	<div id="embed">
 | 
			
		||||
	</div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
                 <td class="user">   </td>
 | 
			
		||||
                 <td class="user">Joe</td>
 | 
			
		||||
	       </table>
 | 
			
		||||
               </div>
 | 
			
		||||
            </div>  
 | 
			
		||||
	    <div id="embed"></div>  
 | 
			
		||||
  	    </div>
 | 
			
		||||
          </div>
 | 
			
		||||
<div id="editorcontainerbox">
 | 
			
		||||
	<div id="editorloadingbox">
 | 
			
		||||
		Loading Etherpad Lite...
 | 
			
		||||
	</div>
 | 
			
		||||
	<div id="editorcontainer">
 | 
			
		||||
		<!-- -->
 | 
			
		||||
	</div>
 | 
			
		||||
	<div id="editorcontainerbox">
 | 
			
		||||
  <div id="editorloadingbox">Loading Etherpad Lite...</div>
 | 
			
		||||
  <div id="editorcontainer"><!-- --></div>
 | 
			
		||||
</div>
 | 
			
		||||
      </div><!-- /padeditor -->
 | 
			
		||||
    </div><!-- /padmain -->
 | 
			
		||||
  </div><!-- /padpage -->
 | 
			
		||||
  <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>
 | 
			
		||||
<!-- /padeditor -->
 | 
			
		||||
<div id="modaloverlay">
 | 
			
		||||
<div id="modaloverlay-inner">
 | 
			
		||||
<!-- -->
 | 
			
		||||
</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>
 | 
			
		||||
 
 | 
			
		||||
</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>
 | 
			
		||||
 | 
			
		||||
<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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user