-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (65 loc) · 2.59 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
<!doctype html>
<html lang="en" class="h-100">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Hugo 0.88.1">
<title>Sticky Footer Navbar Template · Bootstrap v5.1</title>
<!-- Bootstrap core CSS -->
<link href="css/style.css" rel="stylesheet" integrity="">
<!-- Favicons -->
<link rel="icon" href="favicon.ico">
<meta name="theme-color" content="#dee2e6">
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
img,canvas {width: 100%;height: auto;}
</style>
<!-- Custom styles for this template -->
<link href="css/custom.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/sweetalert2@7.12.15/dist/sweetalert2.min.css" rel="stylesheet">
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
</head>
<body class="d-flex flex-column h-100">
<header>
<!-- Fixed navbar -->
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-light">
<div class="container">
<a class="navbar-brand" href="#"><span class="text-muted">Fixed navbar</span></a>
</div>
</nav>
</header>
<!-- Begin page content -->
<main class="flex-shrink-0">
<div class="container">
<h1 class="mt-5">Sticky footer with fixed navbar</h1>
<p class="lead">Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code class="small">padding-top: 60px;</code> on the <code class="small">main > .container</code>.</p>
<div class="input-group mb-3">
<label class="input-group-text" for="image_input">Upload</label>
<input type="file" class="form-control" name="image_input" id="image_input" multiple>
</div>
<button class="btn btn-primary mb-3" onclick="generate('Gambar tidak boleh kosong!.')">Submit</button>
<button class="btn btn-success mb-3" onclick="download()" id="download" disabled>Unduh</button>
<p><canvas id="canvas"></canvas></p>
</div>
</main>
<footer class="footer mt-auto py-3 bg-light">
<div class="container">
<span class="text-muted">© 2022.</span>
</div>
</footer>
<script src="js/app.js"></script>
</body>
</html>