-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (53 loc) · 2.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-162162717-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-162162717-4');
</script>
<title>Cross-platform Games</title>
<meta name="author" content="Ashton Shears">
<meta name="description" content="List of cross-platform games">
<meta name="keywords" content="cross-platform,games,fps,rpg">
<meta charset="utf-8">
<script src="./static/js/json2table.js"></script>
<link rel="stylesheet" type="text/css" href="./static/css/styles.css" />
<link rel="stylesheet" href="./static/lib/css/bootstrap.min.css">
</head>
<body>
<div id="top-div" style="background-color: black; color: white; text-align: center;">
<div>
<img src="./static/img/spellbreak.jpg">
</div>
</div>
<h1 style="text-align: center;">Supported Platforms</h1>
<!-- <div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="checkbox" checked autocomplete="off"> PC
</label>
<label class="btn btn-secondary active">
<input type="checkbox" checked autocomplete="off"> PS4
</label>
<label class="btn btn-secondary active">
<input type="checkbox" checked autocomplete="off"> Xbox One
</label>
<label class="btn btn-secondary">
<input type="checkbox" checked autocomplete="off"> Switch
</label>
</div> -->
<p id="output"></p>
<script>
output = document.getElementById('output');
fetch('https://raw.githubusercontent.com/ashears/cross-platform-games/master/data.json')
.then(response => response.json())
.then(data => output.innerHTML = json2Table(data));
</script>
<script src="./static/lib/js/jquery-3.5.1.slim.min.js"></script>
<script src="./static/lib/js/popper.min.js"></script>
<script src="./static/lib/js/bootstrap.min.js"></script>
</body>
</html>