-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
72 lines (71 loc) · 2.45 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!doctype html>
<html lang="en" data-bs-theme="dark">
<head>
<title>OpenCV-Flow IDE - Online</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg+xml" href="/src/ide/assets/imgs/logo.png" />
<!-- GTAG -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-18861122-3');
</script>
</head>
<body>
<div id="root">
<style>
.hidden {
display: none !important;
}
.logo-img {
background-image: url(/src/ide/assets/imgs/logo_lg.png);
background-size: cover;
background-position: center;
height: 410px;
}
#progressbar {
width: 100%;
}
</style>
<div class="d-flex justify-content-center">
<div class="row" style="margin-top: 50px;">
<div class="col-lg-2"></div>
<div class="col-lg-8">
<div id="loadercard" class="card hidden" style="width: 100%;">
<div class="card-body">
<!-- Logo -->
<div class="card-title logo-img"></div>
<!-- Titulo -->
<h6 class="card-subtitle mb-2 text-muted">Loading dependencies</h6>
<!-- Descrição -->
<p class="card-text">The initialization process usually takes time the first time you use this application.</p>
<!-- Listagem de bibliotecas sendo carregadas -->
<ul id="assetslist" class="list-group">
<li class="list-group-item d-flex justify-content-between align-items-center">
<progress id="progressbar" class="progress" value="0" max="1"></progress>
</li>
</ul>
</div>
</div>
</div>
<div class="col-lg-2"></div>
</div>
</div>
</div>
<script type="module" src="/src/main.tsx"></script>
<script>
//Adicionado ao buildar aplicação
window.$bootloader = [
['module', [BOOT_LINK_MODULE]],
['js', [BOOT_SCRIPT_MODULE]]
//['module', ["/dist/deps/monacoeditor.js","/dist/deps/opencvts.js"]],
//['js', ["/dist/index_BW0vT2xo.js"]]
];
</script>
<script src="/src/bootloader.js"></script>
</body>
</html>