forked from arthur-hi/pawiki.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
123 lines (108 loc) · 5.61 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<html lang="en">
<head>
<meta charset="utf-8">
<title>pawiki.xyz</title>
<link rel="icon" type="image/x-icon" href="https://cdn.planetaryannihilation.com/wp-content/media/icon-32x32.png">
<link rel="stylesheet" href="./style.css">
<meta name="viewport" content="width=device-width, user-scalable=no" />
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@40,500,1,200" />
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous">
</script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script type="text/javascript" src="https://rawgit.com/showdownjs/showdown/develop/dist/showdown.min.js"></script>
</script>
</head>
<body class="dark">
<div class="news-loading" style="display: none;">
<div style="display: thing;">
<h3>Loading News...</h3>
<br>
<div class="progress" style="width: 100%; height: 24px;">
<div id="news-progress" class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="units-loading" style="display: none;">
<div style="display: thing;">
<h3>Loading Units...</h3>
<br>
<div class="progress" style="width: 100%; height: 24px;">
<div id="units-progress" class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
</div>
<span class="material-symbols-outlined left" id="btn">
menu
</span>
<header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-2 bg-dark">
<div class="col-md-3">
<a class="text-light text-decoration-none" onclick="location.reload()">
<img style="padding-left: 15px" src='https://cdn.planetaryannihilation.com/wp-content/media/icon-32x32.png' />
<span style="padding: 5px">pawiki.xyz</span>
</a>
</div>
<ul class="nav col-12 col-md-auto mb-2 justify-content-center mb-md-0">
<li><a id="news-nav" href="#news" class="nav-link px-2 link-secondary">News</a></li>
<li><a id="docs-nav" href="#docs" class="nav-link px-2 link-secondary link-light">Docs</a></li>
<li><a id="units-nav" href="#units" class="nav-link px-2 link-secondary">Units</a></li>
</ul>
<a class="col-md-3"></a>
</header>
<div class="toast" id="copied">
copied!
</div>
<main>
<div id="units-main" class="hidden" style="height: 100%">
<div id="units-sidebar">
<div class="flex-shrink-0 p-3" id="units-collapsible">
<ul id="unit-list" class="list-unstyled ps-0">
<div class="btn-group" style="padding-bottom: 12px">
<button class="btn btn-sm dropdown-toggle text-light" type="button"
data-bs-toggle="dropdown" aria-expanded="false"
style="background-color: var(--bs-white); width: 100%">
Sort Units by <v id="sortby">Type</v>
</button>
<ul class="dropdown-menu dropdown-menu-dark"
style="background-color: var(--bs-white);">
<li><a class="dropdown-item" onclick="sortBy(this.innerText)">Faction</a></li>
<li><a class="dropdown-item" onclick="sortBy(this.innerText)">Unit Name</a></li>
<li><a class="dropdown-item" onclick="sortBy(this.innerText)">Unit Type</a></li>
<li><a class="dropdown-item" onclick="sortBy(this.innerText)">File Name</a></li>
</ul>
</div>
</ul>
</div>
</div>
<div id="units-content" class="flex-grow-1"></div>
</div>
<div id="news-main" class="hidden" style="height: 100%">
<div id="news-content" class="flex-grow-1">
</div>
</div>
<div id="docs-main" class="visible">
<div id="docs-sidebar">
<div class="flex-shrink-0 p-3" id="docs-collapsible">
<ul id="docs-list" class="list-unstyled ps-0">
</ul>
</div>
</div>
<div id="docs-content" class="flex-grow-1"></div>
</div>
</main>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
<script src="./js/jQuery.js"></script>
<script src="./js/fetchDocs.js"></script>
<script src="./js/fetchUnits.js"></script>
<script src="./js/document.js"></script>
</body>
</html>