aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-15 12:06:14 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-15 12:06:14 -0700
commit474104189d270df752d8a177685c2ab413683b3a (patch)
tree5bf9b18f65755c9cd44fbe98d8cdb68a0ca307d6 /modern
parent60c663cc1df0543d12443ec3aa76b8e65dff6744 (diff)
downloadtrackermap-web-474104189d270df752d8a177685c2ab413683b3a.tar.gz
trackermap-web-474104189d270df752d8a177685c2ab413683b3a.tar.bz2
trackermap-web-474104189d270df752d8a177685c2ab413683b3a.zip
Add HTML branding overrides
Diffstat (limited to 'modern')
-rw-r--r--modern/public/index.html6
-rw-r--r--modern/public/manifest.json6
2 files changed, 6 insertions, 6 deletions
diff --git a/modern/public/index.html b/modern/public/index.html
index 9d06d07d..f92dae57 100644
--- a/modern/public/index.html
+++ b/modern/public/index.html
@@ -4,12 +4,12 @@
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="theme-color" content="#1a237e" />
- <meta name="description" content="Traccar GPS tracking system" />
+ <meta name="theme-color" content="${colorPrimary}" />
+ <meta name="description" content="${description}" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="stylesheet" href="%PUBLIC_URL%/styles.css">
- <title>Traccar</title>
+ <title>${title}</title>
</head>
<body>
<noscript>Enable JavaScript to use <a href="https://www.traccar.org/">Traccar GPS Tracking System</a>.</noscript>
diff --git a/modern/public/manifest.json b/modern/public/manifest.json
index fad9bbe5..9142346c 100644
--- a/modern/public/manifest.json
+++ b/modern/public/manifest.json
@@ -1,6 +1,6 @@
{
- "short_name": "Traccar",
- "name": "Traccar GPS Tracking System",
+ "short_name": "${title}",
+ "name": "${description}",
"icons": [
{
"src": "favicon.ico",
@@ -22,6 +22,6 @@
],
"start_url": ".",
"display": "standalone",
- "theme_color": "#1a237e",
+ "theme_color": "${colorPrimary}",
"background_color": "#ffffff"
}