mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-25 08:26:52 +00:00
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
|
title: $:/plugins/tiddlywiki/multiwikiserver/templates/anon-config-modal
|
||
|
subtitle: Anonymous Access Configuration
|
||
|
class: mws-modal
|
||
|
|
||
|
<div class="mws-modal-container">
|
||
|
<div class="mws-modal-content">
|
||
|
<h1>Anonymous Access Configuration</h1>
|
||
|
<p>This configuration allows anonymous users to read and write to the wiki.</p>
|
||
|
<form class="mws-anon-config-form" method="POST" action="/admin/post-anon-config">
|
||
|
<div class="mws-modal-section">
|
||
|
<$set name="isChecked" value={{{ [[$:/config/MultiWikiServer/AllowAnonymousReads]get[text]] }}}>
|
||
|
<input type="checkbox" name="allowReads" checked=<<isChecked>>/> Allow anonymous reads
|
||
|
</$set>
|
||
|
</div>
|
||
|
<div class="mws-modal-section">
|
||
|
<$set name="isChecked" value={{{ [[$:/config/MultiWikiServer/AllowAnonymousWrites]get[text]] }}}>
|
||
|
<input type="checkbox" name="allowWrites" checked=<<isChecked>>/> Allow anonymous writes
|
||
|
</$set>
|
||
|
</div>
|
||
|
<div class="mws-modal-buttons">
|
||
|
<button type="submit" class="mws-modal-button-primary">
|
||
|
Save Changes
|
||
|
</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|