-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (85 loc) · 3.96 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!doctype html>
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="X4 Foundation interactive technology explorer">
<meta name="author" content="LostDaemon">
<meta name="keywords" content="x4, foundation, tech, technology, tree, plant, argon, split, paranid, terrain, boron, teladi, production, egosoft, industry, chart">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
<title>X4 Foundation: Tech Explorer</title>
<link rel="icon" type="image/x-icon" href="./img/favicon.ico">
</head>
<body data-bs-theme="dark">
<header>
<div style="margin-left: 10px;">
<h1 class="display-4">X4 Foundation: Tech Explorer</h1>
</div>
</header>
<div class="container-fluid">
<div class="dropdown">
<button id="dropdown_btn" class="btn btn-secondary dropdown-toggle dropdown-btn" type="button" data-bs-toggle="dropdown" aria-expanded="false">
</button>
<button id="langchanger" class="btn btn-secondary" type="button" onclick="toggleLocale()">
EN/RU
</button>
<div class="dropdown-menu ">
<input id='filter' type='text'class="form-control filter" placeholder="..." onkeyup="onFilter()"/>
<ul id="products_list" class="product-list">
</ul>
</div>
</div>
</div>
<div id="canvas_container" class="container-fluid justify-content-center vh-50" style="background-color:#222222;">
<canvas id="canvas" ></canvas>
</div>
<div class="container-fluid" style="background-color:#333333;">
<h4 id="product_label"></h5>
</div>
<div class="d-flex flex-wrap productinfo">
<div class="product_info">
<h6 id="consumption_label">Consumption</h6>
<ul id="consumption_list"></ul>
</div>
<div class="product_info">
<h6 id="production_label">Production</h6>
<ul id="production_list"></ul>
</div>
<div class="product_info flex-grow">
<h6 id="is_used_for_label">Is used for:</h6>
<div id="ancestors_list" class="d-flex flex-wrap gap-1">
</div>
</div>
</div>
<div class="footer">
<div class="copyright">
<small id="created_by">Created by LostDaemon in 2023</small><br><small id="follow_me">Follow me on</small><small>
<a class="link-opacity-25" href="https://github.com/LostDaemon/x4_foundation_tech">GitHub</a></small>
</div>
<div class="buymeacoffee">
<a href="https://www.buymeacoffee.com/lostdaemon"><img src="./img/black-button.png" width="130" height="40"/></a>
</div>
</div>
<div class="game_version">
<small id="game_version">Data is valid for X4 Foundation v6.1</small>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<script src="main.js"></script>
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(94288150, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
});
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/94288150" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
</body>
</html>