-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (50 loc) · 2.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Discord Color Codes</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Colors Function -->
<div class="container mt-5">
<h1 class="text-center mb-4">Discord Color Codes & Live View</h1>
<div id="colorPicker" class="border rounded-lg p-3 d-flex justify-content-center align-items-center flex-wrap hidden">
</div>
<div id="colorCode" class="mt-4 text-center font-weight-bold hidden"></div>
<!-- Embed Live View -->
<div id="testView" class="mt-4 hidden">
<div class="discord-embed">
<div class="discord-embed-left-strip" style="background-color: #7289da;"></div>
<div class="discord-embed-right-content">
<div class="discord-embed-title">Live Test View</div>
<div class="discord-embed-description">Discord HEX Color Code Developed by Brejax</div>
</div>
</div>
</div>
<!-- Discord Webhook -->
<form id="discordForm" class="mt-4">
<div class="form-group">
<label for="webhookURL">Discord Webhook URL:</label>
<input type="text" class="form-control" id="webhookURL" placeholder="Enter Webhook URL" required>
</div>
<div class="form-group">
<label for="embedTitle">Embed Title:</label>
<input type="text" class="form-control" id="embedTitle" placeholder="Enter Embed Title" required>
</div>
<div class="form-group">
<label for="embedDescription">Embed Description:</label>
<input type="text" class="form-control" id="embedDescription" placeholder="Enter Embed Description" required>
</div>
<div class="form-group">
<label for="embedColor">Embed Color (Hex Code):</label>
<input type="text" class="form-control" id="embedColor" placeholder="Enter Embed Color (Hex Code)" required>
</div>
<button type="submit" class="btn btn-primary">Send</button>
</form>
</div>
<script src="brejax.js"></script>
</body>
</html>