From 3bec3b312a1e235247f1431d4351db5efe7a785d Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 23 Sep 2024 14:10:17 -0500 Subject: UI: Indicate currently active menu. --- uploader/base_routes.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'uploader/base_routes.py') diff --git a/uploader/base_routes.py b/uploader/base_routes.py index a20b7ff..742a254 100644 --- a/uploader/base_routes.py +++ b/uploader/base_routes.py @@ -2,15 +2,15 @@ import os from urllib.parse import urljoin -from flask import ( - Blueprint, - render_template, - current_app as app, - send_from_directory) +from flask import (Blueprint, + current_app as app, + send_from_directory) +from uploader.ui import make_template_renderer from uploader.oauth2.client import user_logged_in base = Blueprint("base", __name__) +render_template = make_template_renderer("home") @base.route("/favicon.ico", methods=["GET"]) -- cgit v1.2.3