mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 07:18:26 +02:00
✨ Minor improvements on app initialization.
This commit is contained in:
parent
e9d5eccd16
commit
c2847bec4d
3 changed files with 11 additions and 40 deletions
|
@ -4,14 +4,12 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
||||
<title>UXBOX - The Open-Source prototyping tool</title>
|
||||
<link id="theme" href="/css/main-{{& th}}.css?ts={{& ts}}" rel="stylesheet" type="text/css" />
|
||||
<link id="theme" href="/css/main-{{& th}}.css?ts={{& ts}}"
|
||||
rel="stylesheet" type="text/css" />
|
||||
<link rel="icon" href="/images/favicon.png" />
|
||||
<!-- <link rel="preload" as="image" type="image/svg+xml" -->
|
||||
<!-- href="/images/svg-sprite/symbol/svg/sprite.symbol.svg" /> -->
|
||||
</head>
|
||||
<body>
|
||||
<section id="app" tabindex="1"></section>
|
||||
<section id="loader"></section>
|
||||
<section id="modal"></section>
|
||||
<script>
|
||||
window.uxboxConfig = JSON.parse({{& config }});
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>UXBOX View</title>
|
||||
<link href="/css/view-{{& th}}.css?ts={{& ts}}" rel="stylesheet" type="text/css" />
|
||||
<link rel="icon" href="/images/favicon.png" />
|
||||
</head>
|
||||
<body>
|
||||
<section id="app" tabindex="1"></section>
|
||||
<section id="loader"></section>
|
||||
<section id="modal"></section>
|
||||
<script>
|
||||
window.uxboxConfig = JSON.parse({{& config }});
|
||||
window.uxboxTranslations = JSON.parse({{& translations }});
|
||||
</script>
|
||||
<script src="/js/shared.js?ts={{& ts}}"></script>
|
||||
<script src="/js/view.js?ts={{& ts}}"></script>
|
||||
<script>uxbox.view.init()</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue