-
Notifications
You must be signed in to change notification settings - Fork 0
/
getObjArray.html
35 lines (34 loc) · 2.64 KB
/
getObjArray.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
<!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">
<title>GetObjArray</title>
<style>
</style>
<script src="./getObjArray.js" defer></script>
</head>
<body>
<h1>GetObjArray</h1>
<div style="display: flex; flex-direction: row; align-items: start; width: 80%; justify-content: space-evenly;">
<div style="display: flex; flex-direction: column; align-items: start;">
<h3 style="margin-top: 0; margin-right: 5px;">Input</h3>
<textarea id="input" cols="30" rows="10" placeholder="paste in your table"></textarea>
<button id="convert" style="background-color: blue; padding:5px 20px; font-size: 18px; border-radius: 999px; border: none; color: white; margin: 15px auto; cursor: pointer;">Convert!</button>
<button id="zipRegexCopy" style="background-color: blue; padding:5px 20px; font-size: 18px; border-radius: 999px; border: none; color: white; margin: 15px auto; cursor: pointer;">Convert Zip Match Regex!</button>
<button id="complexConvert" style="background-color: blue; padding:5px 20px; font-size: 18px; border-radius: 999px; border: none; color: white; margin: 15px auto; cursor: pointer;">Complex Convert!</button>
</div>
<div style="display: flex; flex-direction: column; align-items: start;">
<h2 style="margin-top: 0; margin-right: 5px;">Outputs</h2>
<h3>JS Object Library</h3>
<p id="matchPrompt" style="color: green; font-size: 10px;">hasnt changed</p>
<div id="output" style="width: fit-content; height: fit-content; background-color: rgb(239, 239, 239); min-width: 202px; min-height: 106px; max-width: 500px; border: 1px solid black; padding: 15px; max-height: 106px; overflow: hidden; text-overflow: ellipsis;"></div>
<button id="jsCopy" style="background-color: blue; padding:5px 20px; font-size: 18px; border-radius: 999px; border: none; color: white; margin: 15px auto; cursor: pointer;">Copy JS</button>
<h3>Regex</h3>
<div id="regex" style="width: fit-content; height: fit-content; background-color: rgb(239, 239, 239); min-width: 202px; min-height: 106px; max-width: 500px; border: 1px solid black; padding: 15px; max-height: 106px; overflow: hidden; text-overflow: ellipsis;"></div>
<button id="regexCopy" style="background-color: blue; padding:5px 20px; font-size: 18px; border-radius: 999px; border: none; color: white; margin: 15px auto; cursor: pointer;">Copy Regex</button>
</div>
</div>
</body>
</html>