Fiddling with buttons.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4763 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2024-01-13 03:03:03 +00:00
parent dc0e58afc1
commit 331846ee2e
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🐌",
"previous": "&aqKwpmeLdHyypzeyvuH0xCn5U8trsZ+NPY8safqAyYo=.sha256"
"previous": "&aZVxNuiPov7LSAmnCoNa7HTryMSLhO83QqLhQ9K9JH8=.sha256"
}

View File

@ -106,8 +106,10 @@ class TfTabNewsElement extends LitElement {
let profile = this.hash.startsWith('#@') ?
html`<tf-profile id=${this.hash.substring(1)} whoami=${this.whoami} .users=${this.users}></tf-profile>` : undefined;
return html`
<div><button class="w3-button w3-dark-grey" @click=${this.show_more}>${this.new_messages_text()}</button></div>
<a target="_top" href="#" ?hidden=${this.hash.length <= 1}>🏠Home</a>
<p class="w3-bar">
<button class="w3-bar-item w3-button w3-grey" ?hidden=${this.hash.length <= 1}>🏠 Home</button>
<button class="w3-bar-item w3-button w3-dark-grey" @click=${this.show_more}>${this.new_messages_text()}</button>
</p>
<div>Welcome, <tf-user id=${this.whoami} .users=${this.users}></tf-user>!</div>
<div><tf-compose id="tf-compose" whoami=${this.whoami} .users=${this.users} .drafts=${this.drafts} @tf-draft=${this.draft}></tf-compose></div>
${profile}