-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsanitizer.html
More file actions
54 lines (48 loc) · 1.32 KB
/
sanitizer.html
File metadata and controls
54 lines (48 loc) · 1.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Data Sanitizer</title>
<style>
.presets {
display:flex;
flex-direction: column;
border-top: 1px solid black;
border-bottom: 1px solid black;
}
</style>
</head>
<body>
<div id="fields">Fields</div><br/><br/>
Delete Fields<br/>
<textarea id="deletes" placeholder="Deletes" rows="10" cols="50"></textarea>
<br/><br/>
Clear Fields<br/>
<textarea id="clears" placeholder="Clears" rows="10" cols="50"></textarea>
<br/><br/>
<div class="presets">
<h3>Presets</h3>
<div>
<span>Name</span>
<button>Load</button>
<button>Delete</button>
</div>
<div>
<span>Name</span>
<button>Load</button>
<button>Delete</button>
</div>
<div>
<span>Name</span>
<button>Load</button>
<button>Delete</button>
</div>
</div> <br/>
<button id="ucsv">Upload CSV</button>
<button id="ujson">Upload JSON</button> <br/><br/>
<button id="sanitize">Sanitize</button> <br/><br/>
<button id="dcsv">Download CSV</button>
<button id="djson">Download JSON</button>
<script src="sanitizer.js"></script>
</body>
</html>