fix: add standard mobile-web-app-capable meta tag

- Add mobile-web-app-capable meta tag to all HTML templates
- Fixes deprecation warning for apple-mobile-web-app-capable
- Maintains backwards compatibility with Apple devices
- Updates index.html, templates.html, and editor.html
This commit is contained in:
William Valentin
2025-09-14 22:50:17 -07:00
parent 62a189ef98
commit e2788cb634
3 changed files with 4 additions and 1 deletions

View File

@@ -11,6 +11,7 @@
<link rel="manifest" href="/static/img/site.webmanifest">
<meta name="theme-color" content="#0d6efd">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="{{ app_name }}">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
@@ -213,7 +214,7 @@
</div>
</div>
<div class="card-body p-0">
<textarea id="editor" class="form-control border-0" rows="25" style="font-family: 'Courier New', monospace; resize: none;">[Unit]
<textarea id="editor" class="form-control border-0" rows="25" style="font-family: 'Courier New', monospace; resize: none; color: white; background-color: #2d3748;">[Unit]
Description=My Service Description
After=network.target

View File

@@ -16,6 +16,7 @@
<link rel="manifest" href="/static/img/site.webmanifest" />
<meta name="theme-color" content="#0d6efd" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="{{ app_name }}" />
<link

View File

@@ -16,6 +16,7 @@
<link rel="manifest" href="/static/img/site.webmanifest" />
<meta name="theme-color" content="#0d6efd" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="{{ app_name }}" />
<link