-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (68 loc) · 1.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>transmuteJS</title>
<style>
.mainContainer {
display: flex;
flex-direction: column;
height: 720px;
padding: 10px;
gap: 10px;
}
.inputContainer {
display: flex;
flex-direction: column;
}
.inputContainer .jsonInput {
height: 720px;
resize: none;
}
.actionContainer {
display: flex;
justify-content: space-between;
align-items: center;
}
.actionContainer .configurations {
display: flex;
gap: 20px;
}
.actionContainer .actions {
display: flex;
justify-content: flex-end;
gap: 20px;
}
.actionContainer .actions button {
padding: 5px 10px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="mainContainer">
<div class="inputContainer">
<label>JSON:</label>
<textarea class="jsonInput"></textarea>
</div>
<div class="actionContainer">
<div class="configurations">
<label>Configuration:</label>
<label>
<input id="validateInputId" type="checkbox" name="validateInput" />
Validate Input
</label>
<label>
<input id="cloneableId" type="checkbox" name="cloneable" checked />
Cloneable
</label>
</div>
<div class="actions">
<button id="formatJSON">Format JSON</button>
<button id="transmuteJSON">Transmute JSON</button>
</div>
</div>
</div>
<script src="./dist/index.global.js" defer></script>
<script type="module" src="./index.js" defer></script>
</body>
</html>