-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (69 loc) · 4.14 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A small website to easy use Discord webhook without bot">
<meta name="og:title" content="Discord WebHook">
<meta name="og:site_name" content="discord webhook">
<meta name="og:description" content="A small website to easy use Discord webhook without bot">
<meta name="author" content="Robin888b / Raven Spart">
<meta name="theme-color" content="#5865F2">
<title>Discord WebHook</title>
<link rel="stylesheet" href="./src/style.css">
<script src="./src/app.js"></script>
</head>
<body>
<section class="sb">
<div class="UI">
<div class="container50">
<h1>Easy WebHook Sender <span id="titleAuthor">by Raven Spart</span></h1><br>
<input type="url" name="" placeholder="Put here the link of your WebHook" id="WebhookLinkInput"><br><br>
<textarea name="" style="resize:none;" id="WebhookTextInput" placeholder="Your Text here !"></textarea><br><br>
<!-- profil custom -->
<p id="CustomWhProfilCheck" onclick="tgl1()" style="display:flex;">Use a custom profil</p>
<div id="customWhProfil">
<img src="./src/img/svg/discord_logo_old.svg" alt="" id="WhPp1">
<div id="customWhbox2">
<input type="text" id="WhNameInput" placeholder="Name of the webhook"><br>
<input type="url" id="WhPpUrlInput" placeholder="url of the picture">
</div>
</div><br>
<!-- Embeds -->
<p>Embed(s) (<span id="embednbr">1</span>) <span id="NewEmbedSpan" onclick="addEmbed()">New embed</span> <span id="DellEmbedSpan" onclick="removeEmbed()">delete the last embed</span></p><br>
<ul id="WhEmbedListUi">
<li class="WhEmbedUiItem" id="embUi1">
<details>
<summary><div class="WhEmbedUiItemTitle"> <!--Embed title-->
<p style="flex-grow: 5;">Embed 1 🐼</p>
<p class="WhEmbedUiRemoveBtn">¯\_(ツ)_/¯</p>
</div></summary>
<div class="WhEmbedUiItemDiv" id="WhEmbUi1"> <!--Embed content-->
<div class="dspFlexRow">
<input type="text" placeholder="Embed Title" id="WhEmbedUiItemInpTitle1">
<input type="url" placeholder="Embed Title URL" id="WhEmbedUiItemInpUrl1" style="flex-grow: 2;">
</div>
<textarea style="resize:none;" id="WhEmbedUiItemInpDesc1" placeholder="Embed description"></textarea>
<div class="dspFlexRow">
<input type="color" id="WhEmbedUiItemInpColor1" value="#ffffff"><label for="WhEmbedUiItemInpColor">Embed color</label>
</div>
<div class="dspFlexRow">
<input type="url" placeholder="Thumbnail Url" id="WhEmbedUiItemInpThumbUrl1" style="flex-grow: 1;">
<input type="url" placeholder="Image Url" id="WhEmbedUiItemInpImgUrl1" style="flex-grow: 1;">
</div>
<div class="dspFlexRow">
<input type="text" id="WhEmbedUiItemInpAuthName1" placeholder="Author name">
<input type="Url" id="WhEmbedUiItemInpAuthUrl1" placeholder="Author link" style="flex-grow: 2;">
</div>
<input type="Url" id="WhEmbedUiItemInpAutImgUrl1" placeholder="Author image url">
</div>
</details>
</li>
</ul>
<br><br><br><button onclick="sendHook()">Send</button>
</div>
</div>
<div class="display"></div>
</section>
</body>
</html>