Fixed some publicWebHostring UI issues in the ssb app.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4667 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-12-09 19:26:33 +00:00
parent 360d0bc110
commit 99998aac8a
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "🐌", "emoji": "🐌",
"previous": "&vIYnoUkbz97WRvyunV+ETe+Y6tJk7tTEVvgYuwkoDiM=.sha256" "previous": "&dO6ckMIPVv9QvSc+0TOg0S59qe+rirPo2a6p9xSHj9M=.sha256"
} }

View File

@ -106,6 +106,7 @@ class TfProfileElement extends LitElement {
name: original.name, name: original.name,
description: original.description, description: original.description,
image: original.image, image: original.image,
publicWebHosting: original.publicWebHosting,
}; };
console.log(this.editing); console.log(this.editing);
} }
@ -220,7 +221,7 @@ class TfProfileElement extends LitElement {
<textarea style="flex: 1 0" id="description" @input=${event => this.editing = Object.assign({}, this.editing, {description: event.srcElement.value})}>${this.editing.description}</textarea> <textarea style="flex: 1 0" id="description" @input=${event => this.editing = Object.assign({}, this.editing, {description: event.srcElement.value})}>${this.editing.description}</textarea>
<div> <div>
<label for="public_web_hosting">Public Web Hosting:</label> <label for="public_web_hosting">Public Web Hosting:</label>
<input type="checkbox" id="public_web_hosting" value=${this.editing.public_web_hosting} @input=${event => this.editing = Object.assign({}, this.editing, {publicWebHosting: event.srcElement.checked})}></input> <input type="checkbox" id="public_web_hosting" ?checked=${this.editing.publicWebHosting} @input=${event => self.editing = Object.assign({}, self.editing, {publicWebHosting: event.srcElement.checked})}></input>
</div> </div>
<div> <div>
<input type="button" value="Attach Image" @click=${this.attach_image}></input> <input type="button" value="Attach Image" @click=${this.attach_image}></input>