-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (56 loc) · 2.84 KB
/
index.html
File metadata and controls
60 lines (56 loc) · 2.84 KB
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
<!doctype HTML>
<html lang="en">
<head>
<title>WA Reader</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tailwindcss/dist/tailwind.min.css" />
<link rel="stylesheet" href="./assets/style.css" />
</head>
<body>
<div id="select-file">
<button id="sample-file" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full" id="select-file-button">
Download Sample file
</button>
<div class="flex justify-center mt-8">
<div class="max-w-2xl rounded-lg shadow-xl bg-gray-50">
<div class="m-4">
<label class="inline-block mb-2 text-gray-500">Select your exported chat.</label>
<div class="flex items-center justify-center w-full">
<label
class="flex flex-col w-full h-32 border-4 border-blue-200 border-dashed hover:bg-gray-100 hover:border-gray-300">
<div class="flex flex-col items-center justify-center pt-7">
<svg xmlns="http://www.w3.org/2000/svg"
class="w-8 h-8 text-gray-400 group-hover:text-gray-600" fill="none"
viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
</svg>
<p class="pt-1 text-sm tracking-wider text-gray-400 group-hover:text-gray-600">
Attach a file</p>
</div>
<input type="file" class="opacity-0" id="formFile" />
</label>
</div>
</div>
<div class="flex justify-center p-2">
<p id="message" class="text"></p>
</div>
<div class="flex items-center justify-center space-x-2 animate-pulse mb-7" style="display: none"
id="loader">
<div class="w-8 h-8 bg-blue-400 rounded-full"></div>
<div class="w-8 h-8 bg-blue-400 rounded-full"></div>
<div class="w-8 h-8 bg-blue-400 rounded-full"></div>
</div>
</div>
</div>
</div>
<div id="msg">
<div class="flex flex-col bg-white">
<div id="chat" class="flex flex-col mt-2 pb-3 ">
</div>
</div>
</body>
</html>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="./assets/script.js"></script>