mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
add more blocks to pad.html
... to allow plugins to be more flexible extending etherpad
This commit is contained in:
parent
eed18feed7
commit
f4be70c45e
1 changed files with 15 additions and 3 deletions
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
<!-- head and body had been removed intentionally -->
|
<!-- head and body had been removed intentionally -->
|
||||||
|
|
||||||
|
<% e.begin_block("body"); %>
|
||||||
<div id="editbar" class="toolbar">
|
<div id="editbar" class="toolbar">
|
||||||
<ul class="menu_left">
|
<ul class="menu_left">
|
||||||
<% e.begin_block("editbarMenuLeft"); %>
|
<% e.begin_block("editbarMenuLeft"); %>
|
||||||
|
@ -118,6 +119,7 @@
|
||||||
<div id="settingsmenu" class="popup">
|
<div id="settingsmenu" class="popup">
|
||||||
<h1>Pad settings</h1>
|
<h1>Pad settings</h1>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
<% e.begin_block("mySettings"); %>
|
||||||
<h2>My view</h2>
|
<h2>My view</h2>
|
||||||
<p>
|
<p>
|
||||||
<input type="checkbox" id="options-stickychat" onClick="chat.stickToScreen();">
|
<input type="checkbox" id="options-stickychat" onClick="chat.stickToScreen();">
|
||||||
|
@ -138,16 +140,20 @@
|
||||||
<option value="monospace">Monospaced</option>
|
<option value="monospace">Monospaced</option>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
|
<% e.end_block(); %>
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
<% e.begin_block("globalSettings"); %>
|
||||||
<h2>Global view</h2>
|
<h2>Global view</h2>
|
||||||
<p>Currently nothing.</p>
|
<p>Currently nothing.</p>
|
||||||
<p class="note">These options affect everyone viewing this pad.</p>
|
<p class="note">These options affect everyone viewing this pad.</p>
|
||||||
|
<% e.end_block(); %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="importexport" class="popup">
|
<div id="importexport" class="popup">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
|
<% e.begin_block("importColumn"); %>
|
||||||
<h2>Import from text file, HTML, PDF, Word, ODT or RTF</h2><br>
|
<h2>Import from text file, HTML, PDF, Word, ODT or RTF</h2><br>
|
||||||
<form id="importform" method="post" action="" target="importiframe" enctype="multipart/form-data">
|
<form id="importform" method="post" action="" target="importiframe" enctype="multipart/form-data">
|
||||||
<div class="importformdiv" id="importformfilediv">
|
<div class="importformdiv" id="importformfilediv">
|
||||||
|
@ -165,9 +171,11 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<% e.end_block(); %>
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h2>Export current pad as</h2>
|
<h2>Export current pad as</h2>
|
||||||
|
<% e.begin_block("exportColumn"); %>
|
||||||
<a id="exporthtmla" target="_blank" class="exportlink"><div class="exporttype" id="exporthtml">HTML</div></a>
|
<a id="exporthtmla" target="_blank" class="exportlink"><div class="exporttype" id="exporthtml">HTML</div></a>
|
||||||
<a id="exportplaina" target="_blank" class="exportlink"><div class="exporttype" id="exportplain">Plain text</div></a>
|
<a id="exportplaina" target="_blank" class="exportlink"><div class="exporttype" id="exportplain">Plain text</div></a>
|
||||||
<a id="exportworda" target="_blank" class="exportlink"><div class="exporttype" id="exportword">Microsoft Word</div></a>
|
<a id="exportworda" target="_blank" class="exportlink"><div class="exporttype" id="exportword">Microsoft Word</div></a>
|
||||||
|
@ -175,10 +183,12 @@
|
||||||
<a id="exportopena" target="_blank" class="exportlink"><div class="exporttype" id="exportopen">OpenDocument</div></a>
|
<a id="exportopena" target="_blank" class="exportlink"><div class="exporttype" id="exportopen">OpenDocument</div></a>
|
||||||
<a id="exportdokuwikia" target="_blank" class="exportlink"><div class="exporttype" id="exportdokuwiki">DokuWiki text</div></a>
|
<a id="exportdokuwikia" target="_blank" class="exportlink"><div class="exporttype" id="exportdokuwiki">DokuWiki text</div></a>
|
||||||
<a id="exportwordlea" target="_blank" onClick="padimpexp.export2Wordle();return false;" class="exportlink"><div class="exporttype" id="exportwordle">Wordle</div></a>
|
<a id="exportwordlea" target="_blank" onClick="padimpexp.export2Wordle();return false;" class="exportlink"><div class="exporttype" id="exportwordle">Wordle</div></a>
|
||||||
|
<% e.end_block(); %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="embed" class="popup">
|
<div id="embed" class="popup">
|
||||||
|
<% e.begin_block("embedPopup"); %>
|
||||||
<div id="embedreadonly" class="right">
|
<div id="embedreadonly" class="right">
|
||||||
<input type="checkbox" id="readonlyinput" onClick="padeditbar.setEmbedLinks();">
|
<input type="checkbox" id="readonlyinput" onClick="padeditbar.setEmbedLinks();">
|
||||||
<label for="readonlyinput">Read only</label>
|
<label for="readonlyinput">Read only</label>
|
||||||
|
@ -198,6 +208,7 @@
|
||||||
<h2>QR code</h2>
|
<h2>QR code</h2>
|
||||||
<div id="qr_center"><img id="embedreadonlyqr"></div>
|
<div id="qr_center"><img id="embedreadonlyqr"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<% e.end_block(); %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="chatthrob"></div>
|
<div id="chatthrob"></div>
|
||||||
|
@ -271,6 +282,7 @@
|
||||||
</div>
|
</div>
|
||||||
<% e.end_block(); %>
|
<% e.end_block(); %>
|
||||||
</div>
|
</div>
|
||||||
|
<% e.end_block(); %>
|
||||||
|
|
||||||
<% e.begin_block("scripts"); %>
|
<% e.begin_block("scripts"); %>
|
||||||
<script type="text/javascript" src="../static/js/require-kernel.js"></script>
|
<script type="text/javascript" src="../static/js/require-kernel.js"></script>
|
||||||
|
|
Loading…
Reference in a new issue