[ADD] PWA configuration for desktop web progressive app
This commit is contained in:
16
static/build/manifest.json
Normal file
16
static/build/manifest.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user