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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user