aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/base.html
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-27 12:06:09 +0300
committerAlexander_Kabui2024-09-27 12:06:09 +0300
commit5b840e6421ae5b20ce946642053ff702d0588f03 (patch)
treee28010cfbb9db3c7dd289fb85e4429c688c82cf4 /gn2/wqflask/templates/base.html
parente062ac387aa48c40f8cfba720cbbfc7fc86320d1 (diff)
downloadgenenetwork2-5b840e6421ae5b20ce946642053ff702d0588f03.tar.gz
Refactor: use url_for to fetch static files.
Diffstat (limited to 'gn2/wqflask/templates/base.html')
-rw-r--r--gn2/wqflask/templates/base.html22
1 files changed, 14 insertions, 8 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') }}" />
<link REL="stylesheet"
TYPE="text/css"
- href="/static/new/css/bootstrap-custom.css" />
+ href="{{ url_for('static', filename='/new/css/bootstrap-custom.css') }}" />
<link REL="stylesheet"
TYPE="text/css"
- href="/static/new/css/non-responsive.css" />
- <link REL="stylesheet" TYPE="text/css" href="/static/new/css/docs.css" />
- <link rel="stylesheet" type="text/css" href="/static/new/css/colorbox.css" />
- <link rel="stylesheet" type="text/css" href="/static/new/css/parsley.css" />
- <link rel="stylesheet"
- type="text/css"
- href="/static/new/css/broken_links.css" />
+ href="{{ url_for('static', filename='/new/css/non-responsive.css') }}" />
+ <link REL="stylesheet"
+ TYPE="text/css"
+ href="{{ url_for('static', filename='/new/css/docs.css') }}" />
+ <link REL="stylesheet"
+ TYPE="text/css"
+ href="{{ url_for('static', filename='/new/css/colorbox.css') }}" />
+ <link REL="stylesheet"
+ TYPE="text/css"
+ href="{{ url_for('static', filename='/new/css/parsley.css') }}" />
+ <link REL="stylesheet"
+ TYPE="text/css"
+ href="{{ url_for('static', filename='/new/css/broken_links.css') }}" />
<link rel="stylesheet"
type="text/css"
href="{{ url_for('css', filename='fontawesome/css/font-awesome.min.css') }}" />