Give some feedback about encrypted wiki pages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4658 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
b13b111614
commit
dd909bfe53
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "📝",
|
"emoji": "📝",
|
||||||
"previous": "&LQxzXMctRw4GkxIfsqFFSWhn+8xclOinS/O2q8n1Vfc=.sha256"
|
"previous": "&2z1RieeV0Kxp9DoT1Jor5tKImA3n4Sh4Dar0+BZpQxY=.sha256"
|
||||||
}
|
}
|
@ -179,7 +179,8 @@ class TfWikiDocElement extends LitElement {
|
|||||||
<button ?disabled=${!this.is_editing} @click=${this.on_discard}>Discard</button>
|
<button ?disabled=${!this.is_editing} @click=${this.on_discard}>Discard</button>
|
||||||
<button ?disabled=${!this.is_editing} @click=${() => self.value = Object.assign({}, self.value, {private: !self.value.private})}>${this.value?.private ? 'Make Public' : 'Make Private'}</button>
|
<button ?disabled=${!this.is_editing} @click=${() => self.value = Object.assign({}, self.value, {private: !self.value.private})}>${this.value?.private ? 'Make Public' : 'Make Private'}</button>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex; flex-direction: row">
|
<div ?hidden=${!this.value?.private} style="color: #800">document is private</div>
|
||||||
|
<div style="display: flex; flex-direction: row; ${this.value?.private ? 'border-top: 4px solid #800' : ''}">
|
||||||
<textarea
|
<textarea
|
||||||
?hidden=${!this.is_editing}
|
?hidden=${!this.is_editing}
|
||||||
style="flex: 1 1; min-height: 10em; ${this.value?.private ? 'border: 4px solid #800' : ''}"
|
style="flex: 1 1; min-height: 10em; ${this.value?.private ? 'border: 4px solid #800' : ''}"
|
||||||
|
Loading…
Reference in New Issue
Block a user