Files
directus/app/index.html
Brainslug ca93f5cb1d Add support for custom JS embeds in the App (#16650)
* add embed hook definitions

* inject embeds in the App html

* fixed typo

* removed unnecessary env parameter

* Added comment marking the custom embeds

* attempt to add test for createApp

* mock db in app test

* temporarily set log style to raw in test

* one more round

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2022-12-17 20:14:30 -05:00

42 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1, viewport-fit=cover"
/>
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no" />
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="width" />
<meta name="msapplication-TileColor" content="#263238" />
<meta name="theme-color" content="#263238" />
<meta name="color-scheme" content="dark light">
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#263238" />
<title>Loading&hellip;</title>
<style id="custom-css"></style>
<embed-head />
</head>
<body class="auto">
<noscript>
<strong>We're sorry but Directus doesn't work without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<div id="dialog-outlet"></div>
<div id="menu-outlet"></div>
<script type="module" src="/src/main.ts"></script>
<embed-body />
</body>
</html>