-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathindex.html
113 lines (104 loc) · 4.4 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
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Discord Embed Generator</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/css/tether-theme-arrows-dark.min.css'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/dark.min.css'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"/><a class="patreon-link" href="https://patreon.com/orels1" target="_blank">
<div class="badge-container">
<div class="badge-text">like what you see?</div>
<div class="badge-icon"></div>
<div class="badge-text badge-text-bottom">support me</div>
</div></a>
<div class="container">
<div class="col-md-10 offset-md-1">
<div class="card-deck">
<div class="card">
<div class="card-header">Embed Editor</div>
<div class="card-block">
<form id="form">
<div class="form-check">
<label class="form-check-label">
<input class="form-check-input" type="checkbox" id="useVars" value="">
Use variables (will skip field checks and direcly add names without doublequotes)
</label>
</div>
<div class="form-group">
<label>Basic settings</label>
<input class="form-control" id="title" type="text" placeholder="title"/>
</div>
<div class="form-group">
<input class="form-control" id="description" type="text" placeholder="description"/>
</div>
<div class="form-group">
<input class="form-control" id="url" type="text" placeholder="url"/>
</div>
<div class="form-group">
<label>Color</label>
<input class="form-control" id="color" type="color"/>
</div>
<div class="form-group">
<label>Thumbnail settings</label>
<input class="form-control" id="icon" type="text" placeholder="icon"/>
</div>
<div class="form-group">
<label>Author settings</label>
<input class="form-control" id="author_name" type="text" placeholder="author name"/>
</div>
<div class="form-group">
<input class="form-control" id="author_url" type="text" placeholder="author link"/>
</div>
<div class="form-group">
<input class="form-control" id="author_icon" type="text" placeholder="author icon"/>
</div>
<div class="form-group">
<label>Fields</label>
</div>
<div class="input-fields"></div>
<div class="form-group">
<label>Footer settings</label>
<input class="form-control" id="footer" type="text" placeholder="footer text"/>
</div>
</form>
</div>
</div>
</div>
</div><br/>
<div class="col-md-8 offset-md-2">
<div class="card">
<div class="card-header">Embed Preview</div>
<div class="card-block preview">
<div class="wrapper">
<div class="side-colored"></div>
<div class="card embed">
<div class="card-block">
<div class="embed-inner"></div>
</div>
</div>
</div>
</div>
</div>
</div><br/>
<div class="col-md-10 offset-md-1">
<div class="card">
<div class="card-header">Python code</div>
<div class="card-block">
<pre><code class="python source"></code></pre>
</div>
</div>
</div>
</div>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/showdown.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js'></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js'></script>
<script src="js/index.js"></script>
</body>
</html>