code linted

This commit is contained in:
Lorenzo Venerandi
2026-03-07 17:14:07 +01:00
parent e1ec7ede45
commit f391da2025
2 changed files with 5 additions and 3 deletions

View File

@@ -74,7 +74,9 @@ async def lifespan(app: FastAPI):
password_line = ""
if config.dashboard_password_generated:
password_line = f"\n\nDASHBOARD PASSWORD (auto-generated)\n{config.dashboard_password}"
password_line = (
f"\n\nDASHBOARD PASSWORD (auto-generated)\n{config.dashboard_password}"
)
banner = f"""

View File

@@ -421,9 +421,9 @@ async def htmx_admin(request: Request):
return HTMLResponse(
'<div class="table-container" style="text-align:center;padding:80px 20px;">'
'<h1 style="color:#f0883e;font-size:48px;margin:20px 0 10px;">Nice try bozo</h1>'
'<br>'
"<br>"
'<img src="https://media0.giphy.com/media/v1.Y2lkPTZjMDliOTUyaHQ3dHRuN2wyOW1kZndjaHdkY2dhYzJ6d2gzMDJkNm53ZnNrdnNlZCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/mOY97EXNisstZqJht9/200w.gif" alt="Diddy">'
'</div>',
"</div>",
status_code=200,
)
templates = get_templates()