Initial commit — Server_Monitorizare_v2

This commit is contained in:
ske087
2026-04-23 15:55:46 +03:00
commit d2485e4c66
61 changed files with 13861 additions and 0 deletions

23
templates/errors/400.html Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>400 - Bad Request</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; padding: 50px; background-color: #f5f5f5; }
.error-container { max-width: 500px; margin: 0 auto; background: white; padding: 40px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
h1 { color: #f39c12; font-size: 72px; margin: 0; }
h2 { color: #333; margin: 20px 0; }
p { color: #666; line-height: 1.6; }
.back-link { display: inline-block; margin-top: 20px; padding: 10px 20px; background: #3498db; color: white; text-decoration: none; border-radius: 5px; }
.back-link:hover { background: #2980b9; }
</style>
</head>
<body>
<div class="error-container">
<h1>400</h1>
<h2>Bad Request</h2>
<p>The server could not understand your request.</p>
<a href="/" class="back-link">← Back to Dashboard</a>
</div>
</body>
</html>

23
templates/errors/403.html Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>403 - Forbidden</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; padding: 50px; background-color: #f5f5f5; }
.error-container { max-width: 500px; margin: 0 auto; background: white; padding: 40px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
h1 { color: #e67e22; font-size: 72px; margin: 0; }
h2 { color: #333; margin: 20px 0; }
p { color: #666; line-height: 1.6; }
.back-link { display: inline-block; margin-top: 20px; padding: 10px 20px; background: #3498db; color: white; text-decoration: none; border-radius: 5px; }
.back-link:hover { background: #2980b9; }
</style>
</head>
<body>
<div class="error-container">
<h1>403</h1>
<h2>Forbidden</h2>
<p>You don't have permission to access this resource.</p>
<a href="/" class="back-link">← Back to Dashboard</a>
</div>
</body>
</html>

56
templates/errors/404.html Normal file
View File

@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html>
<head>
<title>404 - Page Not Found</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
padding: 50px;
background-color: #f5f5f5;
}
.error-container {
max-width: 500px;
margin: 0 auto;
background: white;
padding: 40px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
color: #e74c3c;
font-size: 72px;
margin: 0;
}
h2 {
color: #333;
margin: 20px 0;
}
p {
color: #666;
line-height: 1.6;
}
.back-link {
display: inline-block;
margin-top: 20px;
padding: 10px 20px;
background: #3498db;
color: white;
text-decoration: none;
border-radius: 5px;
}
.back-link:hover {
background: #2980b9;
}
</style>
</head>
<body>
<div class="error-container">
<h1>404</h1>
<h2>Page Not Found</h2>
<p>The page you are looking for doesn't exist or has been moved.</p>
<p>Try checking the URL or use the navigation menu.</p>
<a href="/" class="back-link">← Back to Dashboard</a>
</div>
</body>
</html>

23
templates/errors/500.html Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>500 - Internal Server Error</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; padding: 50px; background-color: #f5f5f5; }
.error-container { max-width: 500px; margin: 0 auto; background: white; padding: 40px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
h1 { color: #e74c3c; font-size: 72px; margin: 0; }
h2 { color: #333; margin: 20px 0; }
p { color: #666; line-height: 1.6; }
.back-link { display: inline-block; margin-top: 20px; padding: 10px 20px; background: #3498db; color: white; text-decoration: none; border-radius: 5px; }
.back-link:hover { background: #2980b9; }
</style>
</head>
<body>
<div class="error-container">
<h1>500</h1>
<h2>Internal Server Error</h2>
<p>Something went wrong on our end. Please try again later.</p>
<a href="/" class="back-link">← Back to Dashboard</a>
</div>
</body>
</html>