feat: implement kList webapp with Flask framework

Adds complete Flask-based web application for server listing service, including routing, database integration, Discord OAuth, templates, static assets, and configuration.

Handles user authentication, server browsing, and admin dashboard functionality. BROKEN
This commit is contained in:
2025-09-03 05:23:30 -04:00
parent ba286278cf
commit 4063deba42
26 changed files with 2767 additions and 0 deletions

View File

@@ -0,0 +1,96 @@
html, body {
overflow-y: scroll;
margin: 0; /* This removes the extra space */
}
body {
background-color: #000;
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
code {
margin: 0; /* This removes the extra space */
}
/* This is the updated rule */
pre {
white-space: pre-wrap;
word-break: break-all;
}
#particles-js {
z-index: -1;
position: fixed;
height: 100%;
width: 100%;
top: 0;
}
.invite-button {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
}
.list-group-item.active {
font-weight: bold;
}
.list-group-item.active::after {
content: ' «';
font-size: 1.2em;
}
@media (max-width: 767px) {
.col-md-3 {
margin-bottom: 2rem;
}
}
#hidden-admin-button {
position: fixed;
bottom: 10px;
right: 15px;
z-index: 9999;
font-size: 18px; /* Adjust size as needed */
opacity: 0.0; /* Make it semi-transparent */
text-decoration: none;
transition: opacity 0.2s ease-in-out;
}
#hidden-admin-button:hover {
opacity: 1.0; /* Make it fully visible on hover */
color: rgb(255, 125, 125);
}
.access-toast {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
padding: 12px 24px;
border-radius: 8px;
background-color: #28a745; /* Bootstrap success green */
color: white;
font-weight: bold;
z-index: 10000;
opacity: 0;
transition: opacity 0.4s ease-in-out, bottom 0.4s ease-in-out;
}
.access-toast.show {
opacity: 1;
bottom: 40px;
}
.center-container {
display: flex;
justify-content: center;
align-items: center;
height: 80vh;
text-align: center;
}