-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
99 lines (95 loc) · 2.69 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
<!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>UsernameAvatarGenerator</title>
<link rel="stylesheet" href="styles.css" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
<script src="uag.js" defer></script>
<script src="script.js" defer></script>
</head>
<body>
<div class="card border-secondary m-4 card-custom">
<div class="card-header">Username Avatar Generator</div>
<div class="card-body text-secondary card-body-custom">
<div class="form-group row">
<label class="col-form-label col-md-3">Text</label>
<div class="col-md-9">
<input
class="form-control"
id="textInput"
type="text"
placeholder="Username"
/>
</div>
</div>
<div class="form-group row">
<label class="col-form-label col-md-3">Width</label>
<div class="col-md-9">
<input
class="form-control"
id="widthInput"
type="text"
placeholder="CSS value"
value="50px"
/>
<div class="invalid-feedback">Invalid width CSS value</div>
</div>
</div>
<div class="form-group row">
<div class="offset-md-3 col-md-9">
<div class="form-check">
<input
class="form-check-input"
type="checkbox"
value=""
id="invertColorChkbx"
checked
/>
<label class="form-check-label" for="invertColorChkbx">
Invert color
</label>
</div>
</div>
</div>
<div class="form-group row">
<label class="col-form-label col-md-3">Color</label>
<div class="col-md-9">
<input class="form-control" id="colorInput" type="text" disabled />
</div>
</div>
<div class="form-group row">
<label class="col-form-label col-md-3 d-flex align-items-center"
>Result</label
>
<div
class="col-md-9 d-flex justify-content-center align-items-center"
>
<div id="displayDiv"></div>
</div>
</div>
</div>
<div class="card-footer text-end">
<small class="text-muted"
>® <a
class="text-decoration-none"
href="https://github.com/brunotot/"
>Bruno Tot</a
></small
>
</div>
</div>
</body>
</html>