File tree Expand file tree Collapse file tree 3 files changed +64
-0
lines changed
Expand file tree Collapse file tree 3 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments