-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
224 lines (214 loc) · 10.6 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<title>
QR Code Generator
</title>
<!-- Fonts and icons -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900|Roboto+Slab:400,700" />
<!-- Nucleo Icons -->
<link href="assets/css/nucleo-icons.css" rel="stylesheet" />
<link href="assets/css/nucleo-svg.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Font Awesome Icons -->
<script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script>
<!-- Material Icons -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet">
<!-- CSS Files -->
<link id="pagestyle" href="assets/css/material-dashboard.css?v=3.1.0" rel="stylesheet" />
<!-- Nepcha Analytics (nepcha.com) -->
<!-- Nepcha is a easy-to-use web analytics. No cookies and fully compliant with GDPR, CCPA and PECR. -->
<script defer data-site="YOUR_DOMAIN_HERE" src="https://api.nepcha.com/js/nepcha-analytics.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js" integrity="sha512-CNgIRecGo7nphbeZ04Sc13ka07paqdeTu0WR1IM4kNcpmBAUSHSQX0FslNhTDadL4O5SAGapGt4FodqL8My0mA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body class="g-sidenav-show bg-gray-200">
<aside class="sidenav navbar navbar-vertical navbar-expand-xs border-0 border-radius-xl my-3 fixed-start ms-3 bg-gradient-dark" id="sidenav-main">
<div class="sidenav-header">
<i class="fas fa-times p-3 cursor-pointer text-white opacity-5 position-absolute end-0 top-0 d-none d-xl-none" aria-hidden="true" id="iconSidenav"></i>
<a class="navbar-brand m-0" href="">
<img src="assets/img/logo-ct.png" class="navbar-brand-img h-100" alt="main_logo">
<span class="ms-1 font-weight-bold text-white">Dosena QR</span>
</a>
</div>
<hr class="horizontal light mt-0 mb-2">
<div class="collapse navbar-collapse w-auto " id="sidenav-collapse-main">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-white active" href="index.html" style="background-color: rgb(3, 112, 79);">
<div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
<i class="material-icons opacity-10">receipt_long</i>
</div>
<span class="nav-link-text ms-1">Generate QR</span>
</a>
</li>
<li class="nav-item mt-3">
<h6 class="ps-4 ms-2 text-uppercase text-xs text-white font-weight-bolder opacity-8"></h6> <br>
</li>
<li class="nav-item">
<a class="nav-link text-white " href="sign-in.html">
<div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
<img src="assets/img/qr.png" alt="" width="200px">
</div>
</a>
</li>
</ul>
</div>
<div class="sidenav-footer position-absolute w-100 bottom-0 ">
<div class="mx-3">
<a class="btn w-100" href="contact.html" type="button" style="background-color: rgb(3, 112, 79); color: rgb(229, 227, 227);">
Contact
</a>
</div>
</div>
</aside>
<main class="main-content position-relative max-height-vh-100 h-100 border-radius-lg ">
<!-- Navbar -->
<nav class="navbar navbar-main navbar-expand-lg px-0 mx-4 shadow-none border-radius-xl" id="navbarBlur" data-scroll="true">
<div class="container-fluid py-1 px-3">
<nav aria-label="breadcrumb">
<h3 class="font-weight-bolder mb-0" style="color: rgb(3, 112, 79);">Dosena QR</h3>
</nav>
<div class="collapse navbar-collapse mt-sm-0 mt-2 me-md-0 me-sm-4" id="navbar">
<ul class="navbar-nav justify-content-end">
<li class="nav-item d-xl-none ps-3 d-flex align-items-center">
<a href="javascript:;" class="nav-link text-body p-0" id="iconNavbarSidenav">
<div class="sidenav-toggler-inner">
<i class="sidenav-toggler-line"></i>
<i class="sidenav-toggler-line"></i>
<i class="sidenav-toggler-line"></i>
</div>
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- End Navbar -->
<div class="container-fluid py-4">
<div class="row">
<div class="col-lg-8">
<div class="row">
<div class="col-xl-12">
<div class="row">
<div class="col-md-4 col-4 ">
<div class="card bg-green-black">
<a href="">
<div class="card-header mx-4 p-3 text-center bg-green-black">
</div>
<div class="card-body pt-0 p-3 text-center">
<h6 class="text-center mb-0">URL</h6>
</div>
</a>
</div>
</div>
<div class="col-md-4 col-4">
<div class="card m-auto">
<img src="assets/img/3.gif" height="80px" alt="">
</div>
</div>
</div>
</div>
<div class="col-md-12 mb-lg-0 mb-4">
<div class="card mt-4">
<div class="card-header pb-0 p-3">
<div class="row text-center">
<h5 class="mb-0">Generate a website or a social network QR Code</h5>
</div>
</div>
<form action="" id="form-generator">
<div class="card-body p-3">
<div class="row">
<div class="col-md-12">
<div class="card card-body border-radius-lg ">
<input type="url" id="url" class="form-control border text-center" placeholder="URL: https:// or http://">
<div id="warning-info" class="warning-info-red text-center"></div>
</div>
<div class="card card-body border-radius-lg text-center ">
<select id="size" class="form-control border text-center">
<option value="100">100 x 100 (px)</option>
<option value="200" selected>200 x 200 (px)</option>
<option value="300">300 x 300 (px)</option>
<option value="400">400 x 400 (px)</option>
</select>
</div>
<div class="card card-body border-radius-lg text-center ">
<label class=" text-center font-weight-bold lbl">Click and pick color to custom your QR Code or let it by default in Black.</label>
<input type="color" id="pickcolor" class="form-control border text-center rounded height-100">
</div>
</div>
</div>
<div class="row">
<div class="col-12 text-center"><br>
<button class="btn mb-0" type="submit" style="background-color: rgb(3, 112, 79); color: rgb(255, 251, 251);">
Generate QR Code
</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="card h-100 text-center">
<div class="card-header p-3 pb-0 m-auto">
<div id="spinner" class="loader m-auto"></div>
<div id="qrcode" class="m-auto"></div>
</div>
<div class="card-body pb-0 p-3">
<div class="row">
<div class="col-12" id="">
<hr class="dark horizontal my-0">
<div id="generated"></div>
</div>
<div class="col-12" id="bton"> <br><br>
<div class=""></div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="footer py-4 ">
<div class="container-fluid">
<div class="row align-items-center justify-content-lg-between">
<div class="col-lg-6 mb-lg-0 mb-4">
<div class="copyright text-center text-sm text-muted text-lg-start">
© <script>
document.write(new Date().getFullYear())
</script>,
made by
<a href="" class="font-weight-bold" style="color: rgb(3, 112, 79);">Sena Do.</a>
</div>
</div>
</div>
</div>
</footer>
</div>
</main>
<!-- Core JS Files -->
<script src="assets/js/core/popper.min.js"></script>
<script src="assets/js/core/bootstrap.min.js"></script>
<script src="assets/js/plugins/perfect-scrollbar.min.js"></script>
<script src="assets/js/plugins/smooth-scrollbar.min.js"></script>
<script>
var win = navigator.platform.indexOf('Win') > -1;
if (win && document.querySelector('#sidenav-scrollbar')) {
var options = {
damping: '0.5'
}
Scrollbar.init(document.querySelector('#sidenav-scrollbar'), options);
}
</script>
<!-- Github buttons -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- Control Center for Material Dashboard: parallax effects, scripts for the example pages etc -->
<script src="assets/js/material-dashboard.min.js?v=3.1.0"></script>
<script src="assets/js/material.js"></script>
</body>
</html>