ui tweaks for downstream (archiveweb.page):

- don't show page editing options when in sidebar mode
- don't autorefresh in replay and sidebar not visibile
- disable plugins by default now
This commit is contained in:
Ilya Kreymer
2021-02-15 15:24:22 -08:00
parent 2fbea9b970
commit 72194c308a
7 changed files with 45 additions and 32 deletions
+4 -2
View File
@@ -182,8 +182,10 @@ class PageEntry extends LitElement
const hasSize = typeof(p.size) === "number";
const editable = this.editable && !this.isSidebar;
return html`
${this.editable ? html`
${editable ? html`
<div class="check-select">
<label class="checkbox">
<input @change=${this.onSendSelToggle} type="checkbox" .checked="${this.selected}">
@@ -229,7 +231,7 @@ class PageEntry extends LitElement
</div>
</div>
${this.editable ? html`
${editable ? html`
${!this.deleting ? html`
<button @click="${this.onSendDeletePage}" class="delete"></button>` : html`
<button class="button delete is-loading is-static"></button>