Fix button icons by adding Bootstrap Icons CSS and updating CSP to allow CDN resources
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
966f97737b
commit
8c336ebf81
|
@ -59,9 +59,9 @@ if CSP_CUSTOM_CSS_HASH:
|
||||||
csp = {
|
csp = {
|
||||||
'default-src': ["'self'", "'unsafe-inline'", "'unsafe-eval'", "data:", "blob:"],
|
'default-src': ["'self'", "'unsafe-inline'", "'unsafe-eval'", "data:", "blob:"],
|
||||||
'script-src': ["'self'", "'unsafe-inline'", "'unsafe-eval'"],
|
'script-src': ["'self'", "'unsafe-inline'", "'unsafe-eval'"],
|
||||||
'style-src': ["'self'", "'unsafe-inline'"],
|
'style-src': ["'self'", "'unsafe-inline'", "cdn.jsdelivr.net"],
|
||||||
'img-src': ["'self'", "data:", "blob:"],
|
'img-src': ["'self'", "data:", "blob:"],
|
||||||
'font-src': ["'self'", "data:"],
|
'font-src': ["'self'", "data:", "cdn.jsdelivr.net"],
|
||||||
'connect-src': ["'self'", "*"],
|
'connect-src': ["'self'", "*"],
|
||||||
'manifest-src': "'self'",
|
'manifest-src': "'self'",
|
||||||
'object-src': "'none'", # Still explicitly disallow objects
|
'object-src': "'none'", # Still explicitly disallow objects
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<title>{% block title %}Project Ploughshares - Transaction Management System{% endblock %}</title>
|
<title>{% block title %}Project Ploughshares - Transaction Management System{% endblock %}</title>
|
||||||
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/custom.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/custom.css') }}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue