From 291d7e404e12e1d017403242f8ed199046f0904c Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 17 Nov 2022 19:21:00 -0700 Subject: Logged out experience, config, and profiles --- templates/activities/_menu.html | 38 +++++++++++++++++++++++++-------- templates/auth/login.html | 12 +++++------ templates/base.html | 45 ++++++++++++++++++++-------------------- templates/forms/_field.html | 9 ++++++-- templates/identity/_menu.html | 12 ++++++++--- templates/identity/view.html | 2 ++ templates/index.html | 12 ++++++----- templates/settings/_menu.html | 6 ++++++ templates/settings/settings.html | 2 +- 9 files changed, 90 insertions(+), 48 deletions(-) (limited to 'templates') diff --git a/templates/activities/_menu.html b/templates/activities/_menu.html index 6bb18c2..a671712 100644 --- a/templates/activities/_menu.html +++ b/templates/activities/_menu.html @@ -2,15 +2,35 @@ Home - - Notifications - - - Local - - - Federated - + {% if request.user.is_authenticated %} + + Notifications + + + Local + + + Federated + +
+ + Compose + + + Search + + + Settings + + {% else %} + + Local Posts + + + + Create Account + + {% endif %} {% if current_page == "home" %} diff --git a/templates/auth/login.html b/templates/auth/login.html index c892c78..b3b0a05 100644 --- a/templates/auth/login.html +++ b/templates/auth/login.html @@ -3,14 +3,14 @@ {% block title %}Login{% endblock %} {% block content %} -