Andrey Antukh c09f281f58 🎉 Make the build to be config independent.
Loading the configuration dinamically using
global variables defined in index.html.
2020-03-11 09:20:12 +01:00

26 lines
810 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>UXBOX - The Open-Source prototyping tool</title>
<link href="css/main.css?ts={{& ts}}" rel="stylesheet" type="text/css" />
<link rel="icon" href="/images/favicon.png" />
</head>
<body>
{{& ic }}
<section id="app" tabindex="1"></section>
<section id="lightbox"></section>
<section id="loader"></section>
<section id="modal"></section>
<script>
window.uxboxConfig = JSON.parse({{& config }});
window.uxboxTranslations = JSON.parse({{& translations }});
</script>
<script src="js/cljs_base.js?ts={{& ts}}"></script>
<script src="js/main.js?ts={{& ts}}"></script>
<script>uxbox.main.init()</script>
</body>
</html>