-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.htm
120 lines (112 loc) · 4.79 KB
/
index.htm
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
<html>
<head>
<title>Waffles' App Dashboard</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<nav class='topnav'>
<a href="#games" class="topNavButton active" id="games">Games</a>
<a href="#links" class="topNavButton" id="links">Links</a>
</nav>
<div class="gamesManager" id="gamesWrapper">
<div class="gamesManager" id="gamesDiv">
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevsalt.github.io/tictactoe')">
<p>TicTacToe (v1)</p>
</div>
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevsalt.github.io/Connect-4')">
<p>Connect 4</p>
</div>
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevsalt.github.io/chess')">
<p>Chess</p>
</div>
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevs.github.io/Online-Chess/sender.html')">
<p>Online Chess<br>Host</p>
</div>
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevs.github.io/Online-Connect-4/sender.html')">
<p>Online Connect 4<br>Host</p>
</div>
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevsalt.github.io/MGB-Worlds/')">
<p>MGB Map Viewer</p>
</div>
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevsalt.github.io/tictactoev2')">
<p>TicTacToe (v2)<br> Local</p>
</div>
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevsalt.github.io/tictactoeV2OM')">
<p>TicTacToe (v2)<br> Online</p>
</div>
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevs.github.io/minesweeper')">
<p>Minesweeper</p>
</div>
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevs.github.io/Online-Chess/receiver.html')">
<p>Online Chess<br>Player</p>
</div>
<div class="games" style="background-color:#afa;" onclick="openWebsite('https://waffledevs.github.io/Online-Connect-4/receiverr.html')">
<p>Online Connect 4<br>Player</p>
</div>
<div class="games" style="background-color:#faa;" onclick="openWebsite('')">
<p> </p>
</div>
</div>
</div>
<div class="linksManager" id="linksWrapper">
<div class="linksManager" id="linksDiv">
<div class="links" style="background-color:#afa;" onclick="openWebsite('https://twitter.com/WaffleDevs')">
<p>Twitter</p>
</div>
<div class="links" style="background-color:#afa;" onclick="openWebsite('https://mod.io/u/waffledevs')">
<p>Mod.io</p>
</div>
<div class="links" style="background-color:#afa;" onclick="openWebsite('https://discord.gg/ERb2ebXE3d')">
<p>Discord</p>
</div>
<div class="links" style="background-color:#afa;" onclick="openWebsite('')">
<p></p>
</div>
<div class="links" style="background-color:#faa;" onclick="openWebsite('')">
<p></p>
</div>
<div class="links" style="background-color:#faa;" onclick="openWebsite('')">
<p></p>
</div>
<div class="links" style="background-color:#faa;" onclick="openWebsite('')">
<p></p>
</div>
<div class="links" style="background-color:#faa;" onclick="openWebsite('')">
<p></p>
</div>
<div class="links" style="background-color:#faa;" onclick="openWebsite('')">
<p></p>
</div>
<div class="links" style="background-color:#faa;" onclick="openWebsite('')">
<p></p>
</div>
<div class="links" style="background-color:#faa;" onclick="openWebsite('')">
<p></p>
</div>
<div class="links" style="background-color:#faa;" onclick="openWebsite('')">
<p></p>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$('#games').click(() => {
$('.gamesManager').css("display", "table")
$('#games').addClass("active")
$('.linksManager').css("display", "none")
$('#links').removeClass("active")
})
$('#links').click(() => {
$('.linksManager').css("display", "table")
$('#links').addClass("active")
$('.gamesManager').css("display", "none")
$('#games').removeClass("active")
})
function openWebsite(website) {
if (website != "") {
window.location.href = `${website}`;
}
}
</script>
</body>
</html>