Update templates/error.html
Browse files- templates/error.html +64 -64
templates/error.html
CHANGED
|
@@ -1,65 +1,65 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="en">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<title>Title</title>
|
| 6 |
-
|
| 7 |
-
<style>
|
| 8 |
-
|
| 9 |
-
.outer-box {
|
| 10 |
-
position: relative; /* Necessary for positioning relative to this element */
|
| 11 |
-
display: inline-block; /* Make the outer box inline-block to allow positioning relative to it */
|
| 12 |
-
padding: 5px 10px;
|
| 13 |
-
border: 1px solid white;
|
| 14 |
-
margin-left: 350px;
|
| 15 |
-
margin-bottom: 5px;
|
| 16 |
-
border-radius: 30px; /* Add rounded corners */
|
| 17 |
-
}
|
| 18 |
-
|
| 19 |
-
body{
|
| 20 |
-
background: linear-gradient(135deg, #1a1b2d, #2c3e50, #34495e, #3b3f73);
|
| 21 |
-
width: 1480px; /* Set width to 1480 pixels */
|
| 22 |
-
height:
|
| 23 |
-
padding: 15px;
|
| 24 |
-
}
|
| 25 |
-
</style>
|
| 26 |
-
|
| 27 |
-
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
</head>
|
| 31 |
-
|
| 32 |
-
<body class="text-light">
|
| 33 |
-
|
| 34 |
-
<div class="outer-box"><h1> WBC's Object Detection Using YOLO 11 </h1> </div>
|
| 35 |
-
|
| 36 |
-
<br>
|
| 37 |
-
<ul class="nav nav-pills">
|
| 38 |
-
<li class="link-primary">
|
| 39 |
-
<a class="nav-link " aria-current="page" href="/index">Home</a>
|
| 40 |
-
</li>
|
| 41 |
-
<li class="link-primary">
|
| 42 |
-
<a class="nav-link" href="/wbc_info">WBC's Info</a>
|
| 43 |
-
</li>
|
| 44 |
-
<li class="link-primary">
|
| 45 |
-
<a class="nav-link" href="/document">Documentations</a>
|
| 46 |
-
</li>
|
| 47 |
-
</ul>
|
| 48 |
-
|
| 49 |
-
<br>
|
| 50 |
-
|
| 51 |
-
<h3>An Error has Occured :(</h3>
|
| 52 |
-
|
| 53 |
-
<br>
|
| 54 |
-
|
| 55 |
-
<h4>Error Reasons:</h4>
|
| 56 |
-
|
| 57 |
-
<ol>
|
| 58 |
-
<li> No file was selected.</li>
|
| 59 |
-
<li> A Non image file was selected.</li>
|
| 60 |
-
<li> A Corrupt image is selected.</li>
|
| 61 |
-
</ol>
|
| 62 |
-
<br>
|
| 63 |
-
<h3>If none above the Error Then it is an unexpected Error :( </h3>
|
| 64 |
-
</body>
|
| 65 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<title>Title</title>
|
| 6 |
+
|
| 7 |
+
<style>
|
| 8 |
+
|
| 9 |
+
.outer-box {
|
| 10 |
+
position: relative; /* Necessary for positioning relative to this element */
|
| 11 |
+
display: inline-block; /* Make the outer box inline-block to allow positioning relative to it */
|
| 12 |
+
padding: 5px 10px;
|
| 13 |
+
border: 1px solid white;
|
| 14 |
+
margin-left: 350px;
|
| 15 |
+
margin-bottom: 5px;
|
| 16 |
+
border-radius: 30px; /* Add rounded corners */
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
body{
|
| 20 |
+
background: linear-gradient(135deg, #1a1b2d, #2c3e50, #34495e, #3b3f73);
|
| 21 |
+
width: 1480px; /* Set width to 1480 pixels */
|
| 22 |
+
min-height: 100vh; /* Ensure body is at least the height of the viewport */
|
| 23 |
+
padding: 15px;
|
| 24 |
+
}
|
| 25 |
+
</style>
|
| 26 |
+
|
| 27 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
</head>
|
| 31 |
+
|
| 32 |
+
<body class="text-light">
|
| 33 |
+
|
| 34 |
+
<div class="outer-box"><h1> WBC's Object Detection Using YOLO 11 </h1> </div>
|
| 35 |
+
|
| 36 |
+
<br>
|
| 37 |
+
<ul class="nav nav-pills">
|
| 38 |
+
<li class="link-primary">
|
| 39 |
+
<a class="nav-link " aria-current="page" href="/index">Home</a>
|
| 40 |
+
</li>
|
| 41 |
+
<li class="link-primary">
|
| 42 |
+
<a class="nav-link" href="/wbc_info">WBC's Info</a>
|
| 43 |
+
</li>
|
| 44 |
+
<li class="link-primary">
|
| 45 |
+
<a class="nav-link" href="/document">Documentations</a>
|
| 46 |
+
</li>
|
| 47 |
+
</ul>
|
| 48 |
+
|
| 49 |
+
<br>
|
| 50 |
+
|
| 51 |
+
<h3>An Error has Occured :(</h3>
|
| 52 |
+
|
| 53 |
+
<br>
|
| 54 |
+
|
| 55 |
+
<h4>Error Reasons:</h4>
|
| 56 |
+
|
| 57 |
+
<ol>
|
| 58 |
+
<li> No file was selected.</li>
|
| 59 |
+
<li> A Non image file was selected.</li>
|
| 60 |
+
<li> A Corrupt image is selected.</li>
|
| 61 |
+
</ol>
|
| 62 |
+
<br>
|
| 63 |
+
<h3>If none above the Error Then it is an unexpected Error :( </h3>
|
| 64 |
+
</body>
|
| 65 |
</html>
|