diff --git a/app.py b/app.py index d9b5582..02d8be1 100644 --- a/app.py +++ b/app.py @@ -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(): diff --git a/templates/dashboard.html b/templates/dashboard.html index 9e79e62..3b8d6e2 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -25,41 +25,32 @@ class="flex items-center gap-3 rounded-lg px-3 py-2 text-gray-500 transition-all hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-50 cursor-pointer" href="{{ url_for('home.index') }}"> - - + stroke-linecap="round" stroke-linejoin="round" class="h-4 w-4" data-id="20"> + + Home - + hx-swap="innerHTML" hx-push-url="true"> + + HTTP - - - - + hx-push-url="true"> + + Timer - - - - - Analytics