BTHLABS-49: WIP

This commit is contained in:
Tomek Wójcik 2025-08-19 21:59:49 +02:00
parent e1b7076cda
commit 519918d27a
9 changed files with 12 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -23,8 +23,9 @@
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="HotPocket"> <meta name="apple-mobile-web-app-title" content="HotPocket">
<link rel="apple-touch-icon" href="{% static 'ui/img/apple-touch-icon-180.png' %}"> <link rel="apple-touch-icon" href="{% static 'ui/img/icon-180.png' %}">
<link rel="shortcut icon" href="{% static 'ui/img/apple-touch-icon-180.png' %}"> <link rel="icon" type="image/png" sizes="32x32" href="{% static 'ui/img/icon-32.png' %}">
<link rel="icon" type="image/png" sizes="16x16" href="{% static 'ui/img/icon-16.png' %}">
<link rel="manifest" href="{% url 'ui.meta.manifest_json' %}"> <link rel="manifest" href="{% url 'ui.meta.manifest_json' %}">
{% block page_head %}{% endblock %} {% block page_head %}{% endblock %}
</head> </head>

View File

@ -10,7 +10,7 @@
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle ui-navbar-brand" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"> <a class="nav-link dropdown-toggle ui-navbar-brand" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
{% spaceless %} {% spaceless %}
<img src="{% static 'ui/img/apple-touch-icon-180.png' %}"> <img src="{% static 'ui/img/icon-180.png' %}">
<span class="ms-2">{% block top_nav_title %}HotPocket{% endblock %}</span> <span class="ms-2">{% block top_nav_title %}HotPocket{% endblock %}</span>
{% endspaceless %} {% endspaceless %}
</a> </a>
@ -35,7 +35,7 @@
{% else %} {% else %}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link pe-none ui-navbar-brand"> <a class="nav-link pe-none ui-navbar-brand">
<img src="{% static 'ui/img/apple-touch-icon-180.png' %}"> <img src="{% static 'ui/img/icon-180.png' %}">
<span class="ms-2">{{ SITE_TITLE }}</span> <span class="ms-2">{{ SITE_TITLE }}</span>
</a> </a>
</li> </li>

View File

@ -18,8 +18,13 @@ def manifest_json(request: HttpRequest) -> JsonResponse:
'theme_color': '#2b3035', 'theme_color': '#2b3035',
'icons': [ 'icons': [
{ {
'src': static('ui/img/apple-touch-icon-180.png'), 'src': static('ui/img/icon-192.png'),
'sizes': '180x180', 'sizes': '192x192',
'type': 'image/png',
},
{
'src': static('ui/img/icon-512.png'),
'sizes': '512x512',
'type': 'image/png', 'type': 'image/png',
}, },
], ],