GDBrowser/html/assets.html
GDColon ea5c732c75 Assets overhaul + demon list + several misc updates
I held back on pushing this since I wanted to wait for Rob to unblock level downloading, but it's probably gonna be a while since it's (likely) related to an unlisted level exploit

Anyways I totally overhauled how the assets work, and you can also browse through all the files by going to gdbrowser.com/assets, because why not

I also made many other changes and fixes during this timespan including the addition of the demon list, optimized custom lists along with a ?page param, and other random stuff that needed touching up

- Removed Herobrine
2021-01-04 10:21:58 -05:00

57 lines
No EOL
1.7 KiB
HTML

<head>
<title>> {NAME}</title>
<meta charset="utf-8">
<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/folder.png">
<meta name="robots" content="noindex">
<meta id="meta-desc" property="og:description" content='i only upload high quality geometry dash asset rips'>
<style>
body {
background-image: linear-gradient(#2b2b2b, #171717) !important;
margin-left: 12px;
}
a:link { color: rgb(0, 200, 255) }
a:visited { color: rgb(130, 140, 255) }
div {
max-width: 3500px;
}
h1, p {
color: white;
font-family: aller, helvetica, arial;
font-weight: normal;
}
.name {
width: 300px;
display: inline-block;
margin: 0 5 4 5;
font-family: aller, helvetica, arial;
font-size: 20px;
}
</style>
</head>
<body>
<h1 id="listing" style="margin: 15 0 15 0; text-decoration: underline;"></h1>
<div id="directories" style="margin-bottom: 20px">
<div class="name"><a href="../">Back</a></div></div>
<div id="filenames"></div></body>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
let data = `{DATA}`
if (!window.location.pathname.endsWith('/')) window.location.pathname += "/"
let path = window.location.pathname.slice(0, -1)
data = JSON.parse(data)
$('#listing').html(`Listing for ${path}`)
data.files.forEach(x => $('#filenames').append(`<div class="name"><a href="./${x}">${x}</a></div>`))
data.directories.forEach(x => $('#directories').append(`<div class="name">📁 <a href="./${x}">${x}</a></div>`))
</script>