Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
511c45a
1
Parent(s):
51209a6
Update ver2.html
Browse files
ver2.html
CHANGED
@@ -5,9 +5,24 @@
|
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Phone Verification</title>
|
7 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
#progressBar {
|
9 |
width: 100%;
|
10 |
background-color: #ddd;
|
|
|
11 |
}
|
12 |
#progress {
|
13 |
width: 0%;
|
@@ -17,15 +32,42 @@
|
|
17 |
line-height: 30px;
|
18 |
color: white;
|
19 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
</style>
|
21 |
</head>
|
22 |
<body>
|
23 |
-
<
|
24 |
-
<button id="verifyButton">Verify Phones</button>
|
25 |
-
<a id="downloadLink" style="display: none;">Download Verified Phones</a>
|
26 |
<div id="progressBar">
|
27 |
<div id="progress">0%</div>
|
28 |
</div>
|
|
|
|
|
|
|
29 |
|
30 |
<script>
|
31 |
document.getElementById('verifyButton').addEventListener('click', function() {
|
@@ -87,7 +129,7 @@
|
|
87 |
const downloadLink = document.getElementById('downloadLink');
|
88 |
downloadLink.href = url;
|
89 |
downloadLink.download = 'verified_phones.txt';
|
90 |
-
downloadLink.style.display = 'block';
|
91 |
}
|
92 |
</script>
|
93 |
</body>
|
|
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Phone Verification</title>
|
7 |
<style>
|
8 |
+
body {
|
9 |
+
font-family: Arial, sans-serif;
|
10 |
+
text-align: center;
|
11 |
+
background-color: #f0f0f0;
|
12 |
+
margin: 0;
|
13 |
+
padding: 0;
|
14 |
+
}
|
15 |
+
h1 {
|
16 |
+
background-color: #4CAF50;
|
17 |
+
color: white;
|
18 |
+
padding: 20px;
|
19 |
+
margin: 0;
|
20 |
+
border-bottom: 2px solid #388E3C;
|
21 |
+
}
|
22 |
#progressBar {
|
23 |
width: 100%;
|
24 |
background-color: #ddd;
|
25 |
+
margin-top: 20px;
|
26 |
}
|
27 |
#progress {
|
28 |
width: 0%;
|
|
|
32 |
line-height: 30px;
|
33 |
color: white;
|
34 |
}
|
35 |
+
#fileInput, #verifyButton {
|
36 |
+
margin-top: 20px;
|
37 |
+
padding: 10px 20px;
|
38 |
+
font-size: 16px;
|
39 |
+
color: white;
|
40 |
+
background-color: #4CAF50;
|
41 |
+
border: none;
|
42 |
+
cursor: pointer;
|
43 |
+
border-radius: 5px;
|
44 |
+
}
|
45 |
+
#verifyButton:hover, #fileInput:hover {
|
46 |
+
background-color: #388E3C;
|
47 |
+
}
|
48 |
+
#downloadLink {
|
49 |
+
display: inline-block;
|
50 |
+
margin-top: 20px;
|
51 |
+
padding: 10px 20px;
|
52 |
+
font-size: 16px;
|
53 |
+
color: white;
|
54 |
+
background-color: #4CAF50;
|
55 |
+
text-decoration: none;
|
56 |
+
border-radius: 5px;
|
57 |
+
}
|
58 |
+
#downloadLink:hover {
|
59 |
+
background-color: #388E3C;
|
60 |
+
}
|
61 |
</style>
|
62 |
</head>
|
63 |
<body>
|
64 |
+
<h1>Phone Verification</h1>
|
|
|
|
|
65 |
<div id="progressBar">
|
66 |
<div id="progress">0%</div>
|
67 |
</div>
|
68 |
+
<input type="file" id="fileInput" accept=".txt">
|
69 |
+
<button id="verifyButton">Verify Phones</button>
|
70 |
+
<a id="downloadLink" style="display: none;">Download Verified Phones</a>
|
71 |
|
72 |
<script>
|
73 |
document.getElementById('verifyButton').addEventListener('click', function() {
|
|
|
129 |
const downloadLink = document.getElementById('downloadLink');
|
130 |
downloadLink.href = url;
|
131 |
downloadLink.download = 'verified_phones.txt';
|
132 |
+
downloadLink.style.display = 'inline-block';
|
133 |
}
|
134 |
</script>
|
135 |
</body>
|