Compare commits
No commits in common. "2f0b4a0187a1c2a5e33bacc600a23b3c9d964a6f" and "5d9785ac2d604f81191ae1934c6e5e46f43620dc" have entirely different histories.
2f0b4a0187
...
5d9785ac2d
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"type": "tildefriends-app",
|
"type": "tildefriends-app",
|
||||||
"emoji": "🦀",
|
"emoji": "🦀",
|
||||||
"previous": "&2aHEnXfmAZgCJxML+RF6j63QIYnI4TR5QvqzCHSitNQ=.sha256"
|
"previous": "&o2PXeddklapw00HJmK23zXGnBv5UVpv+njzUVC7Xn5E=.sha256"
|
||||||
}
|
}
|
||||||
|
@ -563,14 +563,6 @@ class TfComposeElement extends LitElement {
|
|||||||
🔐
|
🔐
|
||||||
</button>`;
|
</button>`;
|
||||||
let result = html`
|
let result = html`
|
||||||
<style>
|
|
||||||
.w3-input:empty::before {
|
|
||||||
content: attr(placeholder);
|
|
||||||
}
|
|
||||||
.w3-input:empty:focus::before {
|
|
||||||
content: '';
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<div
|
<div
|
||||||
class="w3-card-4 w3-theme-d4 w3-padding-small"
|
class="w3-card-4 w3-theme-d4 w3-padding-small"
|
||||||
style="box-sizing: border-box"
|
style="box-sizing: border-box"
|
||||||
|
@ -93,7 +93,7 @@ class TfTabNewsElement extends LitElement {
|
|||||||
(this.channels_unread[channel] === undefined ||
|
(this.channels_unread[channel] === undefined ||
|
||||||
this.channels_unread[channel] <= this.channels_latest[channel])
|
this.channels_unread[channel] <= this.channels_latest[channel])
|
||||||
) {
|
) {
|
||||||
return '✉️ ';
|
return '🔵';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -158,19 +158,19 @@ class TfTabNewsElement extends LitElement {
|
|||||||
href="#"
|
href="#"
|
||||||
class="w3-bar-item w3-button"
|
class="w3-bar-item w3-button"
|
||||||
style=${this.hash == '#' ? 'font-weight: bold' : undefined}
|
style=${this.hash == '#' ? 'font-weight: bold' : undefined}
|
||||||
>${this.unread_status('')}general</a
|
>general ${this.unread_status('')}</a
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="#@"
|
href="#@"
|
||||||
class="w3-bar-item w3-button"
|
class="w3-bar-item w3-button"
|
||||||
style=${this.hash == '#@' ? 'font-weight: bold' : undefined}
|
style=${this.hash == '#@' ? 'font-weight: bold' : undefined}
|
||||||
>${this.unread_status('@')}@mentions</a
|
>@mentions ${this.unread_status('@')}</a
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="#🔐"
|
href="#🔐"
|
||||||
class="w3-bar-item w3-button"
|
class="w3-bar-item w3-button"
|
||||||
style=${this.hash == '#🔐' ? 'font-weight: bold' : undefined}
|
style=${this.hash == '#🔐' ? 'font-weight: bold' : undefined}
|
||||||
>${this.unread_status('🔐')}🔐private</a
|
>🔐private ${this.unread_status('🔐')}</a
|
||||||
>
|
>
|
||||||
${Object.keys(this.drafts)
|
${Object.keys(this.drafts)
|
||||||
.sort()
|
.sort()
|
||||||
@ -190,7 +190,7 @@ class TfTabNewsElement extends LitElement {
|
|||||||
href=${'#' + encodeURIComponent('#' + x)}
|
href=${'#' + encodeURIComponent('#' + x)}
|
||||||
class="w3-bar-item w3-button"
|
class="w3-bar-item w3-button"
|
||||||
style=${this.hash == '##' + x ? 'font-weight: bold' : undefined}
|
style=${this.hash == '##' + x ? 'font-weight: bold' : undefined}
|
||||||
>${this.unread_status(x)}#${x}</a
|
>#${x} ${this.unread_status(x)}</a
|
||||||
>
|
>
|
||||||
`
|
`
|
||||||
)}
|
)}
|
||||||
@ -239,6 +239,13 @@ class TfTabNewsElement extends LitElement {
|
|||||||
class="w3-main"
|
class="w3-main"
|
||||||
>
|
>
|
||||||
<div style="padding: 8px">
|
<div style="padding: 8px">
|
||||||
|
<div
|
||||||
|
id="show_sidebar"
|
||||||
|
class="w3-left w3-button w3-hide-large"
|
||||||
|
@click=${this.show_sidebar}
|
||||||
|
>
|
||||||
|
☰
|
||||||
|
</div>
|
||||||
<p>
|
<p>
|
||||||
${this.hash.startsWith('##')
|
${this.hash.startsWith('##')
|
||||||
? html`
|
? html`
|
||||||
@ -253,14 +260,7 @@ class TfTabNewsElement extends LitElement {
|
|||||||
`
|
`
|
||||||
: undefined}
|
: undefined}
|
||||||
</p>
|
</p>
|
||||||
<div>
|
<div class="w3-bar">
|
||||||
<div
|
|
||||||
id="show_sidebar"
|
|
||||||
class="w3-button w3-hide-large"
|
|
||||||
@click=${this.show_sidebar}
|
|
||||||
>
|
|
||||||
☰
|
|
||||||
</div>
|
|
||||||
Welcome, <tf-user id=${this.whoami} .users=${this.users}></tf-user>!
|
Welcome, <tf-user id=${this.whoami} .users=${this.users}></tf-user>!
|
||||||
${edit_profile}
|
${edit_profile}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user