mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Now working. The password can be set from within the pad editor.
Currently there are only two remaining issues: 1 After the password is set, re-authentication is needed 2 The toolbar button does not yet have a nice icon
This commit is contained in:
parent
c905fd76c1
commit
a161b59601
8 changed files with 56 additions and 49 deletions
|
@ -96,6 +96,11 @@
|
|||
<div class="buttonicon" style="background-position:0px -18px"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li onClick="window.pad&&pad.editbarClick('password');return false;" >
|
||||
<a id="setpasswordlink" title="Set the password of this pad">
|
||||
<div class="buttonicon" style="background-position:0px -18px"></div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="separator"></li>
|
||||
<li id="timesliderlink" onClick="document.location = document.location.pathname+ '/timeslider'">
|
||||
<a title="Show the history of this pad">
|
||||
|
@ -178,6 +183,15 @@
|
|||
|
||||
</div>
|
||||
|
||||
<!-- password setting code -->
|
||||
|
||||
<div id="setpassword">
|
||||
<form id="setpasswordform" action="">
|
||||
<input type="password" id="setpasswordfield">
|
||||
<input type="submit" value="Set" id="setpasswordsubmit" onClick="setPassword()">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- import export code -->
|
||||
<div id="importexport">
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue