-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (35 loc) · 1.47 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
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>Online File Signature Discriminator</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="mt-5">Online File Signature Discriminator</h1>
<form id="uploadForm" enctype="multipart/form-data" class="my-3">
<div class="custom-file">
<input type="file" class="custom-file-input" id="customFile">
<label class="custom-file-label" for="customFile">File Select...</label>
</div>
<button type="button" class="btn btn-primary mt-3" onclick="checkFileSignature()">Upload</button>
</form>
<div id="resultMessage" class="alert alert-info" role="alert" style="display: none;"></div>
<div id="fileContent" class="mt-3" style="white-space: pre-wrap; word-wrap: break-word; font-family: monospace;"></div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bs-custom-file-input/dist/bs-custom-file-input.min.js"></script>
<script src="./js/script.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
bsCustomFileInput.init();
});
</script>
</body>
</html>