122 lines
2.6 KiB
Plaintext
122 lines
2.6 KiB
Plaintext
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>Server Management</title>
|
||
|
<!-- Include Bootstrap CSS -->
|
||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||
|
<!-- Custom CSS -->
|
||
|
<style>
|
||
|
body {
|
||
|
background: linear-gradient(to bottom right, #3494E6, #EC6EAD);
|
||
|
color: #fff;
|
||
|
height: 100vh;
|
||
|
}
|
||
|
|
||
|
.server-list-container {
|
||
|
background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background for better readability */
|
||
|
padding: 20px;
|
||
|
border-radius: 10px; /* Add rounded corners */
|
||
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
|
||
|
}
|
||
|
|
||
|
/* Responsive styling for small screens */
|
||
|
@media (max-width: 576px) {
|
||
|
/* Adjust padding for small screens */
|
||
|
.server-list-container {
|
||
|
padding: 10px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.card {
|
||
|
border: none;
|
||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||
|
background-color: #fff;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.card-header {
|
||
|
background-color: #007BFF;
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
.card-title {
|
||
|
font-size: 24px;
|
||
|
}
|
||
|
|
||
|
.btn-primary {
|
||
|
background-color: #007BFF;
|
||
|
border: none;
|
||
|
}
|
||
|
|
||
|
.btn-primary:hover {
|
||
|
background-color: #0056b3;
|
||
|
}
|
||
|
|
||
|
.btn-danger {
|
||
|
background-color: #dc3545;
|
||
|
border: none;
|
||
|
}
|
||
|
|
||
|
.btn-danger:hover {
|
||
|
background-color: #c82333;
|
||
|
}
|
||
|
|
||
|
/* Custom styling for the server cards */
|
||
|
.server-card {
|
||
|
padding: 15px;
|
||
|
}
|
||
|
|
||
|
.server-card .btn {
|
||
|
margin-right: 10px;
|
||
|
}
|
||
|
|
||
|
.status {
|
||
|
font-weight: bold;
|
||
|
margin: 5px 0;
|
||
|
}
|
||
|
|
||
|
.connected {
|
||
|
color: green;
|
||
|
}
|
||
|
|
||
|
.disconnected {
|
||
|
color: red;
|
||
|
}
|
||
|
|
||
|
.authenticated {
|
||
|
color: green;
|
||
|
}
|
||
|
|
||
|
.not-authenticated {
|
||
|
color: red;
|
||
|
}
|
||
|
|
||
|
/* Responsive styling for small screens */
|
||
|
@media (max-width: 576px) {
|
||
|
.server-card {
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|
||
|
.server-card .btn {
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
<link rel="stylesheet" href="/css/navbar.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<%- include('partials/navbar') %>
|
||
|
<div class="container">
|
||
|
<h2 class="mb-4">Server Management</h2>
|
||
|
<div class="server-list-container" id="serverList"></div>
|
||
|
</div>
|
||
|
|
||
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.min.js"></script>
|
||
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" rel="stylesheet">
|
||
|
<script src="/js/console.js"></script>
|
||
|
</body>
|
||
|
</html>
|