Skip to content

Commit 800f091

Browse files
authored
Add files via upload
1 parent ff9b237 commit 800f091

File tree

3 files changed

+64
-0
lines changed

3 files changed

+64
-0
lines changed

404.png

11.9 KB
Loading

dynamsoft-192x192.png

4.44 KB
Loading

error.html

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>404 Page</title>
8+
<style>
9+
* {
10+
margin: 0;
11+
padding: 0;
12+
box-sizing: border-box;
13+
}
14+
html, body {
15+
width: 100%;
16+
height: 100%;
17+
overflow: hidden;
18+
text-align: center;
19+
}
20+
.logo {
21+
margin-top: 80px;
22+
margin-bottom: 20px;
23+
}
24+
.not-found {
25+
margin-top: 65px;
26+
}
27+
.show-xs {
28+
font-family: 'OpenSans-Light';
29+
margin-top: 80px;
30+
}
31+
.countdown-area {
32+
margin-top: 30px;
33+
}
34+
.countdown-area .countdown {
35+
color: rgb(254,142,20);
36+
font-weight: 700;
37+
}
38+
</style>
39+
</head>
40+
<body>
41+
<div class="logo"><img src="./dynamsoft-192x192.png" alt="logo"></div>
42+
<h3>Barcode Reader Samples</h3>
43+
<img class="not-found" src="./404.png" alt="404">
44+
<h1 class="show-xs">Oops! That page can't be found.</h1>
45+
<div class="countdown-area">
46+
<span class="countdown-text">Redirecting to the sample home page</span>
47+
<span class="countdown">5S</span>
48+
</div>
49+
<script>
50+
let count = 5;
51+
let cd = document.querySelector('.countdown');
52+
function countdown() {
53+
cd.innerText = count + 'S';
54+
if(count === 0) {
55+
location.href = 'https://demo.dynamsoft.com/samples/dbr/js/';
56+
} else if(count > 0) {
57+
count--;
58+
setTimeout(countdown, 1000);
59+
}
60+
}
61+
countdown()
62+
</script>
63+
</body>
64+
</html>

0 commit comments

Comments
 (0)