-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
164 lines (141 loc) · 4.61 KB
/
index.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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Choose Version</title>
<style>
body {
background-color: #000;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
color: #fff;
}
#popupContainer {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
overflow: auto;
}
#popupContent {
background-color: #333;
padding: 20px;
border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
position: relative;
max-width: 80%;
max-height: 80%;
overflow: auto;
}
#closePopupButton {
position: absolute;
top: 10px;
right: 10px;
font-size: 20px;
color: #fff;
cursor: pointer;
}
#header {
background-color: #333;
color: #fff;
text-align: center;
padding: 1rem;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
display: flex; /* Add this */
align-items: center; /* Add this */
padding: 1rem 2rem; /* Adjust padding */
}
#headerText {
text-align: center;
display: flex; /* Add this */
align-items: center; /* Add this */
margin-left: 40%;
margin-top: -100px;
position: absolute;
}
#logo img {
width: 150px; /* Set the width of the logo */
height: auto; /* Maintain aspect ratio */
margin-left: -30px;
}
#buttonsContainer {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 2rem;
}
.downloadButton {
background-color: #28a745; /* Blue accent */
color: #fff;
border: none;
border-radius: 5px;
padding: 10px 20px;
margin: 10px;
cursor: pointer;
transition: background-color 0.3s;
}
.downloadButton:hover {
background-color: deeppink; /* Darker blue accent on hover */
}
#showPopupButton {
background-color: #007bff; /* blue accent */
}
#pageButton {
background-color: indianred; /* red accent */
}
</style>
</head>
<body>
<div id="header">
<div id="logo">
<img src="assets/mci_logo.png" alt="FileZ is a subsidiary asset of MCI inc.">
</div>
</div>
<div id="headerText">
<h1>Click a Button to Redirect</h1>
</div>
<div id="buttonsContainer">
<button id="showPopupButton" class="downloadButton">Version Info</button>
<button id="pageButton" class="downloadButton" onclick="redirectToPath3()">Go to FileZ-client Archive</button>
<button class="downloadButton" onclick="redirectToPath1()">Go to latest FileZ-client</button>
</div>
<div id="popupContainer">
<div id="popupContent">
<span id="closePopupButton">×</span>
<div id="info">
</div>
</div>
</div>
<script>
function redirectToPath1() {
window.location.href = "FZ2.3/boot.html";
}
function redirectToPath3() {
window.location.href = "FZ_Archive/index.html";
}
document.addEventListener("DOMContentLoaded", function () {
const showPopupButton = document.getElementById("showPopupButton");
const popupContainer = document.getElementById("popupContainer");
const closePopupButton = document.getElementById("closePopupButton");
showPopupButton.addEventListener("click", function () {
popupContainer.style.display = "flex";
});
closePopupButton.addEventListener("click", function () {
popupContainer.style.display = "none";
});
});
</script>
<script src="https://megathelegend.github.io/File-Z-backend/about/about.js"></script>
<script src="https://megathelegend.github.io/File-Z-backend/main.js"></script>
<script>
showToast('Current FZ version: ' + newestVersion, '#', 'deeppink', 5000);
</script>
</body>
</html>