Compare commits
No commits in common. "ab55ec024005604b086ebf2ad10ea57ec5f2d485" and "f527d61c1ed8d6fe647a3d883f853e62bb456fea" have entirely different histories.
ab55ec0240
...
f527d61c1e
|
@ -629,7 +629,7 @@ fn base(body: impl FnOnce(&mut String), session: Option<&Session>) -> Html<Strin
|
||||||
<button "hx-push-url"="/" "hx-get"="/index-view" "hx-target"="main" "hx-swap"="innerHTML">"depell"</button>
|
<button "hx-push-url"="/" "hx-get"="/index-view" "hx-target"="main" "hx-swap"="innerHTML">"depell"</button>
|
||||||
<section>
|
<section>
|
||||||
if let Some(username) = username {
|
if let Some(username) = username {
|
||||||
<button "hx-push-url"={format_args!("/profile/{username}")} "hx-get"="/profile-view" "hx-target"="main"
|
<button "hx-push-url"="/profile" "hx-get"="/profile-view" "hx-target"="main"
|
||||||
"hx-swap"="innerHTML">username</button>
|
"hx-swap"="innerHTML">username</button>
|
||||||
|f|{nav_button(f, "feed"); nav_button(f, "post")}
|
|f|{nav_button(f, "feed"); nav_button(f, "post")}
|
||||||
<button "hx-delete"="/login">"logout"</button>
|
<button "hx-delete"="/login">"logout"</button>
|
||||||
|
|
Loading…
Reference in a new issue