-
Notifications
You must be signed in to change notification settings - Fork 18
/
index.html
148 lines (135 loc) · 4.33 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!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" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="scrollbar.css" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="title" content="Would You - Json Generator" />
<meta
name="description"
content="Create custom would you rather questions for our discord bot using this simple ui tool!"
/>
<meta
name="keywords"
content="discord, bot, discord bot, would you rather, would you bot"
/>
<meta name="robots" content="index, follow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="English" />
<meta name="revisit-after" content="7 days" />
<!-- dark mode -->
<script
src="https://kit.fontawesome.com/ddea64692c.js"
crossorigin="anonymous"
></script>
<!-- stop -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/default.min.css"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Goldman&family=Source+Code+Pro&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Abyssinica+SIL&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/languages/go.min.js"></script>
<title>Would You - Json Generator</title>
</head>
<body>
<div class="containerbox">
<!-- button for darkmode -->
<button class="theme-btn">
<i class="fas fa-sun" id="toggle-icon"></i>
</button>
<div class="containermain">
<div id="headings">
<h1 id="first-h">Would You</h1>
<h2>JSON Generator</h2>
</div>
<h3 style="color: #a7ffe4">
Generate would you rather import files using this UI! Press the +
button to add more!
</h3>
<div id="cont-div">
<div id="container">
<h2>Useful👍</h2>
<div id="containeruseful" class="list">
<div class="oneline">
<input type="text" />
<button id="addbtn1">+</button>
</div>
</div>
</div>
<div id="container">
<h2>Useless👎</h2>
<div id="containeruseless" class="list">
<div class="oneline">
<input type="text" />
<button id="addbtn2">+</button>
</div>
</div>
</div>
</div>
<button id="generatebtn">
Generate JSON file
<div class="svg hide" id="svg"></div>
</button>
<div class="file-upload">
<input type="file" hidden id="file" accept=".json" />
</div>
<label for="file" class="bottom-btns">Upload JSON File</label>
<button id="previewbtn" class="bottom-btns">Preview JSON</button>
<pre class="previewHidden"
><code class="language-json" id="preview-window"></code></pre>
</div>
</div>
<div id="social-buttons">
<a href="https://discord.gg/vMyXAxEznS" target="_blank"
><img
src="assets/discordicon.png"
alt="discord logo"
width="50"
height="50"
/></a>
<a href="https://github.com/Would-You-Bot/json-generator" target="_blank"
><img
src="assets/githubicon.png"
alt="discord logo"
width="50"
height="50"
/></a>
</div>
<div
style="
color: rgb(136, 136, 136);
margin-bottom: 20px;
background-color: rgb(0, 0, 0, 0);
"
>
Copyright © 2022 All Rights Reserved by Would You.
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.9.6/lottie.min.js"
integrity="sha512-yAr4fN9WZH6hESbOwoFZGtSgOP+LSZbs/JeoDr02pOX4yUFfI++qC9YwIQXIGffhnzliykJtdWTV/v3PxSz8aw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script src="script.js" type="module"></script>
<script src="./modules/export.js" type="module"></script>
<script src="./modules/theme.js"></script>
</body>
</html>