| 199 |
lars |
1 |
<!doctype html>
|
|
|
2 |
<html>
|
|
|
3 |
<head>
|
|
|
4 |
<meta charset="utf-8">
|
|
|
5 |
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
6 |
<title>Clockwork</title>
|
|
|
7 |
|
|
|
8 |
<link rel="icon" type="image/png" sizes="32x32" href="<?= $asset('img/icons/favicon-32x32.png') ?>">
|
|
|
9 |
<link rel="icon" type="image/png" sizes="16x16" href="<?= $asset('img/icons/favicon-16x16.png') ?>">
|
|
|
10 |
<link rel="manifest" href="<?= $asset('manifest.json') ?>">
|
|
|
11 |
<meta name="theme-color" content="#4DBA87">
|
|
|
12 |
<meta name="apple-mobile-web-app-capable" content="no">
|
|
|
13 |
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
|
|
14 |
<meta name="apple-mobile-web-app-title" content="Clockwork">
|
|
|
15 |
<link rel="apple-touch-icon" href="<?= $asset('img/icons/apple-touch-icon-152x152.png') ?>">
|
|
|
16 |
<link rel="mask-icon" href="<?= $asset('img/icons/safari-pinned-tab.svg') ?>" color="#4DBA87">
|
|
|
17 |
<meta name="msapplication-TileImage" content="<?= $asset('img/icons/msapplication-icon-144x144.png') ?>">
|
|
|
18 |
<meta name="msapplication-TileColor" content="#000000">
|
|
|
19 |
|
|
|
20 |
<style>
|
|
|
21 |
iframe { position: fixed; top: 0; left: 0; height: 100%; width: 100%; border: 0; }
|
|
|
22 |
</style>
|
|
|
23 |
</head>
|
|
|
24 |
<body>
|
|
|
25 |
<iframe src="<?= $url ?>"></iframe>
|
|
|
26 |
|
|
|
27 |
<script>
|
|
|
28 |
let clockworkData = JSON.parse(localStorage.getItem('clockwork') || '{}')
|
|
|
29 |
|
|
|
30 |
clockworkData.settings = clockworkData.settings || {}
|
|
|
31 |
clockworkData.settings.global = clockworkData.settings.global || {}
|
|
|
32 |
clockworkData.settings.global.metadataPath = '<?= $metadataPath ?>'
|
|
|
33 |
|
|
|
34 |
localStorage.setItem('clockwork', JSON.stringify(clockworkData))
|
|
|
35 |
</script>
|
|
|
36 |
</html>
|