Set a height and width attribute for the images, beautifies loading

pull/35/head
Peter 'Pita' Martischka 2011-07-06 12:53:24 +01:00
parent 60f90e7165
commit 654181b292
1 changed files with 13 additions and 13 deletions

View File

@ -31,55 +31,55 @@ var clientVars = {}; // ]]>
<ul id="menu_left"> <ul id="menu_left">
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('bold'));" title="Bold (ctrl-B)"> <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" width="16" height="16" />
</a> </a>
</li> </li>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('italic'));" title="Italics (ctrl-I)"> <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" width="16" height="16" />
</a> </a>
</li> </li>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('underline'));" title="Underline (ctrl-U)"> <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" width="16" height="16" />
</a> </a>
</li> </li>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('strikethrough'));" title="Strikethrough"> <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" width="16" height="16" />
</a> </a>
</li> </li>
<li class="separator"></li> <li class="separator"></li>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('insertunorderedlist'));" title="Toggle Bullet List"> <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" width="16" height="16" />
</a> </a>
</li> </li>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('indent'));" title="Indent List"> <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" width="16" height="16" />
</a> </a>
</li> </li>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('outdent'));" title="Unindent List"> <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" width="16" height="16" />
</a> </a>
</li> </li>
<li class="separator"></li> <li class="separator"></li>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('undo'));" title="Undo (ctrl-Z)"> <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" width="16" height="16" />
</a> </a>
</li> </li>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('redo'));" title="Redo (ctrl-Y)"> <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" width="16" height="16" />
</a> </a>
</li> </li>
<li class="separator"></li> <li class="separator"></li>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('clearauthorship'));" title="Clear Authorship Colors"> <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" width="16" height="16" />
</a> </a>
</li> </li>
</ul> </ul>
@ -88,7 +88,7 @@ var clientVars = {}; // ]]>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('embed'));" title="Embed this pad"> <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" width="16" height="16" />
</a> </a>
</li> </li>
<li class="separator"></li> <li class="separator"></li>
@ -108,12 +108,12 @@ var clientVars = {}; // ]]>
<script> <script>
$("#timesliderlink").attr("href", document.location+ '/timeslider'); $("#timesliderlink").attr("href", document.location+ '/timeslider');
</script> </script>
<img src="../static/img/editbar_timeslider.gif" /> <img src="../static/img/editbar_timeslider.gif" width="16" height="16" />
</a> </a>
</li> </li>
<li> <li>
<a href="javascript:void (window.pad&&pad.editbarClick('showusers'));" title="Show connected users"> <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" width="16" height="16" /> <span id="online_count">1</span>
</a> </a>
</li> </li>
</ul> </ul>