From 5b840e6421ae5b20ce946642053ff702d0588f03 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Fri, 27 Sep 2024 12:06:09 +0300 Subject: Refactor: use url_for to fetch static files. --- gn2/wqflask/templates/base.html | 22 ++++++++++++++-------- gn2/wqflask/templates/index_page.html | 17 +++++++++++------ 2 files changed, 25 insertions(+), 14 deletions(-) diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html index 8d477659..76c7df67 100644 --- a/gn2/wqflask/templates/base.html +++ b/gn2/wqflask/templates/base.html @@ -22,16 +22,22 @@ href="{{ url_for('css', filename='bootstrap/css/bootstrap.css') }}" /> + href="{{ url_for('static', filename='/new/css/bootstrap-custom.css') }}" /> - - - - + href="{{ url_for('static', filename='/new/css/non-responsive.css') }}" /> + + + + diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html index d3af519b..7044e9e3 100755 --- a/gn2/wqflask/templates/index_page.html +++ b/gn2/wqflask/templates/index_page.html @@ -4,11 +4,13 @@ - - {% block css %} - - + +