This repository has been archived by the owner on Jan 1, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathversion.html
42 lines (39 loc) · 1.53 KB
/
version.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no" />
<title>About</title>
<link rel="stylesheet" type="text/css" href="./public/css/materialize.min.css">
<style>
body {
background-color: #383c4a
}
</style>
</head>
<body>
<main class="valign-wrapper" style="width:100%;height:100%;position: absolute;">
<div class="valign" style="width:100%;">
<div class="row center" style="margin-right: 0;">
<div class="col s12 center">
<h4 style="color:#fff">Current version: <span id="version">vX.Y.Z</span></h4>
<h6 style="color:#fff">
<p>
Made by: GeopJr <geopjr.dev><br> Github: <a onclick="openInBrowser('https://github.com/GeopJr/discord-tanki')" style="cursor: pointer;">GeopJr/discord-tanki</a><br> Technologies Used: Electron, Electron-store, tankionline.js, express
</p>
</h6>
</div>
</div>
</div>
</main>
<script>
const version = window.location.hash.substring(1);
document.getElementById('version').innerText = version;
function openInBrowser(url) {
let shell = require('electron').shell;
event.preventDefault();
shell.openExternal(url);
}
</script>
</body>
</html>