mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
mobile version supports rtl
This commit is contained in:
@@ -58,6 +58,18 @@
|
||||
<link rel="apple-touch-startup-image" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="img/splash_screens/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_portrait.png">
|
||||
<link rel="apple-touch-startup-image" media="screen and (device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="img/splash_screens/8.3__iPad_Mini_portrait.png">
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<link id="framework7-css" rel="stylesheet" crossorigin>
|
||||
<script>
|
||||
document.querySelector('html').setAttribute('data-dir-mode', 'isolate');
|
||||
|
||||
if (location.search.includes('rtl')) {
|
||||
document.querySelector('html').setAttribute('dir', 'rtl');
|
||||
document.getElementById('framework7-css').href = '{{framework7-rtl-css-filepath}}';
|
||||
} else {
|
||||
document.querySelector('html').removeAttribute('dir');
|
||||
document.getElementById('framework7-css').href = '{{framework7-ltr-css-filepath}}';
|
||||
}
|
||||
</script>
|
||||
<script src="./server_settings.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user