2019-07-22 22:53:30 +00:00
|
|
|
<!DOCTYPE html>
|
2019-07-17 20:03:10 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2020-05-17 21:20:52 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
|
2019-07-17 20:03:10 +00:00
|
|
|
|
2019-07-22 22:53:30 +00:00
|
|
|
<link rel="apple-touch-icon" sizes="57x57" href="{{{faviconBase}}}/apple-icon-57x57.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="60x60" href="{{{faviconBase}}}/apple-icon-60x60.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="72x72" href="{{{faviconBase}}}/apple-icon-72x72.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="76x76" href="{{{faviconBase}}}/apple-icon-76x76.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="114x114" href="{{{faviconBase}}}/apple-icon-114x114.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="120x120" href="{{{faviconBase}}}/apple-icon-120x120.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="144x144" href="{{{faviconBase}}}/apple-icon-144x144.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="152x152" href="{{{faviconBase}}}/apple-icon-152x152.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{{faviconBase}}}/apple-icon-180x180.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="192x192" href="{{{faviconBase}}}/android-icon-192x192.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{{faviconBase}}}/favicon-32x32.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="96x96" href="{{{faviconBase}}}/favicon-96x96.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{{faviconBase}}}/favicon-16x16.png">
|
|
|
|
<link rel="manifest" href="{{{faviconBase}}}/manifest.json">
|
|
|
|
<meta name="msapplication-TileColor" content="#ffffff">
|
|
|
|
<meta name="msapplication-TileImage" content="{{{faviconBase}}}/ms-icon-144x144.png">
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
|
2019-07-17 20:03:10 +00:00
|
|
|
<title>{{ flags.appName }}</title>
|
|
|
|
{{# cssUrls }}
|
|
|
|
<link rel="stylesheet" href="{{.}}"/>
|
|
|
|
{{/ cssUrls }}
|
|
|
|
{{# jsUrls }}
|
|
|
|
<script type="application/javascript" src="{{.}}"></script>
|
|
|
|
{{/ jsUrls}}
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
2021-01-29 19:48:27 +00:00
|
|
|
<body id="docspell-app">
|
|
|
|
<!-- everything in here gets replaced by elm, including the body tag -->
|
2019-07-17 20:03:10 +00:00
|
|
|
|
|
|
|
<script type="application/javascript">
|
|
|
|
var storedAccount = localStorage.getItem('account');
|
|
|
|
var account = storedAccount ? JSON.parse(storedAccount) : null;
|
|
|
|
var elmFlags = {
|
|
|
|
"account": account,
|
|
|
|
"config": {{{flagsJson}}}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<script type="application/javascript" src="{{appExtraJs}}"></script>
|
2020-09-18 20:59:58 +00:00
|
|
|
<script>
|
|
|
|
if('serviceWorker' in navigator) {
|
|
|
|
navigator.serviceWorker
|
|
|
|
.register('/sw.js')
|
|
|
|
.then(function() { console.log("Service Worker Registered"); });
|
|
|
|
}
|
|
|
|
</script>
|
2019-07-17 20:03:10 +00:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|