From 894e646f39a6c81c48c677728336d071bdc450d1 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 13:50:43 +0000 Subject: [PATCH 01/39] Updated README --- README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README b/README index fd422f5a..51492e30 100644 --- a/README +++ b/README @@ -31,7 +31,8 @@ INSTALATION 3. npm install socket.io RUNNING -1. bin/run.sh +1. cd bin +2. run.sh TESTING 1. Open your web browser and visit http://IPSERVER:9001 From 946b9b8657f74fb7ed6a7aaf4ec4350e35f359aa Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 13:54:03 +0000 Subject: [PATCH 02/39] Added new .css file --- static/css/pad_lite.css | 1131 +++++++++++++++++++++++++++++++++++++++ static/padhtml | 4 +- 2 files changed, 1133 insertions(+), 2 deletions(-) create mode 100644 static/css/pad_lite.css diff --git a/static/css/pad_lite.css b/static/css/pad_lite.css new file mode 100644 index 00000000..c0ccae48 --- /dev/null +++ b/static/css/pad_lite.css @@ -0,0 +1,1131 @@ + +*,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; } + +.clear { clear: both; } + +html { font-size: 62.5%; } + +body { background: #ebebeb url(/static/img/jun09/pad/backgrad.gif) repeat-x left top; } +body, textarea { font-family: Arial, sans-serif; } + +#padpage { + position: absolute; + top: 0px; + bottom: 8px; + left: 50%; + margin-left: -450px; + width: 900px; +} + +.maximized #padpage { + left: 8px; + right: 8px; + width: auto; + margin-left: 0; +} + +body.fullwidth #padpage { width: auto; margin-left: 6px; margin-right: 6px; } +body.squish1width #padpage { width: 800px; } +body.squish2width #padpage { width: 700px; } + +#topbar { height: 25px; background: #326cbd url(/static/img/jun09/pad/padtopback2.gif) repeat-x left top; + position: relative; } + +#topbarleft { float: left; height: 100%; overflow: hidden; + background: url(/static/img/jun09/pad/padtop5.gif) no-repeat left top; width: 5px; + + } +#topbarright { float: right; height: 100%; overflow: hidden; + background: url(/static/img/jun09/pad/padtop5.gif) no-repeat right top; width: 5px; } + +.propad #topbar { background: #2c2c2c url(/static/img/jun09/pad/protop.gif) repeat-x 0 -25px; } +.propad #topbarleft { background: url(/static/img/jun09/pad/protop.gif) no-repeat left top; } +.propad #topbarright { background: url(/static/img/jun09/pad/protop.gif) no-repeat right top; } + +a#backtoprosite, #accountnav { + display: block; position: absolute; height: 15px; line-height: 15px; + width: auto; top: 5px; font-size: 1.2em; display:none; +} +a#backtoprosite, #accountnav a { color: #cde7ff; text-decoration: underline; } + +a#backtoprosite { padding-left: 20px; left: 6px; + background: url(/static/img/jun09/pad/protop.gif) no-repeat -5px -6px; } +#accountnav { right: 30px; color: #fff; } + +#topbarcenter { margin-left: 150px; margin-right: 150px; text-align:center;} +a#topbaretherpad { margin-left: auto; margin-right: auto; display: block; width: 103px; + position: relative; top: 3px; height: 0; padding-top: 20px; +/* background: url(/static/img/jun09/pad/padtop5.gif) no-repeat -397px -3px; overflow: hidden; */ +} + + +#topbarBrand {font-size:2.1em; color: white; font-weight: bold; text-decoration: none; text-align: center;} + + + +#EtherpadLink {font-size: 1.2em; color: white;float:left;margin-left:-140px;margin-top:4px; text-decoration: none; } +#Licensing {font-size: 1.2em; color: white;float:left;margin-top:4px;margin-left:-75px; text-decoration: none; } +#fullscreen {font-size: 1.2em; color: white;float:right;margin-top:4px;margin-right:-120px; text-decoration: none; } + +.propad a#topbaretherpad { background: url(/static/img/jun09/pad/protop.gif) no-repeat -397px -3px; } + +#specialkeyarea { top: 5px; left: 250px; color: yellow; font-weight: bold; + font-size: 1.5em; position: absolute; } + +#alertbar { + margin-top: 6px; + opacity: 0; + filter: alpha(opacity = 0); /* IE */ + display: none; + position:absolute; + left:0; + right:0; + z-index:53; +} + +#servermsg { position: relative; zoom: 1; border: 1px solid #992; + background: #ffc; padding: 0.8em; font-size: 1.2em; } +#servermsg h3 { font-weight: bold; margin-right: 10px; + margin-bottom: 1em; float: left; width: auto; } +#servermsg #servermsgdate { font-style: italic; font-weight: normal; color: #666; } +a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; } + +#shuttingdown { position: relative; zoom: 1; border: 1px solid #992; + background: #ffc; padding: 0.6em; font-size: 1.2em; margin-top: 6px; } + +#docbar { margin-top: 6px; height: 25px; position: relative; zoom: 1; + background: #fbfbfb url(/static/img/jun09/pad/padtopback2.gif) repeat-x 0 -31px; } + +.docbarbutton +{ + padding-top: 2px; + padding-bottom: 2px; + padding-left: 4px; + padding-right: 4px; + border-left: 1px solid #CCC; + white-space: nowrap; +} + +.docbarbutton img +{ + border: 0px; + width: 13px; + margin-right: 2px; + vertical-align: middle; + margin-top: 3px; + margin-bottom: 2px; +} + +.menu, +.menu ul { + font-size: 10pt; + list-style-type: none; +} + +.menu ul { + padding-left: 20px; +} + +.menu a { + font-size: 10px; + line-height: 18px; + text-decoration: none; + color: #444; + font-weight: bold; +} + +.docbarbutton.highlight +{ + background-color: #fef2bd; + border: 1px solid #CCC; + border-right: 0px; +} + +#docbarleft { position: absolute; left: 0; top: 0; height: 100%; + overflow: hidden; + background: url(/static/img/jun09/pad/padtop5.gif) no-repeat left -31px; width: 7px; } + + + +#docbarpadtitle { position: absolute; height: auto; left: 9px; + width: 280px; font-size: 1.6em; color: #444; font-weight: normal; + line-height: 22px; margin-left: 2px; height: 22px; top: 2px; + overflow: hidden; text-overflow: ellipsis /*not supported in FF*/; + white-space:nowrap; } +.docbar-public #docbarpadtitle { padding-left: 22px; + background: url(/static/img/jun09/pad/public.gif) no-repeat left center; } + +#docbarrenamelink { position: absolute; top: 6px; + font-size: 1.1em; display: none; } +#docbarrenamelink a { color: #999; } +#docbarrenamelink a:hover { color: #48d; } +#padtitlebuttons { position: absolute; width: 74px; zoom: 1; + height: 17px; top: 4px; left: 170px; display: none; + background: url(/static/img/jun09/pad/ok_or_cancel.gif) 0px 0px; } +#padtitlesave { position: absolute; display: block; + height: 0; padding-top: 17px; overflow: hidden; + width: 23px; left: 0; top: 0; } +#padtitlecancel { position: absolute; display: block; + height: 0; padding-top: 17px; overflow: hidden; + width: 35px; right: 0; top: 0; } +#padtitleedit { position: absolute; top: 2px; left: 5px; + height: 15px; padding: 2px; font-size: 1.4em; + background: white; border-left: 1px solid #c3c3c3; + border-top: 1px solid #c3c3c3; + border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; + width: 150px; display: none; +} + +#padmain { + margin-top: 6px; + position: absolute; + top: 56px; + left: 0px; + right: 0px; + bottom: 0px; + zoom: 1; +} + +#padeditor { + bottom:0px; + left:0; + position:absolute; + right:300px; + top:0; + zoom: 1; +} +.hidesidebar #padeditor { right: 0; } + +#vdraggie { + background: url(/static/img/jun09/pad/vdraggie.gif) no-repeat top center; + cursor: W-resize; + bottom:0; + position:absolute; + right:268px; + top:0; + width:56px; + z-index: 10; +} + +#editbar { height: 36px; + background: #a5bfe2 url(/static/img/jun09/pad/editbar_background.gif) repeat-x; + height:36px; + left:0; + position:absolute; + right:0; + top:0; + color: #444444; +} + +#editbarinner { + overflow: hidden; +} + +#editbarleft { float: left; height: 100%; overflow: hidden; + background: url(/static/img/jun09/pad/editbar_background_left.gif) no-repeat left top; width: 2px; } +#editbarright { float: right; height: 100%; overflow: hidden; + background: url(/static/img/jun09/pad/editbar_background_right.gif) no-repeat right top; width: 2px; } + +#editbartable +{ + position:absolute; + top: 6px; + left: 7px; + width: 250px; + height: 24px; +} + +#editbarsavetable +{ + position:absolute; + top: 6px; + right: 29px; + height: 24px; +} + +#editbarsavetable td, #editbartable td +{ + white-space: nowrap; +} + +.editbarbutton +{ + border-top: 1px solid #8b9eba; + border-bottom: 1px solid #8b9eba; + border-left: 1px solid #758aa9; + background-color: white; + padding: 0px 2px; +} + +.editbarbutton img +{ + border: 0px; + width: 16px; + height: 16px; +} + +.editbarbutton a { + text-decoration: none; +} +.editbarbutton a:active +{ + position: relative; + top: 1px; + left: 1px; +} + +.editbargroupsfirst +{ + border-left-width: 0px !important; +} + +#editbar #syncstatussyncing { position: absolute; height: 26px; width: 26px; + background: url(/static/img/jun09/pad/syncing2.gif) no-repeat center center; + right: 38px; top: 5px; display: none; } +#editbar #syncstatusdone { position: absolute; height: 26px; width: 26px; + background: url(/static/img/jun09/pad/syncdone.gif) no-repeat center center; + right: 38px; top: 5px; display: none; } + +#editorcontainerbox { + border-left: 1px solid #c4c4c4; border-right: 1px solid #c4c4c4; + border-bottom: 1px solid #c4c4c4; + background: #fff; + bottom:0; + left:0; + overflow: hidden; + position: absolute; + right: 0; + top: 36px; + zoom: 1; + z-index: 11; +} + +#editorcontainer { height: 100%; } + +#editorcontainer iframe { width: 100%; height: 100%; padding: 0; margin: 0; } + +#editorloadingbox { padding-top: 100px; padding-bottom: 100px; font-size: 2.5em; color: #aaa; + text-align: center; position: absolute; width: 100%; height: 30px; z-index: 100; } + +#padsidebar { + bottom: 0px; + position: absolute; + right: 0; + top: 0; + width: 290px; + overflow: hidden; + z-index: 11; +} +.hidesidebar #padsidebar { width: 0; overflow: hidden; } + +#padsidebarfull { + border: 1px solid #c4c4c4; + background: #fafafa; + zoom: 1; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + padding: 8px; +} + +#padusers { + border: 1px solid #c4c4c4; + background: #fafafa; + zoom: 1; + position: absolute; + top: 0; + left: 0; + right: 0; + height: 300px; +} +#myuser { + background: #d9e7f9; + padding: 5px; + position: absolute; + top: 0; + left: 0; + right: 0; + height: 31px; +} +#otherusers { + overflow: auto; + position: absolute; + top: 41px; + left: 0; + right: 0; + bottom: 28px; +} +#userlistbuttonarea { + background: url(/static/img/jun09/pad/inviteshare2.gif) repeat-x 0 0; + position: absolute; + height: 28px; + left: 0; + right: 0; + bottom: 0; +} + +#hdraggie { + background: url(/static/img/jun09/pad/hdraggie.gif) repeat-x center top; + cursor: S-resize; + position: absolute; + top: 300px; + left: 0; + right: 0; + height: 10px; +} + +#padchat { + border: 1px solid #c4c4c4; + position: absolute; + top: 310px; + left: 0; + right: 0; + bottom: 0px; +} +#chatlines { + overflow: auto; + background: #fafafa; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 30px; +} +#chatbottom { + background: #ecf2fa; + padding: 4px; + position: absolute; + height: 22px; + left: 0; + right: 0; + bottom: 0px; +} + +#myswatchbox { position: absolute; left: 5px; top: 5px; width: 22px; height: 22px; + /*border-top: 1px solid #c3cfe0; border-left: 1px solid #c3cfe0; + border-right: 1px solid #ecf3fc; border-bottom: 1px solid #ecf3fc;*/ + border: 1px solid #bbb; + padding: 1px; background: transparent; cursor: pointer; } +#myuser .myswatchboxhoverable, #myuser .myswatchboxunhoverable { + background: white; +} +#myuser .myswatchboxhoverable:hover { + background: #bbb; +} +#myswatch { width: 100%; height: 100%; background: transparent;/*...initially*/ } +#mycolorpicker { + 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; + 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 .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; + cursor: pointer; } +#mycolorpickercancel { position: absolute; left: 87px; top: 102px; + width: 44px; height: 0; padding-top: 20px; overflow: hidden; + cursor: pointer; } +#myusernameform { margin-left: 35px; } +#myusernameedit { font-size: 1.6em; color: #444; + padding: 3px; height: 18px; margin: 0; border: 0; + width: 197px; background: transparent; } +#myusernameform input.editable { border: 1px solid #bbb; } +#myuser .myusernameedithoverable:hover { background: white; } +#mystatusform { margin-left: 35px; margin-top: 5px; } +#mystatusedit { font-size: 1.2em; color: #777; + font-style: italic; display: none; + padding: 2px; height: 14px; margin: 0; border: 1px solid #bbb; + width: 199px; background: transparent; } +#myusernameform .editactive, #myusernameform .editempty { + background: white; border-left: 1px solid #c3c3c3; + border-top: 1px solid #c3c3c3; + border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; +} +#myusernameform .editempty { color: #ef641e; } + +table#otheruserstable { display: none; } +#nootherusers { padding: 10px; font-size: 1.2em; color: #999; font-weight: bold;} +#nootherusers a { color: #48d; } + +#otheruserstable td { + border-bottom: 1px solid #e1e1e1; + height: 26px; + vertical-align: middle; + padding: 0 2px; +} + +#otheruserstable .swatch { + border: 1px solid #999; width: 13px; height: 13px; overflow: hidden; + margin: 0 4px; +} + +.usertdswatch { width: 1%; } +.usertdname { font-size: 1.3em; color: #444; } +.usertdstatus { font-size: 1.1em; font-style: italic; color: #999; } +.usertdactivity { font-size: 1.1em; color: #777; } + +.usertdname input { border: 1px solid #bbb; width: 80px; padding: 2px; } +.usertdname input.editactive, .usertdname input.editempty { + background: white; border-left: 1px solid #c3c3c3; + border-top: 1px solid #c3c3c3; + border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; +} +.usertdname input.editempty { color: #888; font-style: italic;} + +#sharebutton { + background: url(/static/img/jun09/pad/inviteshare2.gif) no-repeat 0 -31px; + position: absolute; display: block; top: 3px; padding-top: 23px; + height: 0; overflow: hidden; width: 96px; + left:50%; + margin-left: -48px; +} + + /*#guestslabel { font-size: 1.2em; position: absolute; width: auto; + height: 22px; line-height: 22px; top: 4px; left: 8px; } +#guestsmenu { font-size: 1.2em; position: absolute; left: 100px; + top: 5px; width: 95px; } +.guestpolicystuff { display: none; }*/ + +.guestprompt { border: 1px solid #ccc; font-size: 1.2em; + padding: 5px; color: #222; background: #ffc; } +.guestprompt .choices { float: right; } +.guestprompt a { margin: 0 0.5em; } + +#chattop { background: #ecf2fa; padding: 5px; font-size: 1.2em; border-bottom: 1px solid #ddd; } +#chattop a { color: #36b; } +#chatlines .chatline { color: #444; padding-left: 5px; padding-top: 2px; padding-bottom: 2px; + background: #ddd; overflow: hidden; } +#chatlines .chatlinetime { display: block; font-size: 1em; color: #666; float: right; width: auto; + padding-right: 5px; } +#chatlines .chatlinename, #chatlines .chatlinetext { font-size: 1.2em; } +#chatlines h2 { margin: 0; padding-left: 5px; padding-top: 2px; padding-bottom: 2px; color: #999; font-style: italic; font-weight: bold; font-size: 1.2em; } +#chatprompt { font-size: 1.2em; color: #444; float: left; line-height: 22px; width: 35px; text-align: right; } +#chatentryform { margin-left: 40px; } +#chatentrybox { font-size: 1.2em; color: #444; + padding: 2px; height: 16px; margin: 0; border-left: 1px solid #c3c3c3; + border-top: 1px solid #c3c3c3; + border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; + width: 230px; } +#padchat a#chatloadmore { display: none; font-size: 1.2em; padding: 2px 5px; font-style: italic; } +#padchat #chatloadingmore { display: none; font-size: 1.2em; padding: 2px 5px; font-style: italic; + color: #999; } +#padchat a#chatloadmore:focus { outline: 0; } + +#djs { font-family: monospace; font-size: 10pt; + height: 200px; overflow: auto; border: 1px solid #ccc; + background: #fee; margin: 0; padding: 6px; +} +#djs p { margin: 0; padding: 0; display: block; } + +.modaldialog.cboxreconnecting .modaldialog-inner, +.modaldialog.cboxconnecting .modaldialog-inner { + background: url(/static/img/jun09/pad/connectingbar.gif) no-repeat center 60px; + height: 100px; +} +.modaldialog.cboxreconnecting { + background: #fed; +} +.modaldialog.cboxconnecting, +.modaldialog.cboxdisconnected { + background: #fdd; +} +.cboxdisconnected #connectionboxinner div { display: none; } +.cboxdisconnected_userdup #connectionboxinner #disconnected_userdup { display: block; } +.cboxdisconnected_initsocketfail #connectionboxinner #disconnected_initsocketfail { display: block; } +.cboxdisconnected_looping #connectionboxinner #disconnected_looping { display: block; } +.cboxdisconnected_slowcommit #connectionboxinner #disconnected_slowcommit { display: block; } +.cboxdisconnected_unauth #connectionboxinner #disconnected_unauth { display: block; } +.cboxdisconnected_unknown #connectionboxinner #disconnected_unknown { display: block; } +.cboxdisconnected_initsocketfail #connectionboxinner #reconnect_advise, +.cboxdisconnected_looping #connectionboxinner #reconnect_advise, +.cboxdisconnected_slowcommit #connectionboxinner #reconnect_advise, +.cboxdisconnected_unknown #connectionboxinner #reconnect_advise { display: block; } +.cboxdisconnected div#reconnect_form { display: block; } +.cboxdisconnected .disconnected h2 { display: none; } +.cboxdisconnected .disconnected .h2_disconnect { display: block; } +.cboxdisconnected_userdup .disconnected h2.h2_disconnect { display: none; } +.cboxdisconnected_userdup .disconnected h2.h2_userdup { display: block; } +.cboxdisconnected_unauth .disconnected h2.h2_disconnect { display: none; } +.cboxdisconnected_unauth .disconnected h2.h2_unauth { display: block; } + +#connectionstatus { + position: absolute; width: 37px; height: 41px; overflow: hidden; + right: 0; + z-index: 11; +} +#connectionboxinner .connecting { + margin-top: 20px; + font-size: 2.0em; color: #555; + text-align: center; display: none; +} +.cboxconnecting #connectionboxinner .connecting { display: block; } + +#connectionboxinner .disconnected h2 { + font-size: 1.8em; color: #333; + text-align: left; + margin-top: 10px; margin-left: 10px; margin-right: 10px; + margin-bottom: 10px; +} +#connectionboxinner .disconnected p { + margin: 10px 10px; + font-size: 1.2em; + line-height: 1.1; + color: #333; +} +#connectionboxinner .disconnected { display: none; } +.cboxdisconnected #connectionboxinner .disconnected { display: block; } + +#connectionboxinner .reconnecting { + margin-top: 20px; + font-size: 1.6em; color: #555; + text-align: center; display: none; +} +.cboxreconnecting #connectionboxinner .reconnecting { display: block; } + +#reconnect_form button { + font-size: 12pt; +} + +/* We give docbar a higher z-index than its descendant impexp-wrapper in + order to allow the Import/Export panel to be on top of stuff lower + down on the page in IE. Strange but it works! */ +#docbar { z-index: 52; } + +#impexp-wrapper { width: 650px; right: 10px; } +#impexp-panel { height: 160px; } +.docbarimpexp-closing #impexp-wrapper { z-index: 50; } + +#savedrevs-wrapper { width: 100%; left: 0; } +#savedrevs-panel { height: 79px; } +.docbarsavedrevs-closing #savedrevs-wrapper { z-index: 50; } +#savedrevs-wrapper .dbpanel-rightedge { background-position: 0 -10px; } + +#options-wrapper { width: 340px; right: 200px; } +#options-panel { height: 114px; } +.docbaroptions-closing #options-wrapper { z-index: 50; } + +#security-wrapper { width: 320px; right: 300px; } +#security-panel { height: 130px; } +.docbarsecurity-closing #security-wrapper { z-index: 50; } + +#revision-notifier { position: absolute; right: 8px; top: 25px; + width: auto; height: auto; font-size: 1.2em; background: #ffc; + border: 1px solid #aaa; color: #444; padding: 3px 5px; + display: none; z-index: 55; } +#revision-notifier .label { color: #777; font-weight: bold; } + +/* We don't ever actually hide the wrapper, even when the panel is + cloased, so that its contents can always be manipulated accurately. */ +.dbpanel-wrapper { position: absolute; + overflow: hidden; /* animated: */ height: 0; top: 25px; /* /animated */ + z-index: 51; zoom: 1; } +.dbpanel-panel { position: absolute; bottom: 0; width: 100%; } + +.dbpanel-middle { margin-left: 7px; margin-right: 7px; + position: relative; height: 100%; overflow: hidden; zoom: 1; } +.dbpanel-inner { background: #f7f7f7 /* covered up by images */; + width: 100%; height: 100%; position: absolute; overflow: hidden; top: -10px; } + +.dbpanel-top { position: absolute; top: 0; width: 100%; + height: 400px; background-image: url(/static/img/jun09/pad/docpanelmiddle2.png); + background-position: left top; } + +.dbpanel-bottom { position: absolute; height: 400px; + bottom: -390px; width: 100%; + background-image: url(/static/img/jun09/pad/docpanelmiddle2.png); + background-position: left top; +} + +* html .dbpanel-top, * html .dbpanel-bottom { /* for IE 6+ */ + background-color: transparent; + background-image: url(/static/img/apr09/blank.gif); + /* scale the image instead of repeating, but it amounts to the same */ + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/static/img/jun09/pad/docpanelmiddle2.png", sizingMethod="scale"); +} + +.dbpanel-leftedge, .dbpanel-rightedge, .dbpanel-botleftcorner, .dbpanel-botrightcorner { + position: absolute; + background-repeat: no-repeat; + background-color: transparent; + background-image: url(/static/img/jun09/pad/docpaneledge2.png); +} + +.dbpanel-leftedge, .dbpanel-rightedge { height: 100%; width: 7px; bottom: 11px; } +.dbpanel-botleftcorner, .dbpanel-botrightcorner { height: 11px; width: 7px; bottom: 0; } + +.dbpanel-leftedge, .dbpanel-botleftcorner { left: 0; background-position: -7px 0; } +.dbpanel-rightedge, .dbpanel-botrightcorner { right: 0; background-position: 0 0; } + +#importexport { position: absolute; top: 5px; left: 0; font-size: 1.2em; color: #444; + height: 100%; width: 100%; } + +* html .dbpanel-leftedge, * html .dbpanel-rightedge, * html .dbpanel-botleftcorner, * html .dbpanel-botrightcorner { + background-color: transparent; + background-image: url(/static/img/apr09/blank.gif); + /* crop the image */ + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/static/img/jun09/pad/docpaneledge2.png", sizingMethod="crop"); +} +* html .dbpanel-leftedge, * html .dbpanel-botleftcorner { left: -7px; width: 14px; } + +#impexp-importlabel { position: absolute; top: 5px; left: 10px; width: 300px; } + +#importform { position: absolute; top: 24px; left: 5px; width: 300px; height: 60px; } +#importformsubmitdiv, #importformfilediv { padding: 5px 5px; } +#importexport .importformenabled { + background: #cfc; + border: 1px solid #292; +} +#importexport span.nowrap { white-space: nowrap; } +#importexport #importstatusball { margin-left: 3px; padding-top: 1px; display: none; } +#importexport #importarrow { margin-left: 5px; padding-top: 1px; display: none; } +#importexport .importmessage { border: 1px solid #992; + background: #ffc; padding: 5px; font-size: 85%; display: none; } +#importexport #importmessagefail { margin-top: 5px; } +#importexport #importmessagesuccess { margin: 0 20px; } +#importexport a.disabledexport { + color: #333; text-decoration: none; + opacity: 0.5; filter: alpha(opacity = 50) /*IE*/; +} +#importexport #importfileinput { padding: 2px 0; } +#importexport #importsubmitinput { padding: 2px; } + +#impexp-divider { position: absolute; left: 320px; top: 5px; height: 135px; width: 2px; + background: #ddd; } +#impexp-close { display: block; position: absolute; right: 2px; bottom: 15px; + width: auto; height: auto; font-size: 85%; color: #444; + z-index: 61 /* > clickcatcher */} +#impexp-disabled-clickcatcher { + display: none; + position: absolute; width: 100%; height: 100%; + z-index: 60; +} + +#impexp-exportlabel { position: absolute; top: 5px; left: 350px; + width: 300px; } +#exportlinks .exportlink { + display: block; position: absolute; height: 22px; width: auto; + background-repeat: no-repeat; + background-image: url(/static/img/jun09/pad/fileicons.gif); + line-height: 22px; padding-left: 22px; padding-right: 2px; +} +#exportlinks .n1 { left: 350px; top: 30px; } +#exportlinks .n2 { left: 350px; top: 57px; } +#exportlinks .n3 { left: 350px; top: 84px; } +#exportlinks .n4 { left: 485px; top: 30px; } +#exportlinks .n5 { left: 485px; top: 57px; } +#exportlinks .n6 { left: 485px; top: 84px; } +#exportlinks .exporthrefdoc { background-position: 2px -1px; } +#exportlinks .exporthrefhtml { background-position: 2px -25px; } +#exportlinks .exporthreflink { background-position: 2px -49px; } +#exportlinks .exporthrefodt { background-position: 2px -73px; } +#exportlinks .exporthrefpdf { background-position: 2px -97px; } +#exportlinks .exporthreftxt { background-position: 2px -121px; } + +#savedrevisions { position: absolute; top: 0; left: 0; font-size: 1.2em; + color: #444; height: 100%; width: 100%; } +#savedrevs-scrolly { height: 75px; width: auto; margin-right: 136px; + overflow: hidden; position: relative; top: 1px; +} +#savedrevs-scrollleft { height: 100%; width: 14px; position: absolute; + left: 0; top: 0; cursor: pointer; + background: url(/static/img/jun09/pad/savedrevarrows.gif) no-repeat right top; +} +#savedrevs-scrollright { height: 100%; width: 14px; position: absolute; + right: 0; top: 0; cursor: pointer; + background: url(/static/img/jun09/pad/savedrevarrows.gif) no-repeat left top; +} +#savedrevs-scrolly .disabledscrollleft { background-position: right bottom; } +#savedrevs-scrolly .disabledscrollright { background-position: left bottom; } +#savedrevs-scrollouter { margin-left: 14px; margin-right: 14px; + width: auto; height: 100%; overflow: hidden; position: relative; +} +#savedrevs-scrollinner { position: absolute; width: 1px; height: 100%; + overflow: visible; right: 0/*...initially*/; top: 0; } +#savedrevisions .srouterbox { width: 120px; height: 100%; + position: absolute; top: 0; +} +#savedrevisions .srinnerbox { position: relative; top: 8px; + height: 59px; width: auto; border-left: 1px solid #ddd; + padding: 0 8px 0 8px; } +#savedrevisions a.srname { display: block; white-space: nowrap; + text-overflow: ellipsis /*no FF support*/; overflow: hidden; + text-decoration: none; color: #444; cursor: text; + padding: 1px; height: 14px; position: relative; left: -1px; + width: 100px /*specify for proper overflow in IE*/; +} +#savedrevisions a.srname:hover { text-decoration: none; color: #444; + border: 1px solid #ccc; padding: 0; } +#savedrevisions .sractions { font-size: 85%; color: #ccc; + margin-top: 1px; height: 12px; } +#savedrevisions .sractions a { text-decoration: none; + color: #06c; } +#savedrevisions .sractions a:hover { text-decoration: underline; } +#savedrevisions .srtime { color: #666; font-size: 90%; + white-space: nowrap; margin-top: 3px; } +#savedrevisions .srauthor { color: #666; font-size: 90%; + white-space: nowrap; overflow: hidden; text-overflow: ellipsis /*no FF*/; +} +#savedrevisions .srtwirly { position: absolute; display: block; + bottom: 0; right: 10px; display: none; } +#savedrevisions .srnameedit { + position: absolute; +} +#savedrevs-savenow { display: block; position: absolute; + overflow: hidden; height: 0; padding-top: 24px; width: 81px; + top: 22px; right: 27px; + background: url(/static/img/jun09/pad/savedrevsgfx2.gif) no-repeat 0 0; +} +#savedrevs-savenow:active { background-position: 0 -24px; } +#savedrevs-close { display: block; position: absolute; right: 7px; bottom: 8px; + width: auto; height: auto; font-size: 85%; color: #444; } +form#reconnectform { display: none; } + +#padoptions { position: absolute; top: 0; left: 0; font-size: 1.2em; + color: #444; height: 100%; width: 100%; line-height: 15px; } +#options-viewhead { font-weight: bold; position: absolute; top: 10px; left: 15px; + width: auto; height: auto; } +#padoptions label { display: block; } +#padoptions input { padding: 0; margin: 0; } +#options-colorscheck { position: absolute; left: 15px; top: 34px; width: 15px; height: 15px; } +#options-colorslabel { position: absolute; left: 35px; top: 34px; } +#options-linenoscheck { position: absolute; left: 15px; top: 57px; width: 15px; height: 15px; } +#options-linenoslabel { position: absolute; left: 35px; top: 57px; } +#options-fontlabel { position: absolute; left: 15px; top: 82px; } +#viewfontmenu { position: absolute; top: 80px; left: 90px; width: 110px; } +#options-viewexplain { position: absolute; left: 215px; top: 15px; width: 100px; height: 70px; font-size: .7em; + padding-left: 10px; padding-top: 10px; border-left: 1px solid #ccc; + line-height: 20px; font-weight: bold; color: #999; } +#options-close { display: block; position: absolute; right: 7px; bottom: 8px; + width: auto; height: auto; font-size: 85%; color: #444; } + +#padsecurity { position: absolute; top: 0; left: 0; font-size: 1.1em; + color: #444; height: 100%; width: 100%; line-height: 15px; } +#security-close { display: block; position: absolute; right: 7px; bottom: 8px; + width: auto; height: auto; font-size: 85%; color: #444; } +#security-passhead { font-weight: bold; position: absolute; top: 90px; left: 15px; + width: auto; height: auto; } +#security-passbody { position: absolute; left: 75px; top: 90px; } +#security-passwordedit { height: 15px; border: 1px solid #bbb; + position: absolute; top: 0; left: 15px; width: 120px; } +#security-password a { text-decoration: none; display: block; + width: auto; height: auto; } +#password-savelink, #password-cancellink {position: absolute; top: 0; } +#security-password a:hover { text-decoration: underline; } +#password-savelink { left: 144px; color: #06c; } +#password-cancellink { left: 180px; color: #666; } +#password-nonedit { left: 15px; position: absolute; + width: 220px; top: 0; } +#password-setlink { color: #06c; } +#password-clearlink { color: #06c; } +#password-display { height: 15px; width: auto; } +#password-inedit { display: none; } +#password-display, #password-setlink, #password-clearlink { + float: left; margin-right: 10px; +} +#password-display { font-size: 18px; } +#security-password .nopassword #password-display { font-size: 100%; } +#security-password .nopassword #password-clearlink { display: none; } +#security-password .nopassword #password-setlink { left: 60px; } + +#security-access { position: absolute; left: 15px; width: 200px; } +#security-accesshead { font-weight: bold; position: absolute; top: 10px; + left: 0; width: auto; height: auto; } +#security-access input, #security-access label { position: absolute; } +#security-access input { left: 10px; } +#security-access label { left: 30px; width: 250px; } +#access-private, #access-private-label { top: 35px; } +#access-public, #access-public-label { top: 60px; } +#security-access label { color: #999; } +#security-access label strong { font-weight: normal; padding-right: 10px; + color: #444; } + +#mainmodals { z-index: 600; /* higher than the modals themselves + so that modals are on top in IE */ } + +.modalfield { font-size: 1.2em; padding: 1px; border: 1px solid #bbb;} +#mainmodals .editempty { color: #aaa; } + + +#feedbackbox { + position: absolute; display: none; + width: 400px; height: 270px; + left: 100px/*set in code*/; bottom: 50px; + z-index: 501; zoom: 1; +} +#feedbackbox-tl, #feedbackbox-tr, #feedbackbox-bl, #feedbackbox-br, +#feedbackbox-hide, #feedbackbox-send, #feedbackbox-back { + position: absolute; display: block; + background-repeat: no-repeat; + background-image: url(/static/img/jun09/pad/feedbackbox2.gif); +} +#feedbackbox-tl { width: 392px; + height: 262px; left: 0; top: 0; + background-position: left top; } +#feedbackbox-tr { width: 8px; height: 262px; + right: 0; top: 0; background-position: right top; } +#feedbackbox-bl { width: 392px; + height: 8px; left: 0; bottom: 0; + background-position: left bottom; } +#feedbackbox-br { width: 8px; height: 8px; bottom: 0; right: 0; + background-position: right bottom; } +#feedbackbox-hide { width: 22px; height: 22px; right: 9px; top: 7px; + background-position: -569px -6px; +} +#feedbackbox-back { width: 384px; + height: 254px; left: 8px; top: 8px; + background-position: -8px -8px; + background-color: white; } +#feedbackbox-contents { width: 384px; + height: 254px; left: 8px; top: 8px; + position: absolute; font-size: 1.4em; color: #444; } +#feedbackbox-contentsinner { padding: 10px; } +#feedbackbox-send { width: 50px; height: 22px; right: 15px; bottom: 15px; + background-position: -535px -363px; +} +#feedbackbox-email { left: 90px; top: 48px; width: 356px; height: auto; } +#feedbackbox-message { left: 90px; top: 84px; width: 358px; height: 100px; } +#feedbackbox-response { position: absolute; bottom: 15px; left: 15px; + width: 390px; height: auto; font-size: 1.2em; display: none; } +#feedbackbox .goodresponse { font-weight: bold; color: green; } +#feedbackbox .badresponse { font-weight: bold; color: red; } +#feedbackbox p { margin-bottom: 1em; } +#feedbackbox ul { margin: 1em 0 1em 2em } +#feedbackbox li { padding: 0.3em 0; } +#feedbackbox li a { display: block; font-weight: bold; } +#feedbackbox li a:hover { background: #ffe; } +#feedbackbox a, #feedbackbox li a:visited { color: #47b; } +#feedbackbox tt { font-size: 110%; } + +.expand-collapse { + height: 22px; + background-image: url(/static/img/jun09/pad/sharedistri.gif); + background-repeat: no-repeat; + background-position: 0 3px; + padding-left: 17px; + text-decoration: none; +} +.expand-collapse.expanded { + background-position: 0 -31px; +} + + +.modaldialog { + position: absolute; + top: 100px; + left:50%; + margin-left:-243px; + width: 485px; + display: none; + z-index: 501; + zoom: 1; + overflow: hidden; + background: white; + border: 1px solid #999; +} +.modaldialog .modaldialog-inner { padding: 10pt; } +.modaldialog .modaldialog-inner * { margin: 2pt; } +.modaldialog .modaldialog-hide { + float: right; + background-repeat: no-repeat; + background-image: url(/static/img/jun09/pad/sharebox4.gif); + display: block; + width: 22px; height: 22px; + background-position: -454px -6px; + margin-right:-5px; + margin-top:-5px; +} + +.modaldialog label, +.modaldialog h1 { + color:#222222; + font-size:125%; + font-weight:bold; +} + +.modaldialog th { + vertical-align: top; + text-align: left; +} + +.nonprouser #sharebox-stripe { display: none; } + +.sharebox-url { + width: 440px; height: 18px; + text-align: left; + font-size: 1.3em; + line-height: 18px; + padding: 2px; +} + +#sharebox-send { + float: right; + background-repeat: no-repeat; + background-image: url(/static/img/jun09/pad/sharebox4.gif); + display: block; + width: 87px; height: 22px; + background-position: -383px -289px; +} + + +#viewbarcontents { display: none; } +#viewzoomtitle { + position: absolute; left: 10px; top: 4px; height: 20px; line-height: 20px; + width: auto; +} +#viewzoommenu { + width: 65px; +} +#bottomarea { + height: 28px; + overflow: hidden; + position: absolute; + height: 28px; + bottom: 0px; + left: 0px; + right: 0px; + font-size: 1.2em; + color: #444; +} +#widthprefcheck { position: absolute; + background-image: url(/static/img/jun09/pad/layoutbuttons.gif); + background-repeat: no-repeat; cursor: pointer; + width: 86px; height: 20px; top: 4px; right: 2px; } +.widthprefunchecked { background-position: -1px -1px; } +.widthprefchecked { background-position: -1px -23px; } +#sidebarcheck { position: absolute; + background-image: url(/static/img/jun09/pad/layoutbuttons.gif); + background-repeat: no-repeat; cursor: pointer; + width: 86px; height: 20px; top: 4px; right: 90px; } +.sidebarunchecked { background-position: -1px -45px; } +.sidebarchecked { background-position: -1px -67px; } +#feedbackbutton { display: block; position: absolute; width: 68px; + height: 0; padding-top: 17px; overflow: hidden; + background: url(/static/img/jun09/pad/bottomareagfx.gif); + top: 5px; right: 220px; +} + +#modaloverlay { + z-index: 500; display: none; + background-image: url(/static/img/jun09/pad/overlay2.png); + background-repeat: repeat-both; + width: 100%; position: absolute; + height: 100%; left: 0; top: 0; +} + +* html #modaloverlay { /* for IE 6+ */ + opacity: 1; /* in case this is looked at */ + background-image: none; + background-repeat: no-repeat; + /* scale the image */ + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/static/img/jun09/pad/overlay2.png", sizingMethod="scale"); +} + +a#topbarmaximize { + float: right; + width: 16px; + height: 16px; + margin-right:-143px; + margin-top:4px; + background: url(/static/img/jun09/pad/maximize_normal.png); +} + +.maximized a#topbarmaximize { + background: url(/static/img/jun09/pad/maximize_maximized.png); +} + +#editbarinner h1 { + line-height: 29px; + font-size: 16px; + padding-left: 6pt; + margin-top: 0; +} + +#editbarinner h1 a { + font-size: 12px; +} + +.bigbutton { + display: block; + background-color: #a3bde0; + color: #555555; + border-style: solid; + border-width: 2px; + border-left-color: #d6e2f1; + border-right-color: #86aee1; + border-top-color: #d6e2f1; + border-bottom-color: #86aee1; + margin: 10pt; + text-align: center; + text-decoration: none; + padding: 50pt; + font-size: 20pt; + -moz-border-radius-topleft: 3pt; + -moz-border-radius-topright: 3pt; + -moz-border-radius-bottomleft: 3pt; + -moz-border-radius-bottomright: 3pt; + -webkit-border-top-left-radius: 3pt; + -webkit-border-top-right-radius: 3pt; + -webkit-border-bottom-left-radius: 3pt; + -webkit-border-bottom-right-radius: 3pt; +} + +.modaldialog .bigbutton { + padding-left: 0; + padding-right: 0; + width: 100%; +} diff --git a/static/padhtml b/static/padhtml index 0b8866cf..e3a4340b 100644 --- a/static/padhtml +++ b/static/padhtml @@ -7,9 +7,9 @@ LinePad v0.0.1: test - + - +
@@ -287,87 +104,6 @@ var clientVars = {}; // ]]>
-
-
- -
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Save
-
Cancel
-
-
-
-
-
-
-
- - -
-
Invite other users and they will show up here.
-
-
- Share -
-
-
-
- -
- Load more history... -
Loading history...
-
-
-
Chat:
-
-
-
-
From 4c9dca7ffc4114eeb78179681df58460efeacb60 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:03:25 +0000 Subject: [PATCH 04/39] Changed margin right on the right sidebar items --- static/css/pad_lite.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/pad_lite.css b/static/css/pad_lite.css index 1a5e5f11..ddf69184 100644 --- a/static/css/pad_lite.css +++ b/static/css/pad_lite.css @@ -238,7 +238,7 @@ a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; } { position:absolute; top: 6px; - right: 29px; + right: 8px; height: 24px; } From 2bf5c333fbe13bba4408abf82c42688714c51058 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:04:32 +0000 Subject: [PATCH 05/39] Changed Linepad references to Etherpad Lite --- static/padhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/padhtml b/static/padhtml index 91528375..4a6fdd02 100644 --- a/static/padhtml +++ b/static/padhtml @@ -6,7 +6,7 @@ - LinePad v0.0.1: test + Etherpad Lite v0.0.1: test @@ -100,7 +100,7 @@ var clientVars = {}; // ]]>
-
Loading...
+
Loading Etherpad Lite...
From c66a09e8d40af38afb84acb50c2f01260eb9ecc2 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:13:56 +0000 Subject: [PATCH 06/39] Changed jquery to latest Google CDN --- static/padhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/padhtml b/static/padhtml index 4a6fdd02..a737d306 100644 --- a/static/padhtml +++ b/static/padhtml @@ -19,7 +19,7 @@ var clientVars = {}; // ]]> - + From cd2fe7d66c6b9884a70559d4e5fae842b1f4a873 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:15:36 +0000 Subject: [PATCH 07/39] Removed feedback code --- static/padhtml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/static/padhtml b/static/padhtml index a737d306..e20a8e52 100644 --- a/static/padhtml +++ b/static/padhtml @@ -154,29 +154,6 @@ var clientVars = {}; // ]]> -
-
-
-
-
-
- -
-
-

Great, we love feedback! What kind?

- -

These links will open UserVoice in a new window.

-

You can also send email to feedback, support, or bugs at etherpad.com.

-
-
- -
From 9b2ecbee56338623663f7f79e22a1ada409e5c83 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:17:30 +0000 Subject: [PATCH 08/39] Removed bottom margin --- static/css/pad_lite.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/pad_lite.css b/static/css/pad_lite.css index ddf69184..31ce7c54 100644 --- a/static/css/pad_lite.css +++ b/static/css/pad_lite.css @@ -12,7 +12,7 @@ body, textarea { font-family: Arial, sans-serif; } #padpage { position: absolute; top: 0px; - bottom: 8px; + bottom: 0px; width: 100%; } From 10abf3b087459a0eaa87e0433bfa69603c4375de Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:18:36 +0000 Subject: [PATCH 09/39] Removed bottom border --- static/css/pad_lite.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/pad_lite.css b/static/css/pad_lite.css index 31ce7c54..419097eb 100644 --- a/static/css/pad_lite.css +++ b/static/css/pad_lite.css @@ -287,7 +287,7 @@ a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; } #editorcontainerbox { border-left: 1px solid #c4c4c4; border-right: 1px solid #c4c4c4; - border-bottom: 1px solid #c4c4c4; +/* border-bottom: 1px solid #c4c4c4;*/ background: #fff; bottom:0; left:0; From 64ac99add8d4d75f4977208aafa6cb9600b75bc1 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:34:50 +0000 Subject: [PATCH 10/39] Icon for users dropdown --- static/img/mar11/editbar_showusers.gif | Bin 0 -> 537 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 static/img/mar11/editbar_showusers.gif diff --git a/static/img/mar11/editbar_showusers.gif b/static/img/mar11/editbar_showusers.gif new file mode 100644 index 0000000000000000000000000000000000000000..a9fcba4796f679d04dc456310fe283b8db2c8d25 GIT binary patch literal 537 zcmZ?wbhEHb6krfwc;?A4efo488ygc76K7{PXd7J7Ji zWMpK-#Ke65{MpmfbJM0x{{H?!K|wV&HP+VF#l^+He*LntvYJ1C{+2CU!otE%oH$WZ zQW6&zcmDkOQ>RXyK7HEA$Y}TO-Rst^>*(lcZ*O;Ua!N@_nLK&2x3~A7KYz-~%3NGr zLPA2q!^1;EL%X}X%gf8xtXXsR?AgPI5BvG~J$Ufo`0?X2X3Y5h{d-zk+Rd9cySln= z+_*7k&YaTH(%|6Wq@<+k>gu0Ae{S5k(b3V-)YNpsgbB-*E&KofKf|C0ia%Kx85len zbU-cz#fbxZS%YU&b4zQRr-7anM|&%4KWn?9xQGbj^cgeURNAzKorINoo7tB-a<+S@ zJD76w^K)wo=^8e#@MLJ(xns{_3A@G3k}{&A_8JF`c&s>hR1bP`@$$-Eu+bM36yj>* gVq Date: Sat, 26 Mar 2011 14:36:11 +0000 Subject: [PATCH 11/39] Add Icon for users dropdown to html --- static/padhtml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/static/padhtml b/static/padhtml index e20a8e52..facc0c66 100644 --- a/static/padhtml +++ b/static/padhtml @@ -80,9 +80,14 @@ var clientVars = {}; // ]]> - - + + + +    + + + From 407fdb048689832f28896f25fcb599e5c811bffb Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:38:06 +0000 Subject: [PATCH 12/39] New showusers icon --- static/img/mar11/editbar_showusers.gif | Bin 537 -> 530 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/static/img/mar11/editbar_showusers.gif b/static/img/mar11/editbar_showusers.gif index a9fcba4796f679d04dc456310fe283b8db2c8d25..6a5bbc0b50cd290a2f84d5c5abceee6662b852f0 100644 GIT binary patch delta 356 zcmV-q0h|7r1d;>|M@dFFIbje05CG;!0Fe+Fe{pefJ3Bi`NlEkb^L%`Kb8~ZCTwF*< zNKa2sQc_ZAXlVNS`ihE*cXxNPva+$Uv2}HIkdTm0PEJ%*R8>_~h=_$jHOP!iA&rD05;X@BKBY$#91su@2!;c;0|B|ZxwZ$b zzegzyF$_Y#1jq!y2Fxuezd9sFzK1F$AQ}$}3J)F;8x?~#I|&H@=jiAx1|7hJfdD(9 CHIupk delta 369 zcmV-%0gnEX1epX7M@dFFIbje05CG;$0GF4SkqsDsm6eroadAjUNN8wiTwGl9^Yckb zNwTuCPft%$Qc`?;d^b#+ryQ(|IbdwYBN z`T4Q2u|YvWH8nMmkdUUPrvLx{k@1|80S12|`2+y~07(EW000005C9MWKnHe!NrHof zg@#EmE*c1jg$0iVhandf6akl*m_{UqD-%K!B8`Iwr9laYNGCuw3l9$qDH1I)gQ!UW zg1NZ7qZmG;gBctZ6+bA!G7LHh3?;!y3Jnb%&^#{@5fTc93I+p3CIjOGEaL_Sf&>lg P1Oo2w?(2-ugn Date: Sat, 26 Mar 2011 14:50:13 +0000 Subject: [PATCH 13/39] Added some animation for user bar --- static/js/pad_editbar.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index 8689dacb..ef89478f 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -78,6 +78,10 @@ var padeditbar = (function(){ }, toolbarClick: function(cmd) { if (self.isEnabled()) { + if (cmd == 'showusers') { + $('#editbar').animate({height:'72px'}); + $('#editorcontainerbox').animate({top:'72px'}); + } if (cmd == 'save') { padsavedrevs.saveNow(); } else { @@ -119,4 +123,4 @@ var padeditbar = (function(){ } }; return self; -}()); \ No newline at end of file +}()); From 1d5cf5b694bfa08307ce4d4885404a1ab47574cc Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:50:46 +0000 Subject: [PATCH 14/39] Updated README --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 51492e30..c1a022a1 100644 --- a/README +++ b/README @@ -32,7 +32,7 @@ INSTALATION RUNNING 1. cd bin -2. run.sh +2. ./run.sh TESTING 1. Open your web browser and visit http://IPSERVER:9001 From 6d0e50b048caee85420e392a06618244ad9481fa Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:58:45 +0000 Subject: [PATCH 15/39] Updated icon --- static/img/mar11/editbar_showusers.gif | Bin 530 -> 194 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/static/img/mar11/editbar_showusers.gif b/static/img/mar11/editbar_showusers.gif index 6a5bbc0b50cd290a2f84d5c5abceee6662b852f0..33eaffc04b27af6167b824844d8ebfebf244b8ac 100644 GIT binary patch literal 194 zcmZ?wbhEHb6krfwI3miBmX?;Dp8ogm-;9im-@kts7Z)#CvgGmO$GN$=uV23|FE9W0 z?c3zZlXvdi`S$JGmzQtav}xnUjisff6DCaX^YaS{2?-4i z?da(6_V$j8iwh18o-=38nl)?Ity>o!9-fkta^l2^!-o$~ojSFwtZdn`Wv5P^GBq_# zN=mwM<3>qI$<3QLtE;PBTwESJc(7&5mbA1qBO{~p=g&JjI{y6mv%9<7%F62W>C@l8 ze{XMZpFe-Tlatfr$&+{Q-hKA$**|~&%$PAFEG+E*|Njg_1StMwVPs%%XV3w;7ZfKB z?D-AuP0cN>ZSEX=eDdurCi=X*5{_*gtV|XTOtYDcX0x*P+AH?9C<&Re3)wAo7m*PV z5aeiM-p0(hbJxyo>}&VCYw{TKIPGUS!E%7@jIPFhD;2kW?OLh|Qv6(8{BnZQqRnR3 SoSY2LU%b$fJU6kJd From 46f1eb41396b3a6e8f45d7b6886f9f46ae3e7039 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 15:08:39 +0000 Subject: [PATCH 16/39] Add toggle functionality for users --- static/js/pad_editbar.js | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index ef89478f..f63b5b5f 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -79,8 +79,19 @@ var padeditbar = (function(){ toolbarClick: function(cmd) { if (self.isEnabled()) { if (cmd == 'showusers') { - $('#editbar').animate({height:'72px'}); - $('#editorcontainerbox').animate({top:'72px'}); + // get current height + var editbarheight = $('#editbar').css('height'); + if (editbarheight == "36px"){ + // increase the size of the editbar + $('#editbar').animate({height:'72px'}); + $('#editorcontainerbox').animate({top:'72px'}); + } + else + { + // increase the size of the editbar + $('#editbar').animate({height:'36px'}); + $('#editorcontainerbox').animate({top:'36px'}); + } } if (cmd == 'save') { padsavedrevs.saveNow(); From 9aff551655e67b2bd6ec8420c065a1e6a1e8a6a9 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 15:23:18 +0000 Subject: [PATCH 17/39] temporary embed image --- static/img/mar11/editbar_embed.gif | Bin 0 -> 567 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 static/img/mar11/editbar_embed.gif diff --git a/static/img/mar11/editbar_embed.gif b/static/img/mar11/editbar_embed.gif new file mode 100644 index 0000000000000000000000000000000000000000..760b229c47f520a01d092b96a67a7353bc9dca2f GIT binary patch literal 567 zcmZ?wbhEHb3}6soIKsg2|NsBAw6va{o|`vsZrZe|va&KiKmY63uW#PGIePTy)TvV+ zJ$f{M{`{tgxp zERXtOh7&!))((wrN-R80kq;Za#IkrCC(kgF@;k=Bc}d31uhq>VN~SyIR`4XA2$d_( zgp(u=Ox(2ONOZ~_HZB!z<7#EM9M1ZJ9ER?mLS=RyMn`217Eea5Bx4nJJ}zScJ*A1p zTrCXzEYAK5*jB7s!^CFHqRbiT!NfG1jYmx*V``allT!!-4`0TC@-+4>N0hUbeY&(} zs~=K2yQEa9gN-jIEH!7%^(Dbm=Gqx@mGEvhX3t%ae2szkYt0NcE-h`>~HZV49;IVqR zAdD*@CB|3r@kudG!)~36Tn$_@>SF8DOqwIl&EeqaU*>vuCQ~m{?$#`h6YPFoXJ>Hm z$XFOOYtLukRWQ*o;5s*1D*Qo#C*#$pGZ!bDHEPB$W8gGiErPaB1P1%TXlMq9UN*p}CdOfQ65% Zqq$J+aaZS_+XYX0tMfhxD>5)x0|3!p$uIx_ literal 0 HcmV?d00001 From be4a470f67ba3118cc758e9ffd7a7a924f531bd6 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 15:37:35 +0000 Subject: [PATCH 18/39] Add first bits of embed support --- static/img/mar11/editbar_embed.gif | Bin 567 -> 69 bytes static/padhtml | 2 ++ 2 files changed, 2 insertions(+) diff --git a/static/img/mar11/editbar_embed.gif b/static/img/mar11/editbar_embed.gif index 760b229c47f520a01d092b96a67a7353bc9dca2f..66eaadb0ca8c454957f39ebd0c23fb7d4fb88b22 100644 GIT binary patch literal 69 zcmZ?wbhEHb6krfwXkcLY|NnnlTAJcd76uT|0TCb>2PT=8{z}2DHx83G-uk_)DKCqs TZPAxP?r#%2EVm^yGFSruxcwH* literal 567 zcmZ?wbhEHb3}6soIKsg2|NsBAw6va{o|`vsZrZe|va&KiKmY63uW#PGIePTy)TvV+ zJ$f{M{`{tgxp zERXtOh7&!))((wrN-R80kq;Za#IkrCC(kgF@;k=Bc}d31uhq>VN~SyIR`4XA2$d_( zgp(u=Ox(2ONOZ~_HZB!z<7#EM9M1ZJ9ER?mLS=RyMn`217Eea5Bx4nJJ}zScJ*A1p zTrCXzEYAK5*jB7s!^CFHqRbiT!NfG1jYmx*V``allT!!-4`0TC@-+4>N0hUbeY&(} zs~=K2yQEa9gN-jIEH!7%^(Dbm=Gqx@mGEvhX3t%ae2szkYt0NcE-h`>~HZV49;IVqR zAdD*@CB|3r@kudG!)~36Tn$_@>SF8DOqwIl&EeqaU*>vuCQ~m{?$#`h6YPFoXJ>Hm z$XFOOYtLukRWQ*o;5s*1D*Qo#C*#$pGZ!bDHEPB$W8gGiErPaB1P1%TXlMq9UN*p}CdOfQ65% Zqq$J+aaZS_+XYX0tMfhxD>5)x0|3!p$uIx_ diff --git a/static/padhtml b/static/padhtml index facc0c66..1b91003a 100644 --- a/static/padhtml +++ b/static/padhtml @@ -91,6 +91,8 @@ var clientVars = {}; // ]]> + +    From c055fc387c2a035663e8351beee5a89c2a9fcdfb Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 15:56:40 +0000 Subject: [PATCH 19/39] Embed CSS changes --- static/css/pad_lite.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/static/css/pad_lite.css b/static/css/pad_lite.css index 419097eb..031836ee 100644 --- a/static/css/pad_lite.css +++ b/static/css/pad_lite.css @@ -266,6 +266,7 @@ a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; } .editbarbutton a { text-decoration: none; } + .editbarbutton a:active { position: relative; @@ -1126,3 +1127,20 @@ a#topbarmaximize { padding-right: 0; width: 100%; } + +#embed{ +display:none; +position:absolute; +top:42px; +margin-left:10px; +font-size:14px; +width:100%; +} + +#embedinput{ +width:80%; +height:24px; +display:inline; +padding-left:4px; +margin-left:4px; +} From 8117834010f89cd6a73f2433498433a77865ddd8 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 16:00:04 +0000 Subject: [PATCH 20/39] Embed JS --- static/js/pad_editbar.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index f63b5b5f..562148ec 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -93,6 +93,25 @@ var padeditbar = (function(){ $('#editorcontainerbox').animate({top:'36px'}); } } + if (cmd == 'embed') { + // get current height + var editbarheight = $('#editbar').css('height'); + if (editbarheight == "36px"){ + // increase the size of the editbar + $('#editbar').animate({height:'72px'}); + $('#editorcontainerbox').animate({top:'72px'}); + padurl = document.location; + $('#embed').html('Embed code:'); + $('#embed').show(); + } + else + { + // increase the size of the editbar + $('#editbar').animate({height:'36px'}); + $('#editorcontainerbox').animate({top:'36px'}); + $('#embed').hide(); + } + } if (cmd == 'save') { padsavedrevs.saveNow(); } else { From 10417db76831858e4403924bc5f19a1f9bbefe02 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 16:03:05 +0000 Subject: [PATCH 21/39] Fix minor css bug in embed --- static/css/pad_lite.css | 5 ++++- static/js/pad_editbar.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/static/css/pad_lite.css b/static/css/pad_lite.css index 031836ee..88ed8dcc 100644 --- a/static/css/pad_lite.css +++ b/static/css/pad_lite.css @@ -1132,11 +1132,14 @@ a#topbarmaximize { display:none; position:absolute; top:42px; -margin-left:10px; font-size:14px; width:100%; } +#embedcode{ +margin-left:10px; +} + #embedinput{ width:80%; height:24px; diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index 562148ec..8dfc1c33 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -101,7 +101,7 @@ var padeditbar = (function(){ $('#editbar').animate({height:'72px'}); $('#editorcontainerbox').animate({top:'72px'}); padurl = document.location; - $('#embed').html('Embed code:'); + $('#embed').html('
Embed code:'); $('#embed').show(); } else From 1afc41d60673774707a2c79301e7b9e75c1fd5be Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 16:04:07 +0000 Subject: [PATCH 22/39] Fix minor css bug in embed part 2 --- static/js/pad_editbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index 8dfc1c33..2fe8e7e8 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -101,7 +101,7 @@ var padeditbar = (function(){ $('#editbar').animate({height:'72px'}); $('#editorcontainerbox').animate({top:'72px'}); padurl = document.location; - $('#embed').html('
Embed code:'); + $('#embed').html('
Embed code:
'); $('#embed').show(); } else From 5170c29e183a479e4197973e4d74a7300a3194a4 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 17:16:19 +0000 Subject: [PATCH 23/39] Fix css href --- static/js/ace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/ace.js b/static/js/ace.js index 23396c39..fdd0473b 100644 --- a/static/js/ace.js +++ b/static/js/ace.js @@ -176,7 +176,7 @@ function Ace2Editor() { //iframeHTML.push($$INCLUDE_CSS_Q("editor.css syntax.css inner.css")); iframeHTML.push($$INCLUDE_CSS_Q("/static/css/editor.css")); - iframeHTML.push($$INCLUDE_CSS_Q("/static/css/syntax.cs")); + iframeHTML.push($$INCLUDE_CSS_Q("/static/css/syntax.css")); iframeHTML.push($$INCLUDE_CSS_Q("/static/css/inner.css")); //iframeHTML.push(INCLUDE_JS_Q_DEV("ace2_common_dev.js")); From 86eea91c228ea8c1ef024847b89aa9f308885819 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 17:16:43 +0000 Subject: [PATCH 24/39] Beginning of Users view --- static/padhtml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/static/padhtml b/static/padhtml index 1b91003a..f3b616bf 100644 --- a/static/padhtml +++ b/static/padhtml @@ -100,10 +100,15 @@ var clientVars = {}; // ]]> - - - -
+
+
+ +
John
+
+
+
+
+
From c66bce6461a5df15dccfa747e786c993f3bb99e1 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 17:17:13 +0000 Subject: [PATCH 25/39] Remove old css for displaying users and chat and add new css for new view --- static/css/pad_lite.css | 115 +++++++++++----------------------------- 1 file changed, 30 insertions(+), 85 deletions(-) diff --git a/static/css/pad_lite.css b/static/css/pad_lite.css index 88ed8dcc..d69d241a 100644 --- a/static/css/pad_lite.css +++ b/static/css/pad_lite.css @@ -318,91 +318,6 @@ a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; } } .hidesidebar #padsidebar { width: 0; overflow: hidden; } -#padsidebarfull { - border: 1px solid #c4c4c4; - background: #fafafa; - zoom: 1; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - padding: 8px; -} - -#padusers { - border: 1px solid #c4c4c4; - background: #fafafa; - zoom: 1; - position: absolute; - top: 0; - left: 0; - right: 0; - height: 300px; -} -#myuser { - background: #d9e7f9; - padding: 5px; - position: absolute; - top: 0; - left: 0; - right: 0; - height: 31px; -} -#otherusers { - overflow: auto; - position: absolute; - top: 41px; - left: 0; - right: 0; - bottom: 28px; -} -#userlistbuttonarea { - background: url(/static/img/jun09/pad/inviteshare2.gif) repeat-x 0 0; - position: absolute; - height: 28px; - left: 0; - right: 0; - bottom: 0; -} - -#hdraggie { - background: url(/static/img/jun09/pad/hdraggie.gif) repeat-x center top; - cursor: S-resize; - position: absolute; - top: 300px; - left: 0; - right: 0; - height: 10px; -} - -#padchat { - border: 1px solid #c4c4c4; - position: absolute; - top: 310px; - left: 0; - right: 0; - bottom: 0px; -} -#chatlines { - overflow: auto; - background: #fafafa; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 30px; -} -#chatbottom { - background: #ecf2fa; - padding: 4px; - position: absolute; - height: 22px; - left: 0; - right: 0; - bottom: 0px; -} - #myswatchbox { position: absolute; left: 5px; top: 5px; width: 22px; height: 22px; /*border-top: 1px solid #c3cfe0; border-left: 1px solid #c3cfe0; border-right: 1px solid #ecf3fc; border-bottom: 1px solid #ecf3fc;*/ @@ -1147,3 +1062,33 @@ display:inline; padding-left:4px; margin-left:4px; } + +#users{ +display:none; +position:absolute; +top:42px; +font-size:14px; +width:100%; +} + +#userscont{ +margin-left:8px; +} + +.user{ +height:20px; +border-style:solid; +border-width:1px; +border-color:grey; +background-color:lightblue; +display:inline; +min-width:20px; +position:absolute; +display:inline; +} + +.username{ +padding-left:4px; +padding-right:4px; +padding-top:2px; +} From 2c8a5987e4e8e7cf51d13feeaad8ad9b988a5e6d Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 17:41:56 +0000 Subject: [PATCH 26/39] Removed some uservoice and feedback chuf --- static/js/pad_modals.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/static/js/pad_modals.js b/static/js/pad_modals.js index 5cf5b0e1..37a3386f 100644 --- a/static/js/pad_modals.js +++ b/static/js/pad_modals.js @@ -76,15 +76,6 @@ var padmodals = (function() { $("#feedbackbutton").click(function() { self.showFeedback(); }); - - $("#uservoicelinks a").click(function() { - self.hideModal(); - return true; - }); - $("#feedbackemails a").each(function() { - var node = $(this); - node.attr('href', "mailto:"+node.attr('href')+"@etherpad.com"); - }); }, initShareBox: function() { $("#sharebutton, #nootherusers a").click(function() { From 50504910180dccda2e53a418f5d3ed747a0dd229 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 17:42:19 +0000 Subject: [PATCH 27/39] nice looking user demo --- static/padhtml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/static/padhtml b/static/padhtml index f3b616bf..e26834b3 100644 --- a/static/padhtml +++ b/static/padhtml @@ -102,9 +102,11 @@ var clientVars = {}; // ]]>
+ -
John
-
+ + +
John   
From fc4ef5b4300299674e2f116bef9d1ef82ee0e7f8 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 17:42:36 +0000 Subject: [PATCH 28/39] Nice looking user demo css --- static/css/pad_lite.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/static/css/pad_lite.css b/static/css/pad_lite.css index d69d241a..179eff04 100644 --- a/static/css/pad_lite.css +++ b/static/css/pad_lite.css @@ -1066,6 +1066,7 @@ margin-left:4px; #users{ display:none; position:absolute; +height:30px; top:42px; font-size:14px; width:100%; @@ -1073,9 +1074,13 @@ width:100%; #userscont{ margin-left:8px; +width:90%; +height:30px; } .user{ +padding-left:2px; +padding-right:2px; height:20px; border-style:solid; border-width:1px; @@ -1083,8 +1088,8 @@ border-color:grey; background-color:lightblue; display:inline; min-width:20px; -position:absolute; display:inline; +cursor:pointer; } .username{ From 843a45f1202162d5fb77e8ab6b68c59bba2685ab Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 17:50:23 +0000 Subject: [PATCH 29/39] yet another readme update --- README | 1 + 1 file changed, 1 insertion(+) diff --git a/README b/README index c1a022a1..3273b024 100644 --- a/README +++ b/README @@ -9,6 +9,7 @@ Why use Etherpad Lite? * Simplfied interface * Easy to embed * Well documented +* Better support for third party editors What isn't available yet when compared to Etherpad? * Timeslider From 5558e23107ce9b9378c0f02ebeaf6d72d2f7e7e7 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 18:44:30 +0000 Subject: [PATCH 30/39] Commented out pad_chat.js --- static/padhtml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/static/padhtml b/static/padhtml index e26834b3..2d4bf686 100644 --- a/static/padhtml +++ b/static/padhtml @@ -19,7 +19,11 @@ var clientVars = {}; // ]]> + + + @@ -32,7 +36,6 @@ var clientVars = {}; // ]]> - @@ -104,8 +107,51 @@ var clientVars = {}; // ]]>
- + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Save
+
Cancel
+
+ +
JohnJohn   Joe
From 3b029b638d7b8844dbb12ace44d7e71d6500cceb Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 18:45:35 +0000 Subject: [PATCH 31/39] more css for users stuff --- static/css/pad_lite.css | 27 ++++++++++++++- static/js/pad_editbar.js | 7 ++++ static/js/pad_userlist.js | 69 ++++++++++++++++++++------------------- 3 files changed, 69 insertions(+), 34 deletions(-) diff --git a/static/css/pad_lite.css b/static/css/pad_lite.css index 179eff04..1316d8d8 100644 --- a/static/css/pad_lite.css +++ b/static/css/pad_lite.css @@ -323,12 +323,15 @@ a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; } border-right: 1px solid #ecf3fc; border-bottom: 1px solid #ecf3fc;*/ border: 1px solid #bbb; padding: 1px; background: transparent; cursor: pointer; } +/* #myuser .myswatchboxhoverable, #myuser .myswatchboxunhoverable { background: white; } #myuser .myswatchboxhoverable:hover { background: #bbb; } +*/ + #myswatch { width: 100%; height: 100%; background: transparent;/*...initially*/ } #mycolorpicker { background: url(/static/img/jun09/pad/colorpicker.gif) no-repeat left top; @@ -1073,12 +1076,28 @@ width:100%; } #userscont{ -margin-left:8px; +margin-left:6px; width:90%; height:30px; } .user{ +border: 1px solid #BBBBBB; +padding-left:2px; +padding-right:2px; +height:20px; +border-style:solid; +border-width:1px; +border-color:grey; +background-color:lightblue; +display:inline; +min-width:20px; +display:inline; +cursor:default; +} + +.myuser{ +border: 1px solid #BBBBBB; padding-left:2px; padding-right:2px; height:20px; @@ -1092,6 +1111,12 @@ display:inline; cursor:pointer; } +.myuser a{ +text-decoration:none; +color:#000; +} + + .username{ padding-left:4px; padding-right:4px; diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index 2fe8e7e8..07ff2a19 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -79,28 +79,35 @@ var padeditbar = (function(){ toolbarClick: function(cmd) { if (self.isEnabled()) { if (cmd == 'showusers') { + // show users shows the current users on teh pad // get current height var editbarheight = $('#editbar').css('height'); if (editbarheight == "36px"){ // increase the size of the editbar $('#editbar').animate({height:'72px'}); $('#editorcontainerbox').animate({top:'72px'}); + $('#embed').hide(); + $('#users').show(); } else { // increase the size of the editbar $('#editbar').animate({height:'36px'}); $('#editorcontainerbox').animate({top:'36px'}); + $('#users').hide(); } } if (cmd == 'embed') { + // embed shows the embed link // get current height var editbarheight = $('#editbar').css('height'); if (editbarheight == "36px"){ // increase the size of the editbar $('#editbar').animate({height:'72px'}); $('#editorcontainerbox').animate({top:'72px'}); + // get the pad url padurl = document.location; + // change the div contents to include the pad url in an input box $('#embed').html('
Embed code:
'); $('#embed').show(); } diff --git a/static/js/pad_userlist.js b/static/js/pad_userlist.js index 6afe0d71..6b36273f 100644 --- a/static/js/pad_userlist.js +++ b/static/js/pad_userlist.js @@ -14,6 +14,42 @@ * limitations under the License. */ + var colorPickerOpen = false; + + 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); + } + } + colorPickerOpen = false; + $("#mycolorpicker").css('display', 'none'); + renderMyUserInfo(); + } + + + function showColorPicker() { + if (! colorPickerOpen) { + var palette = pad.getColorPalette(); + for(var i=0;i= 0) { // fails on NaN - myUserInfo.colorId = newColorId; - pad.notifyChangeColor(newColorId); - } - } - colorPickerOpen = false; - $("#mycolorpicker").css('display', 'none'); - renderMyUserInfo(); - } - function updateInviteNotice() { if (otherUsersInfo.length == 0) { $("#otheruserstable").hide(); From 82f427422a1370d457fde605fcee93ce4209df89 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 18:48:38 +0000 Subject: [PATCH 32/39] Updated welcome to text to read something more friendly and useful --- node/PadManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/PadManager.js b/node/PadManager.js index fc550c99..ee48eec8 100644 --- a/node/PadManager.js +++ b/node/PadManager.js @@ -25,7 +25,7 @@ var AttributePoolFactory = require("./AttributePoolFactory"); /** * The initial Text of a Pad */ -exports.startText = "Hello World\nGoodbye Etherpad"; +exports.startText = "Welcome to Etherpad Lite. This pad text is synchronized as you type, so that everyone viewing this page sees the same text."; /** * A Array with all known Pads From b26b1ebf154e5ca37723dabc0f2be3f1756a9213 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 19:47:31 +0000 Subject: [PATCH 33/39] Fix iFrame issue where console is set to top. and change to window. --- static/js/ace2_inner.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index 680e8cd0..9e868e26 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -73,8 +73,8 @@ function OUTER(gscope) { var iframePadTop = EDIT_BODY_PADDING_TOP; var iframePadBottom = 0, iframePadRight = 0; - var console = (DEBUG && top.console); - if (! console) { + var console = (DEBUG && window.console); + if (! window.console) { var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; console = {}; @@ -82,6 +82,7 @@ function OUTER(gscope) { console[names[i]] = function() {}; //console.error = function(str) { alert(str); }; } + var PROFILER = window.PROFILER; if (!PROFILER) { PROFILER = function() { return {start:noop, mark:noop, literal:noop, end:noop, cancel:noop}; }; @@ -1311,7 +1312,7 @@ function OUTER(gscope) { isTimeUp = (isTimeUp || function() { return false; }); - if (DEBUG && top.DONT_INCORP || window.DEBUG_DONT_INCORP) return false; + if (DEBUG && window.DONT_INCORP || window.DEBUG_DONT_INCORP) return false; var p = PROFILER("incorp", false); From 750c75e1dc83285e0aacc22c7a99a218e5e17469 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 19:57:17 +0000 Subject: [PATCH 34/39] Fix bug where it displayed users when showing embed div --- static/js/pad_editbar.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index 07ff2a19..28e15808 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -105,10 +105,12 @@ var padeditbar = (function(){ // increase the size of the editbar $('#editbar').animate({height:'72px'}); $('#editorcontainerbox').animate({top:'72px'}); + // hide the users + $('#users').hide(); // get the pad url padurl = document.location; // change the div contents to include the pad url in an input box - $('#embed').html('
Embed code:
'); + $('#embed').html('
Embed code:>
'); $('#embed').show(); } else From 78d8e1863423baf31173ac8fb4f359051f07a99d Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 27 Mar 2011 10:06:16 +0000 Subject: [PATCH 35/39] Remove overlay.png as it included HTML --- static/img/jun09/pad/overlay.png | 1077 ------------------------------ static/js/ace2_inner.js | 2 +- static/js/pad2.js | 17 +- 3 files changed, 9 insertions(+), 1087 deletions(-) delete mode 100644 static/img/jun09/pad/overlay.png diff --git a/static/img/jun09/pad/overlay.png b/static/img/jun09/pad/overlay.png deleted file mode 100644 index 89b6daac..00000000 --- a/static/img/jun09/pad/overlay.png +++ /dev/null @@ -1,1077 +0,0 @@ - - - - - - - - - - - - - overlay.png - - etherpad - - - Project Hosting on Google Code - - - - - - - - - - - - - - - - - - - -
-
- - - - My favorites - | Sign in - - - -
-
-
- - -
- - - - - - - - - - - - -
- -
- etherpad -
- - -
- -
- - -
- -
- -
- - -
- Project Home - - - - - - - Wiki - - - - - - - - Source - - - -
-
- - - - - - - - - - - - - - -
-
-
- -
- - Repository: - -
- - - - Checkout   - Browse   - Changes   - Clones   -
- -   - - - -
-
-
- -
- - - -
- - - - - - - -
-
- - - - - - - - - - - -
- - -

- - This file is not plain text (only UTF-8 and Latin-1 - text encodings are currently supported). - -

- - -
- -
- -
-
-
-
-
-
-

Change log

-
- 81287c8af1 - by Aaron Iba <aaroniba> - on Dec 17, 2009 -   Diff -
-
removed duplicate trunk directory
-
- - - - - - - - - - -
-
Go to:  - -
- - - - - - -
- Project members, - sign in to write a code review
- - - -
- - -
-
-
-
-
-
-
-
-
-
-
-

Older revisions

- - -
- - - a9f8774a2e - by Aaron Iba <aaroniba> - on Dec 17, 2009 -   Diff -
-
initial code push
-
- - - All revisions of this file -
-
-
-
-
-
-
-
-
-
-
-
-

File info

- -
Size: 141 bytes
- - -
- -
-
-
-
-
-
-
- - -
- -
-
- - - - - - - - - - - - - - -
- -
- Powered by Google Project Hosting -
- - - - - - - - diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index 9e868e26..8f26a99c 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -1312,7 +1312,7 @@ function OUTER(gscope) { isTimeUp = (isTimeUp || function() { return false; }); - if (DEBUG && window.DONT_INCORP || window.DEBUG_DONT_INCORP) return false; + if (DEBUG && top.DONT_INCORP || top.DEBUG_DONT_INCORP) return false; var p = PROFILER("incorp", false); diff --git a/static/js/pad2.js b/static/js/pad2.js index 7e472983..9adb1b43 100644 --- a/static/js/pad2.js +++ b/static/js/pad2.js @@ -186,7 +186,7 @@ var pad = { padeditor.init(postAceInit, pad.padOptions.view || {}); paduserlist.init(pad.myUserInfo); - padchat.init(clientVars.chatHistory, pad.myUserInfo); +// padchat.init(clientVars.chatHistory, pad.myUserInfo); padconnectionstatus.init(); padmodals.init(); @@ -214,12 +214,12 @@ var pad = { notifyChangeName: function(newName) { pad.myUserInfo.name = newName; pad.collabClient.updateUserInfo(pad.myUserInfo); - padchat.handleUserJoinOrUpdate(pad.myUserInfo); + //padchat.handleUserJoinOrUpdate(pad.myUserInfo); }, notifyChangeColor: function(newColorId) { pad.myUserInfo.colorId = newColorId; pad.collabClient.updateUserInfo(pad.myUserInfo); - padchat.handleUserJoinOrUpdate(pad.myUserInfo); + //padchat.handleUserJoinOrUpdate(pad.myUserInfo); }, notifyChangeTitle: function(newTitle) { pad.collabClient.sendClientMessage({ @@ -289,15 +289,15 @@ var pad = { }, handleUserJoin: function(userInfo) { paduserlist.userJoinOrUpdate(userInfo); - padchat.handleUserJoinOrUpdate(userInfo); + //padchat.handleUserJoinOrUpdate(userInfo); }, handleUserUpdate: function(userInfo) { paduserlist.userJoinOrUpdate(userInfo); - padchat.handleUserJoinOrUpdate(userInfo); + //padchat.handleUserJoinOrUpdate(userInfo); }, handleUserLeave: function(userInfo) { paduserlist.userLeave(userInfo); - padchat.handleUserLeave(userInfo); + //padchat.handleUserLeave(userInfo); }, handleClientMessage: function(msg) { if (msg.type == 'suggestUserName') { @@ -308,7 +308,7 @@ var pad = { } } else if (msg.type == 'chat') { - padchat.receiveChat(msg); + //padchat.receiveChat(msg); } else if (msg.type == 'padtitle') { paddocbar.changeTitle(msg.title); @@ -509,8 +509,7 @@ var pad = { '/static/img/jun09/pad/sharebox4.gif', '/static/img/jun09/pad/sharedistri.gif', '/static/img/jun09/pad/colorpicker.gif', - '/static/img/jun09/pad/docbarstates.png', - '/static/img/jun09/pad/overlay.png' + '/static/img/jun09/pad/docbarstates.png' ]; function loadNextImage() { if (images.length == 0) { From 51798f38624454fae65fe1380873abe55deb15f1 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 27 Mar 2011 10:08:08 +0000 Subject: [PATCH 36/39] Removed docbarstates.png as it included HTML --- static/img/jun09/pad/docbarstates.png | 1077 ------------------------- static/js/pad2.js | 1 - 2 files changed, 1078 deletions(-) delete mode 100644 static/img/jun09/pad/docbarstates.png diff --git a/static/img/jun09/pad/docbarstates.png b/static/img/jun09/pad/docbarstates.png deleted file mode 100644 index a489b87e..00000000 --- a/static/img/jun09/pad/docbarstates.png +++ /dev/null @@ -1,1077 +0,0 @@ - - - - - - - - - - - - - docbarstates.png - - etherpad - - - Project Hosting on Google Code - - - - - - - - - - - - - - - - - - - -
-
- - - - My favorites - | Sign in - - - -
-
-
- - -
- - - - - - - - - - - - -
- -
- etherpad -
- - -
- -
- - -
- -
- -
- - -
- Project Home - - - - - - - Wiki - - - - - - - - Source - - - -
-
- - - - - - - - - - - - - - -
-
-
- -
- - Repository: - -
- - - - Checkout   - Browse   - Changes   - Clones   -
- -   - - - -
-
-
- -
- - - -
- - - - - - - -
-
- - - - - - - - - - - -
- - -

- - This file is not plain text (only UTF-8 and Latin-1 - text encodings are currently supported). - -

- - -
- -
- -
-
-
-
-
-
-

Change log

-
- 81287c8af1 - by Aaron Iba <aaroniba> - on Dec 17, 2009 -   Diff -
-
removed duplicate trunk directory
-
- - - - - - - - - - -
-
Go to:  - -
- - - - - - -
- Project members, - sign in to write a code review
- - - -
- - -
-
-
-
-
-
-
-
-
-
-
-

Older revisions

- - -
- - - a9f8774a2e - by Aaron Iba <aaroniba> - on Dec 17, 2009 -   Diff -
-
initial code push
-
- - - All revisions of this file -
-
-
-
-
-
-
-
-
-
-
-
-

File info

- -
Size: 3314 bytes
- - -
- -
-
-
-
-
-
-
- - -
- -
-
- - - - - - - - - - - - - - -
- -
- Powered by Google Project Hosting -
- - - - - - - - diff --git a/static/js/pad2.js b/static/js/pad2.js index 9adb1b43..30f3968e 100644 --- a/static/js/pad2.js +++ b/static/js/pad2.js @@ -509,7 +509,6 @@ var pad = { '/static/img/jun09/pad/sharebox4.gif', '/static/img/jun09/pad/sharedistri.gif', '/static/img/jun09/pad/colorpicker.gif', - '/static/img/jun09/pad/docbarstates.png' ]; function loadNextImage() { if (images.length == 0) { From c9ab5aae19b15829010713a90c6ff7e8d923622e Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 27 Mar 2011 10:13:22 +0000 Subject: [PATCH 37/39] Remove overlay2.png as it contained HTML --- static/css/pad_lite.css | 2 -- static/img/jun09/pad/overlay2.png | Bin 149 -> 0 bytes 2 files changed, 2 deletions(-) delete mode 100644 static/img/jun09/pad/overlay2.png diff --git a/static/css/pad_lite.css b/static/css/pad_lite.css index 1316d8d8..00952b09 100644 --- a/static/css/pad_lite.css +++ b/static/css/pad_lite.css @@ -977,7 +977,6 @@ form#reconnectform { display: none; } #modaloverlay { z-index: 500; display: none; - background-image: url(/static/img/jun09/pad/overlay2.png); background-repeat: repeat-both; width: 100%; position: absolute; height: 100%; left: 0; top: 0; @@ -988,7 +987,6 @@ form#reconnectform { display: none; } background-image: none; background-repeat: no-repeat; /* scale the image */ - filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/static/img/jun09/pad/overlay2.png", sizingMethod="scale"); } a#topbarmaximize { diff --git a/static/img/jun09/pad/overlay2.png b/static/img/jun09/pad/overlay2.png deleted file mode 100644 index c3d3f1cc85f65775e01f78700ffa58a9ee5d74a8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 149 zcmeAS@N?(olHy`uVBq!ia0vp^EFjFm1|(O0oL2{=I14-?iy0WWg+Z8+Vb&Z8prAss zN02WAL!K!EL#a6f!?*1W4DDJB47r&M3@;WlFc>j0Fi1=m@4XZZR4eW2;uunKD=8%* np&-G5$%iMSVFOT@;s1YT2Eh;p52t=LArRlw)z4*}Q$iB}SjQlu From 9e70313c0db58c320db58b0942c639d94bddcc12 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 27 Mar 2011 10:28:55 +0000 Subject: [PATCH 38/39] Added simple Json.js to support old versions of IE --- static/js/json.js | 18 +++++++++++++ static/padhtml | 69 ++++++++++++++--------------------------------- 2 files changed, 38 insertions(+), 49 deletions(-) create mode 100644 static/js/json.js diff --git a/static/js/json.js b/static/js/json.js new file mode 100644 index 00000000..0dff7ccd --- /dev/null +++ b/static/js/json.js @@ -0,0 +1,18 @@ +if(!this.JSON){JSON=function(){function f(n){return n<10?'0'+n:n;} +Date.prototype.toJSON=function(){return this.getUTCFullYear()+'-'+ +f(this.getUTCMonth()+1)+'-'+ +f(this.getUTCDate())+'T'+ +f(this.getUTCHours())+':'+ +f(this.getUTCMinutes())+':'+ +f(this.getUTCSeconds())+'Z';};var m={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'};function stringify(value,whitelist){var a,i,k,l,r=/["\\\x00-\x1f\x7f-\x9f]/g,v;switch(typeof value){case'string':return r.test(value)?'"'+value.replace(r,function(a){var c=m[a];if(c){return c;} +c=a.charCodeAt();return'\\u00'+Math.floor(c/16).toString(16)+ +(c%16).toString(16);})+'"':'"'+value+'"';case'number':return isFinite(value)?String(value):'null';case'boolean':case'null':return String(value);case'object':if(!value){return'null';} +if(typeof value.toJSON==='function'){return stringify(value.toJSON());} +a=[];if(typeof value.length==='number'&&!(value.propertyIsEnumerable('length'))){l=value.length;for(i=0;i --> - + @@ -84,8 +84,7 @@ var clientVars = {}; // ]]> - - +    @@ -95,7 +94,21 @@ var clientVars = {}; // ]]> + + + + + + +    @@ -182,11 +195,11 @@ var clientVars = {}; // ]]>

Opened in another window.

No Authorization.

-

We're having trouble talking to the EtherPad synchronization server. +

We're having trouble talking to the EtherPad lite synchronization server. You may be connecting through an incompatible firewall or proxy server.

-

We were unable to connect to the EtherPad synchronization server. +

We were unable to connect to the EtherPad lite synchronization server. This may be due to an incompatibility with your web browser or internet connection.

@@ -195,7 +208,7 @@ var clientVars = {}; // ]]> If you'd like to use this window instead, you can reconnect.

-

Lost connection with the EtherPad synchronization +

Lost connection with the EtherPad lite synchronization server. This may be due to a loss of network connectivity.

@@ -214,49 +227,8 @@ var clientVars = {}; // ]]>
-
-
- -
-
- Public Pad: This pad is accessible to anyone who - visits its URL. To make it private, change security settings. -
-
- Private Pad: This pad is only accessible to team account-holders. To allow anyone to access it, change security settings. -
-
-
- -
- -

or send an email invitation...

- -
-
-
-
- - - - +
name="diagnosticInfo" />
- From 9a6fe31419f6719eac2f36e5cc397245c7249768 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 27 Mar 2011 10:46:45 +0000 Subject: [PATCH 39/39] Removed trailing , that broke IE7 --- static/js/ace2_inner.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index 8f26a99c..842c4ea6 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -16,8 +16,8 @@ function OUTER(gscope) { - var DEBUG=true;//$$ build script replaces the string "var DEBUG=true;//$$" with "var DEBUG=false;" - + var DEBUG=false;//$$ build script replaces the string "var DEBUG=true;//$$" with "var DEBUG=false;" +// changed to false var isSetUp = false; var THE_TAB = ' ';//4 @@ -768,7 +768,7 @@ function OUTER(gscope) { else { setAttributeOnSelection('author', ''); } - }, + } }; function execCommand(cmd) { @@ -1312,7 +1312,7 @@ function OUTER(gscope) { isTimeUp = (isTimeUp || function() { return false; }); - if (DEBUG && top.DONT_INCORP || top.DEBUG_DONT_INCORP) return false; + if (DEBUG && window.DONT_INCORP || window.DEBUG_DONT_INCORP) return false; var p = PROFILER("incorp", false); @@ -2999,7 +2999,7 @@ function OUTER(gscope) { } function handleKeyEvent(evt) { - if (DEBUG && top.DONT_INCORP) return; + // if (DEBUG && window.DONT_INCORP) return; if (! isEditable) return;