diff --git a/claims/templatetags/claims_extras.py b/claims/templatetags/claims_extras.py index 118c35f..3f41fd4 100644 --- a/claims/templatetags/claims_extras.py +++ b/claims/templatetags/claims_extras.py @@ -15,6 +15,13 @@ def evidence_label(value): return dict(Claim.EvidenceLevel.choices).get(value, value) +@register.filter +def quoted(value): + if not value: + return value + return f'„{value}"' + + @register.inclusion_tag('claims/partials/status_badge.html') def status_badge(claim): return {'claim': claim} diff --git a/static/css/custom.css b/static/css/custom.css index 434d296..ddcd001 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -74,8 +74,13 @@ body { justify-content: center; width: 1.75rem; height: 1.75rem; - color: var(--fk-accent); - font-size: 1.15rem; + flex-shrink: 0; +} + +.fk-brand-icon img { + display: block; + width: 100%; + height: 100%; } .fk-nav-links { diff --git a/static/img/android-chrome-192x192.png b/static/img/android-chrome-192x192.png new file mode 100644 index 0000000..201c57b Binary files /dev/null and b/static/img/android-chrome-192x192.png differ diff --git a/static/img/android-chrome-512x512.png b/static/img/android-chrome-512x512.png new file mode 100644 index 0000000..32d9642 Binary files /dev/null and b/static/img/android-chrome-512x512.png differ diff --git a/static/img/apple-touch-icon.png b/static/img/apple-touch-icon.png new file mode 100644 index 0000000..360367e Binary files /dev/null and b/static/img/apple-touch-icon.png differ diff --git a/static/img/favicon-16x16.png b/static/img/favicon-16x16.png new file mode 100644 index 0000000..090a721 Binary files /dev/null and b/static/img/favicon-16x16.png differ diff --git a/static/img/favicon-32x32.png b/static/img/favicon-32x32.png new file mode 100644 index 0000000..bd7b879 Binary files /dev/null and b/static/img/favicon-32x32.png differ diff --git a/static/img/favicon.ico b/static/img/favicon.ico new file mode 100644 index 0000000..fcd5e9f Binary files /dev/null and b/static/img/favicon.ico differ diff --git a/static/img/favicon.svg b/static/img/favicon.svg new file mode 100644 index 0000000..966ffa4 --- /dev/null +++ b/static/img/favicon.svg @@ -0,0 +1,8 @@ + diff --git a/static/img/logo.svg b/static/img/logo.svg new file mode 100644 index 0000000..0b802d6 --- /dev/null +++ b/static/img/logo.svg @@ -0,0 +1,11 @@ + diff --git a/static/img/safari-pinned-tab.svg b/static/img/safari-pinned-tab.svg new file mode 100644 index 0000000..dbdf1d6 --- /dev/null +++ b/static/img/safari-pinned-tab.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/static/site.webmanifest b/static/site.webmanifest new file mode 100644 index 0000000..cb718a1 --- /dev/null +++ b/static/site.webmanifest @@ -0,0 +1,20 @@ +{ + "name": "Faktenkompass", + "short_name": "Faktenkompass", + "description": "Überprüfbare Fakten und Quellen", + "icons": [ + { + "src": "img/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "img/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#0d9488", + "background_color": "#f5f5f7", + "display": "standalone" +} diff --git a/templates/admin/base_site.html b/templates/admin/base_site.html index ef8368e..0d4b013 100644 --- a/templates/admin/base_site.html +++ b/templates/admin/base_site.html @@ -10,6 +10,9 @@ {% block extrahead %} {{ block.super }} + + + {% endblock %} diff --git a/templates/base.html b/templates/base.html index 1866b45..4afcbe6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,6 +6,12 @@ {% block title %}Faktenkompass{% endblock %} + + + + + + @@ -28,7 +34,9 @@
- + + + Faktenkompass
-

{{ claim.title }}

+

{{ claim.title|quoted }}

{% status_badge claim %} @@ -132,7 +132,7 @@
{% status_badge related %}
- {{ related.title }} + {{ related.title|quoted }}
diff --git a/templates/claims/partials/claim_list.html b/templates/claims/partials/claim_list.html index 0970463..ad98646 100644 --- a/templates/claims/partials/claim_list.html +++ b/templates/claims/partials/claim_list.html @@ -10,7 +10,7 @@
{% endif %}
{% status_badge claim %}
- {{ claim.title }} + {{ claim.title|quoted }}