v0.5.1: Design overhaul — felhom.eu branding, blue/cyan color scheme
- New color palette matching felhom.eu/controller templates (blue/cyan accent) - Plus Jakarta Sans font, 12px border radius, accent glow on focus - felhom.eu logo in navbar, "Powered by felhom.eu" footer - Settings page: documentation about external vs internal Docker URLs - Fixed version double "v" prefix display - Cleaned up example HTML files from development Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+14
-1
@@ -3,7 +3,7 @@
|
||||
import os
|
||||
import traceback
|
||||
|
||||
from flask import Flask, render_template, request, redirect, url_for, flash, jsonify
|
||||
from flask import Flask, render_template, request, redirect, url_for, flash, jsonify, send_from_directory
|
||||
|
||||
from app import config
|
||||
from app.scraper import scrape, supported_sites
|
||||
@@ -195,6 +195,19 @@ def list_all_tags():
|
||||
return jsonify({"mealie": mealie_tags, "tandoor": tandoor_tags})
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Assets
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
ASSETS_DIR = os.path.join(os.path.dirname(__file__), "assets")
|
||||
|
||||
|
||||
@app.route("/assets/<path:filename>")
|
||||
def serve_asset(filename):
|
||||
"""Serve static assets (logo, etc.) from app/assets/."""
|
||||
return send_from_directory(ASSETS_DIR, filename)
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Health
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user