diff --git a/activity.go b/activity.go index 8f19ac6..06a2ad4 100644 --- a/activity.go +++ b/activity.go @@ -600,7 +600,7 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk { } convoy, _ = obj.GetString("context") if strings.HasSuffix(convoy, "#context") && - originate(convoy) != originate(xid) { + originate(convoy) != originate(xid) { // friendica... convoy = "" } diff --git a/views/account.html b/views/account.html index 9683fdd..0523d12 100644 --- a/views/account.html +++ b/views/account.html @@ -1,16 +1,15 @@ {{ template "header.html" . }}
-

account -

logout

+

account - logout

-

about +

about me:

-

+

@@ -19,7 +18,7 @@

change password

- oldpass

- newpass -

+

diff --git a/views/header.html b/views/header.html index 84c2cb9..81425c1 100644 --- a/views/header.html +++ b/views/header.html @@ -18,8 +18,9 @@ {{ if .UserInfo }}
menu -

-

-home -@me +

{{ else }} home about diff --git a/views/honkform.html b/views/honkform.html index 08e2a07..76a8a85 100644 --- a/views/honkform.html +++ b/views/honkform.html @@ -1,10 +1,9 @@

diff --git a/views/honkpage.js b/views/honkpage.js index 10bb6fc..1adc712 100644 --- a/views/honkpage.js +++ b/views/honkpage.js @@ -183,7 +183,7 @@ function showhonkform(elem, rid, hname) { form.style = "display: block" if (elem) { form.remove() - elem.parentElement.insertAdjacentElement('beforebegin', form) + elem.parentElement.parentElement.parentElement.insertAdjacentElement('beforebegin', form) } else { elem = document.getElementById("honkformhost") elem.insertAdjacentElement('afterend', form) diff --git a/views/login.html b/views/login.html index fd2cb67..999d97b 100644 --- a/views/login.html +++ b/views/login.html @@ -5,7 +5,7 @@

login

- username

- password -

+

diff --git a/views/style.css b/views/style.css index 1d85ac5..3fd6619 100644 --- a/views/style.css +++ b/views/style.css @@ -46,24 +46,32 @@ body > header { margin: 1em auto; font-size: 1.5em; } -body > header p { - margin-left: 4em; -} body > header span { margin-left: 2em; } +body > header p { + padding: 1em; +} header > details { background: $bg-page; - padding: 1em; + padding: 1em 1em 1em 1em; position: fixed; top: 0; + left: 0; display: inline; - max-height: 100%; + max-height: calc(100% - 1em); overflow: auto; + opacity: 0.7; } header > details[open] { + padding: 1em 1em 0em 1em; background: $bg-dark; border: 1px solid $fg; + margin-bottom: 1em; + opacity: 1.0; +} +header > details ul { + margin-left: -1em; } header > details li { margin: 1em 0em 1em 0em; @@ -83,7 +91,7 @@ main { margin-top: 1em; margin-bottom: 1em; } -label, button, form input[type=submit], select { +label, button, select { font-size: 16px; font-family: monospace; color: $fg; @@ -165,7 +173,7 @@ input[type=file] { .honk header p { margin-top: 0px; } -.honk button { +.honk .actions button { margin-left: 4em; margin-top: 2em; }