diff options
author | Peter Martischka <petermartischka@googlemail.com> | 2010-04-07 15:57:32 +0200 |
---|---|---|
committer | Peter Martischka <pita@pitapoison.de> | 2010-04-07 15:57:32 +0200 |
commit | aad6d156a407640baeddce9cf78ea6545e547788 (patch) | |
tree | d15c05b88f9b43e97ab4bb4f86714bb6ecf907fb /etherpad/src/templates | |
parent | ceaf334e40ea01d58a5ace5417b9c6df78fe31e8 (diff) | |
download | etherpad-aad6d156a407640baeddce9cf78ea6545e547788.tar.gz etherpad-aad6d156a407640baeddce9cf78ea6545e547788.tar.bz2 etherpad-aad6d156a407640baeddce9cf78ea6545e547788.zip |
Redesign of the editbar
Diffstat (limited to 'etherpad/src/templates')
-rw-r--r-- | etherpad/src/templates/pad/pad_body2.ejs | 60 |
1 files changed, 46 insertions, 14 deletions
diff --git a/etherpad/src/templates/pad/pad_body2.ejs b/etherpad/src/templates/pad/pad_body2.ejs index c359b14..4382e8f 100644 --- a/etherpad/src/templates/pad/pad_body2.ejs +++ b/etherpad/src/templates/pad/pad_body2.ejs @@ -1,4 +1,6 @@ -<% /* Copyright 2009 Google Inc. +<% /* +Copyright 2009 Google Inc. +Copyright 2010 Pita, Peter Martischka Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -427,19 +429,49 @@ limitations under the License. */ %> <div id="editbarright"><!-- --></div> <% /* non-floated */ %> <div id="editbarinner"> - <a href="javascript:void (window.pad&&pad.editbarClick('bold'));" class="editbarbutton bold" title="Bold (ctrl-B)"> </a> - <a href="javascript:void (window.pad&&pad.editbarClick('italic'));" class="editbarbutton italic" title="Italics (ctrl-I)"> </a> - <a href="javascript:void (window.pad&&pad.editbarClick('underline'));" class="editbarbutton underline" title="Underline (ctrl-U)"> </a> - <a href="javascript:void (window.pad&&pad.editbarClick('strikethrough'));" class="editbarbutton strikethrough" title="Strikethrough"> </a> - <a href="javascript:void (window.pad&&pad.editbarClick('clearauthorship'));" class="editbarbutton clearauthorship" title="Clear Authorship Colors"> </a> - <a href="javascript:void (window.pad&&pad.editbarClick('undo'));" class="editbarbutton undo" title="Undo (ctrl-Z)"> </a> - <a href="javascript:void (window.pad&&pad.editbarClick('redo'));" class="editbarbutton redo" title="Redo (ctrl-Y)"> </a> - <a href="javascript:void (window.pad&&pad.editbarClick('insertunorderedlist'));" class="editbarbutton insertunorderedlist" title="Toggle Bullet List"> </a> - <a href="javascript:void (window.pad&&pad.editbarClick('indent'));" class="editbarbutton indent" title="Indent List"> </a> - <a href="javascript:void (window.pad&&pad.editbarClick('outdent'));" class="editbarbutton outdent" title="Unindent List"> </a> - <div id="syncstatussyncing" title="Syncing..."><!-- --></div> - <div id="syncstatusdone" title="Synced."><!-- --></div> - <a href="javascript:void (window.pad&&pad.editbarClick('save'));" class="editbarbutton save" title="Save Revision"> </a> + <table cellpadding="0" cellspacing="0" border = "0" id="editbartable"><tr> + <td nowrap><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td> + <td nowrap 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 nowrap 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 nowrap 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 nowrap 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 nowrap><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td> + + <td> </td> + + <td nowrap><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td> + <td nowrap 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 nowrap><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td> + + <td> </td> + + <td nowrap><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td> + <td nowrap class="editbarbutton editbargroupsfirst"><a href="javascript:void (window.pad&&pad.editbarClick('indent'));" title="Indent List"><img src="/static/img/jun09/pad/editbar_indent.gif"></a></td> + <td nowrap 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 nowrap><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td> + + <td> </td> + + <td nowrap><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td> + <td nowrap 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 nowrap><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td> + + <td> </td> + + <td nowrap><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td> + <td nowrap class="editbarbutton editbargroupsfirst"><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 nowrap 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 nowrap><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"> + <tr> + <td nowrap><img src="/static/img/jun09/pad/editbar_groupleft.gif" width="2" height="24"></td> + <td nowrap class="editbarbutton editbargroupsfirst"><a href="javascript:void (window.pad&&pad.editbarClick('save'));" title="Save Revision"><img src="/static/img/jun09/pad/editbar_save.gif"></a></td> + <td nowrap><img src="/static/img/jun09/pad/editbar_groupright.gif" width="2" height="24"></td> + </tr> + </table> </div> </div> <div id="editorcontainerbox"> |