Update dashboard navigation and login redirect

- Modify login route to redirect to home index instead of dashboard
- Refresh dashboard sidebar icons with new SVG designs
- Remove Analytics sidebar item from dashboard template
This commit is contained in:
Peter Stockings
2025-02-20 23:53:55 +11:00
parent 2d47235d95
commit 02e703c62f
2 changed files with 15 additions and 24 deletions

2
app.py
View File

@@ -391,7 +391,7 @@ def login():
#flask.flash('Logged in successfully.')
next = request.args.get('next')
return redirect(next or url_for('dashboard'))
return redirect(next or url_for('home.index'))
@app.route('/signup', methods=['GET', 'POST'])
def signup():