-
Notifications
You must be signed in to change notification settings - Fork 0
/
updater.html
78 lines (77 loc) · 1.79 KB
/
updater.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>KELA-gold: Update Available</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #2e2e2e;
color: #333;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background: url('background.jpg') no-repeat center center;
background-size: cover;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
max-width: 400px;
width: 100%;
color: #ffffff; /* Ensure text is readable on the background */
}
h1 {
margin: 0;
font-size: 24px;
color: #889200;
}
p {
font-size: 16px;
margin: 10px 0;
}
.buttons {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
button {
background: #007bff;
border: none;
color: #fff;
padding: 10px 20px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s ease;
}
button:hover {
background: #0056b3;
}
.later {
background: #6c757d;
}
.later:hover {
background: #5a6268;
}
</style>
</head>
<body>
<div class="container">
<h1>KELA gold</h1>
<h2>Update Available!</h2>
<p>Version <span id="latest-version"></span> is now available. Do you want to update?</p>
<div class="buttons">
<button id="update-button">Update Now</button>
<button id="later-button" class="later">Later</button>
</div>
</div>
<script src="updater.js"></script>
</body>
</html>