diff options
author | Peter 'Pita' Martischka <petermartischka@googlemail.com> | 2011-07-05 20:16:45 +0200 |
---|---|---|
committer | Peter 'Pita' Martischka <petermartischka@googlemail.com> | 2011-07-05 20:16:45 +0200 |
commit | 973d73ebee77fba60e8ca6baa85c55afbf5ace15 (patch) | |
tree | 42a11b5eb8df4829e80583320ba76e4a98a49327 /static/pad.html | |
parent | ee2c8f4524329dd766a1fb19c72eb145cb0e921d (diff) | |
download | etherpad-lite-973d73ebee77fba60e8ca6baa85c55afbf5ace15.zip |
ensure all paths are relative
Diffstat (limited to 'static/pad.html')
-rw-r--r-- | static/pad.html | 53 |
1 files changed, 17 insertions, 36 deletions
diff --git a/static/pad.html b/static/pad.html index 5b263648..abdfa238 100644 --- a/static/pad.html +++ b/static/pad.html @@ -9,9 +9,9 @@ <title>Etherpad Lite</title> <!-- <base href="http://localhost:9001/" />--> <!-- CSS --> -<link href="/static/css/pad_lite.css" rel="stylesheet" type="text/css"/> +<link href="../static/css/pad_lite.css" rel="stylesheet" type="text/css"/> <!--[if lte IE 7]> -<link href="/static/css/pad_ie_lite.css" rel="stylesheet" type="text/css"/> +<link href="../static/css/pad_ie_lite.css" rel="stylesheet" type="text/css"/> <![endif]--> <!-- javascript --> <script type="text/javascript"> @@ -19,27 +19,8 @@ var clientVars = {}; // ]]> </script> -<script type="text/javascript" src="/socket.io/socket.io.js"></script> - -<!--<script type="text/javascript" src="/static/js/plugins.js"></script> -<script type="text/javascript" src="/static/js/undo-xpopup.js"></script> -<script type="text/javascript" src="/static/js/json2.js"></script> -<script type="text/javascript" src="/static/js/pad_utils.js"></script> -<script type="text/javascript" src="/static/js/pad_cookie.js"></script> -<script type="text/javascript" src="/static/js/pad_editor.js"></script> -<script type="text/javascript" src="/static/js/pad_editbar.js"></script> -<script type="text/javascript" src="/static/js/pad_docbar.js"></script> -<script type="text/javascript" src="/static/js/pad_modals.js"></script> -<script type="text/javascript" src="/static/js/ace.js"></script> -<script type="text/javascript" src="/static/js/collab_client.js"></script> -<script type="text/javascript" src="/static/js/pad_userlist.js"></script> -<script type="text/javascript" src="/static/js/pad_impexp.js"></script> -<script type="text/javascript" src="/static/js/pad_savedrevs.js"></script> -<script type="text/javascript" src="/static/js/pad_connectionstatus.js"></script> -<script type="text/javascript" src="/static/js/pad2.js"></script> ---> - -<script type="text/javascript" src="/minified/pad.js"></script> +<script type="text/javascript" src="../socket.io/socket.io.js"></script> +<script type="text/javascript" src="../minified/pad.js"></script> </head> @@ -50,38 +31,38 @@ var clientVars = {}; // ]]> <ul id="menu_left"> <li> <a href="javascript:void (window.pad&&pad.editbarClick('bold'));" title="Bold (ctrl-B)"> - <img src="/static/img/editbar_bold.gif" /> + <img src="../static/img/editbar_bold.gif" /> </a> </li> <li> <a href="javascript:void (window.pad&&pad.editbarClick('italic'));" title="Italics (ctrl-I)"> - <img src="/static/img/editbar_italic.gif"> + <img src="../static/img/editbar_italic.gif"> </a> </li> <li> <a href="javascript:void (window.pad&&pad.editbarClick('underline'));" title="Underline (ctrl-U)"> - <img src="/static/img/editbar_underline.gif" /> + <img src="../static/img/editbar_underline.gif" /> </a> </li> <li> <a href="javascript:void (window.pad&&pad.editbarClick('strikethrough'));" title="Strikethrough"> - <img src="/static/img/editbar_strikethrough.gif" /> + <img src="../static/img/editbar_strikethrough.gif" /> </a> </li> <li class="separator"></li> <li> <a href="javascript:void (window.pad&&pad.editbarClick('insertunorderedlist'));" title="Toggle Bullet List"> - <img src="/static/img/editbar_insertunorderedlist.gif" /> + <img src="../static/img/editbar_insertunorderedlist.gif" /> </a> </li> <li> <a href="javascript:void (window.pad&&pad.editbarClick('indent'));" title="Indent List"> - <img src="/static/img/editbar_indent.gif" /> + <img src="../static/img/editbar_indent.gif" /> </a> </li> <li> <a href="javascript:void (window.pad&&pad.editbarClick('outdent'));" title="Unindent List"> - <img src="/static/img/editbar_outdent.gif" /> + <img src="../static/img/editbar_outdent.gif" /> </a> </li> </ul> @@ -89,12 +70,12 @@ var clientVars = {}; // ]]> <ul id="menu_right"> <li> <a href="javascript:void (window.pad&&pad.editbarClick('undo'));" title="Undo (ctrl-Z)"> - <img src="/static/img/editbar_undo.gif" /> + <img src="../static/img/editbar_undo.gif" /> </a> </li> <li> <a href="javascript:void (window.pad&&pad.editbarClick('redo'));" title="Redo (ctrl-Y)"> - <img src="/static/img/editbar_redo.gif" /> + <img src="../static/img/editbar_redo.gif" /> </a> </li> @@ -103,14 +84,14 @@ var clientVars = {}; // ]]> <script> $("#timesliderlink").attr("href", document.location+ '/timeslider'); </script> - <img src="/static/img/editbar_timeslider.gif" /> + <img src="../static/img/editbar_timeslider.gif" /> </a> </li> <li> <a href="javascript:void (window.pad&&pad.editbarClick('embed'));" title="Embed this pad"> - <img src="/static/img/editbar_embed.gif" /> + <img src="../static/img/editbar_embed.gif" /> </a> </li> <li> @@ -126,12 +107,12 @@ var clientVars = {}; // ]]> <li class="separator"></li> <li> <a href="javascript:void (window.pad&&pad.editbarClick('clearauthorship'));" title="Clear Authorship Colors"> - <img src="/static/img/editbar_clearauthorship.gif" /> + <img src="../static/img/editbar_clearauthorship.gif" /> </a> </li> <li> <a href="javascript:void (window.pad&&pad.editbarClick('showusers'));" title="Show connected users"> - <img id="showusersicon" src="/static/img/editbar_showusers.gif" /> <span id="online_count">1</span> + <img id="showusersicon" src="../static/img/editbar_showusers.gif" /> <span id="online_count">1</span> </a> </li> </ul> |