-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (38 loc) · 1.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Bulb</title>
<!--
This tag prevents to require() modules in the example/index.js
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
-->
<!-- CSS fs-explorer -->
<link rel="stylesheet" href="node_modules/normalize.css/normalize.css">
<link rel="stylesheet" href="node_modules/@fortawesome/fontawesome-free/css/all.min.css">
<!-- Semantic-UI -->
<link rel="stylesheet" type="text/css" href="semantic/dist/semantic.min.css">
<!-- Tagify -->
<link rel="stylesheet" type="text/css" href="./public/css/static/tagify.css">
<!-- Main Stylesheet -->
<link rel="stylesheet" id="main-stylesheet" type="text/css" href="public/css/main.css">
<script>
window.$ = window.jQuery = require('jquery');
require('jquery-ui-dist/jquery-ui')
</script>
<script src="semantic/dist/semantic.min.js"></script>
</head>
<body>
<script>
if (typeof require !== 'function') {
// If we are in a web env
var script = document.createElement('script')
script.src = 'bundle.js'
document.currentScript.parentNode.insertBefore(script, document.currentScript)
} else {
// If we are in the electron env
var app = require('./_app/App.js')(document.body)
}
</script>
</body>
</html>