[ADD] PWA configuration for desktop web progressive app

This commit is contained in:
Horilla
2024-02-09 11:53:40 +05:30
parent 34ec62134d
commit ec082ab08a
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{
"name": "Horilla",
"short_name": "Horilla",
"description": "Free and Open Source HR Software",
"start_url": "/",
"display": "standalone",
"background_color": "orangered",
"theme_color": "orangered",
"icons": [
{
"src": "/static/favicons/apple-touch-icon.png",
"sizes": "192x192",
"type": "image/png"
}
]
}

View File

@@ -1,4 +1,5 @@
{% load static %}
{% load i18n %}
{% load attendancefilters %}
<!DOCTYPE html>
@@ -16,6 +17,8 @@
</script>
<title class="time-runner stop-runner">Horilla</title>
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'favicons/apple-touch-icon.png' %}">
<meta name="theme-color" content="orangered">
<link rel="manifest" href="{% static 'build/manifest.json' %}">
<link rel="icon" type="image/png" sizes="32x32" href="{% static 'favicons/favicon-32x32.png' %}">
<link rel="icon" type="image/png" sizes="16x16" href="{% static 'favicons/favicon-16x16.png' %}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.20/dist/sweetalert2.min.css">

View File

@@ -8,6 +8,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Login - Horilla Dashboard</title>
<link rel="stylesheet" href="{% static '/build/css/style.min.css' %}" />
<link rel="manifest" href="{% static 'build/manifest.json' %}">
</head>
<body>
<div id="main">