-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (85 loc) · 3.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge" >
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<!-- Primary Meta Tags -->
<title>File Compressor De-compressor</title>
<link rel="shortcut icon" href="assets/favicon.ico">
<meta name="title" content="File Compressor De-compressor">
<meta name="description" content="An online .txt file compressor, de-compressor tool which uses Huffman Coding for Lossless data compression.">
<link rel='stylesheet' type='text/css' href='styles.css'>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet">
<script src='script.js' type="text/javascript"></script>
</head>
<!-- <body > -->
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">
<img src="assets/txt-logo.png" width="30" height="30" class="d-inline-block align-top" alt="txt-logo" loading="lazy">
Compress or De-compress .txt files in just 2 steps!
</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0"></ul>
<ul class="nav navbar-nav navbar-right">
<a class="nav-link active" aria-current="page" href="info.html" target = "_blank" >Know About This Compression Technique💡</a>
</ul>
</div>
</div>
</nav>
<div class="bigdiv">
<div class="card text-center">
<div class="card-header" style="background-color:rgba(245, 241, 171, 0.58);"> <b>STEP 1</b>: UPLOAD YOUR FILE (<b>.txt</b> Files Only) </div>
<div class="align" id="step1">
<div class="card-body">
<img height="50" width="50" src="assets/upload.gif" alt="Upload" loading="lazy">
<br>
<form method="post" enctype="multipart/form-data" class="form" id="fileform">
<input class="file-input-button" type="file" id="uploadfile" class="input">
<input class="upload-button" type="button" id="submitbtn" class="input" value="Upload ⤒">
</form>
<br>
</div>
<!-- Upload File -->
</div>
</div>
<br>
<div class="card text-center">
<div class="card-header" style="background-color:rgba(245, 241, 171, 0.58);"> <b>STEP 2</b>: SELECT ACTION </div>
<div class="align" id="step2">
<div class="card-body">
<img height="60" width="60" src="assets/action.gif" alt="action" loading="lazy">
<br>
<!--      -->
<button type="button" id="encode" class="button" >Compress ⭳</button>
  or
<!--      -->
<button type="button" id="decode" class="button" >De-compress ⭳</button>
<!-- Select Action -->
<br>
</div>
</div>
</div>
<br>
<div class="card text-center">
<div class="card-header" style="background-color:rgba(245, 241, 171, 0.58);">SIT BACK AND RELAX</div>
<div class="align" id="step3" >
<div class="card-body">
<img height="60" width="60" src="assets/emoji.gif" alt="emoji" loading="lazy">
<br>
<span class="align" id="text4">
<button class="reload-button" type="button" onclick="location.reload()" >Reload</button> to Start Again!
</span>
<br>
<!-- Wait a moment -->
</div>
</div>
</div>
</div>
<footer>
<p></p>
</footer>
</body>
</html>