2019-10-15 23:42:47 -03:00
|
|
|
<head>
|
|
|
|
<title>Gauntlets</title>
|
|
|
|
<meta charset="utf-8">
|
2021-02-03 15:50:19 -03:00
|
|
|
<link href="../assets/css/browser.css?v=2" type="text/css" rel="stylesheet">
|
2019-10-15 23:42:47 -03:00
|
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
|
|
|
|
<link rel="icon" href="../assets/gauntlet.png">
|
|
|
|
<meta id="meta-title" property="og:title" content="Gauntlets">
|
|
|
|
<meta id="meta-desc" property="og:description" content="Because RobTop wanted to leave behind the monstrosity that is Map Packs.">
|
|
|
|
<meta id="meta-image" name="og:image" itemprop="image" content="https://gdbrowser.com/assets/gauntlet.png">
|
2021-01-21 22:28:04 -03:00
|
|
|
<meta name="twitter:card" content="summary">
|
2019-10-15 23:42:47 -03:00
|
|
|
</head>
|
|
|
|
|
2019-10-22 20:54:19 -03:00
|
|
|
<body class="levelBG darkBG" style="overflow-y:auto;" onbeforeunload="saveUrl()">
|
2019-10-15 23:42:47 -03:00
|
|
|
|
|
|
|
<div id="everything" class="center" style="width: 100%; height: 100%;">
|
|
|
|
|
|
|
|
<div style="position:absolute; top: 2%; left: -1.95%; width: 10%; height: 25%; pointer-events: none">
|
|
|
|
<img class="gdButton yesClick" id="backButton" src="../assets/back.png" height="30%" onclick="backButton()">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="center" width="100%" style="margin-top: 2.5%; margin-bottom: 1%;">
|
|
|
|
<img src="../assets/gauntlets.png" width="50%">
|
|
|
|
</div>
|
|
|
|
|
2021-01-18 23:54:18 -03:00
|
|
|
<img id="loading" style="margin-top: 1%" class="spin noSelect" src="../assets/loading.png" height="12%">
|
|
|
|
|
2019-10-15 23:42:47 -03:00
|
|
|
<div id="gauntletList">
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
2019-10-21 12:20:25 -03:00
|
|
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
2021-01-18 23:54:18 -03:00
|
|
|
<script type="text/javascript" src="../sizecheck.js?"></script>
|
2019-10-15 23:42:47 -03:00
|
|
|
<script>
|
|
|
|
|
2021-01-15 12:29:46 -03:00
|
|
|
let gauntletNames = ["Fire", "Ice", "Poison", "Shadow", "Lava", "Bonus", "Chaos", "Demon", "Time", "Crystal", "Magic", "Spike", "Monster", "Doom", "Death"]
|
2019-10-15 23:42:47 -03:00
|
|
|
|
2021-01-15 12:29:46 -03:00
|
|
|
fetch('../api/gauntlets').then(res => res.json()).then(gauntlets => {
|
2021-01-18 23:54:18 -03:00
|
|
|
$('#loading').hide()
|
2021-01-15 12:29:46 -03:00
|
|
|
gauntlets.forEach((x, y) => {
|
|
|
|
let name = gauntletNames[x.id - 1]
|
|
|
|
$('#gauntletList').append(`
|
2019-10-15 23:42:47 -03:00
|
|
|
<div class="gauntlet">
|
2021-01-15 12:29:46 -03:00
|
|
|
<a href="../search/*?gauntlet=${x.id}">
|
|
|
|
<img src="../assets/gauntlets/${name.toLowerCase()}.png" height="300%"><br>
|
|
|
|
<h3 class="gauntletText"">${name}<br>Gauntlet</h3></div></a>`)
|
|
|
|
})
|
|
|
|
});
|
2019-10-15 23:42:47 -03:00
|
|
|
|
|
|
|
</script>
|