feat: Introduce FastAPI application factory, static assets, and database, configuring core routing, middleware, and service lifecycle.
Some checks failed
Tests / Backend Tests (Python) (3.10) (push) Has been cancelled
Tests / Backend Tests (Python) (3.11) (push) Has been cancelled
Tests / Backend Tests (Python) (3.12) (push) Has been cancelled
Tests / Frontend Tests (JS) (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / All Tests Passed (push) Has been cancelled
@ -119,7 +119,7 @@ def create_app() -> FastAPI:
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>🏠 Homelab Automation API</h1>
|
||||
<h1><img src="/static/icons/icon-192x192.png" alt="Logo" style="width: 32px; height: 32px; vertical-align: middle; margin-right: 8px;"> Homelab Automation API</h1>
|
||||
<p>API REST pour la gestion automatisée de votre homelab avec Ansible.</p>
|
||||
<div class="links">
|
||||
<a href="/docs">📚 Documentation Swagger</a>
|
||||
|
||||
BIN
app/icons/icon-192x192.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
app/icons/icon-512x512.png
Normal file
|
After Width: | Height: | Size: 330 KiB |
BIN
app/icons/icon.jpg
Normal file
|
After Width: | Height: | Size: 196 KiB |
BIN
app/icons/logo-transparent.png
Normal file
|
After Width: | Height: | Size: 241 KiB |
@ -3640,8 +3640,8 @@
|
||||
<!-- Login Form -->
|
||||
<div id="login-form-container" class="glass-card p-8">
|
||||
<div class="text-center mb-8">
|
||||
<div class="w-16 h-16 bg-gradient-to-br from-purple-600 to-blue-600 rounded-2xl flex items-center justify-center mx-auto mb-4">
|
||||
<i class="fas fa-server text-white text-2xl"></i>
|
||||
<div class="w-16 h-16 flex items-center justify-center mx-auto mb-4">
|
||||
<img src="/static/icons/logo-transparent.png" alt="Homelab Logo" class="w-full h-full object-contain drop-shadow-lg">
|
||||
</div>
|
||||
<h1 class="text-2xl font-bold gradient-text mb-2">Homelab Dashboard</h1>
|
||||
<p class="text-gray-400">Connectez-vous pour continuer</p>
|
||||
@ -3706,8 +3706,8 @@
|
||||
<!-- Setup Form (first user creation) -->
|
||||
<div id="setup-form-container" class="glass-card p-8 hidden">
|
||||
<div class="text-center mb-8">
|
||||
<div class="w-16 h-16 bg-gradient-to-br from-green-600 to-emerald-600 rounded-2xl flex items-center justify-center mx-auto mb-4">
|
||||
<i class="fas fa-user-plus text-white text-2xl"></i>
|
||||
<div class="w-16 h-16 flex items-center justify-center mx-auto mb-4">
|
||||
<img src="/static/icons/logo-transparent.png" alt="Homelab Logo" class="w-full h-full object-contain drop-shadow-lg">
|
||||
</div>
|
||||
<h1 class="text-2xl font-bold gradient-text mb-2">Configuration Initiale</h1>
|
||||
<p class="text-gray-400">Créez votre compte administrateur</p>
|
||||
@ -3853,8 +3853,8 @@
|
||||
<aside id="mobile-nav-sidebar" class="mobile-nav-sidebar">
|
||||
<div class="mobile-nav-header">
|
||||
<div class="flex items-center space-x-3">
|
||||
<div class="w-8 h-8 bg-gradient-to-br from-purple-600 to-blue-600 rounded-lg flex items-center justify-center">
|
||||
<i class="fas fa-server text-white text-sm"></i>
|
||||
<div class="w-8 h-8 flex items-center justify-center">
|
||||
<img src="/static/icons/logo-transparent.png" alt="Homelab Logo" class="w-full h-full object-contain">
|
||||
</div>
|
||||
<span class="font-bold gradient-text">Homelab</span>
|
||||
</div>
|
||||
@ -3918,8 +3918,8 @@
|
||||
<div class="flex items-center justify-between">
|
||||
<!-- Logo -->
|
||||
<div class="flex items-center space-x-3 cursor-pointer" onclick="navigateTo('dashboard')">
|
||||
<div class="w-9 h-9 sm:w-10 sm:h-10 bg-gradient-to-br from-purple-600 to-blue-600 rounded-lg flex items-center justify-center">
|
||||
<i class="fas fa-server text-white text-base sm:text-lg"></i>
|
||||
<div class="w-9 h-9 sm:w-10 sm:h-10 flex items-center justify-center">
|
||||
<img src="/static/icons/logo-transparent.png" alt="Homelab Logo" class="w-full h-full object-contain">
|
||||
</div>
|
||||
<h1 class="text-lg sm:text-xl font-bold gradient-text hidden sm:block">Homelab Dashboard</h1>
|
||||
<h1 class="text-lg font-bold gradient-text sm:hidden">Homelab</h1>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 264 KiB |