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:
@@ -1,12 +1,49 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Beállítások — Recept Importáló{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
<style>
|
||||
.info-box {
|
||||
background: var(--surface2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
padding: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-dim);
|
||||
line-height: 1.6;
|
||||
}
|
||||
.info-box strong { color: var(--text); }
|
||||
.info-box code {
|
||||
background: var(--bg);
|
||||
padding: 0.15rem 0.4rem;
|
||||
border-radius: 4px;
|
||||
font-size: 0.8rem;
|
||||
color: var(--accent-light);
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="info-box">
|
||||
<strong>Külső vs. belső URL-ek</strong><br>
|
||||
Az itt megadott URL-ek a <strong>külső (böngészőből elérhető)</strong> címek —
|
||||
ezeket használja az importáló a receptekre mutató linkek generálásához.<br><br>
|
||||
Ha a Recept Importáló ugyanazon a Docker hálózaton fut, mint a Mealie/Tandoor,
|
||||
beállíthatsz <strong>belső URL-eket</strong> is a <code>docker-compose.yml</code>-ben
|
||||
környezeti változóként:<br>
|
||||
<code>MEALIE_INTERNAL_URL=http://mealie:9000</code><br>
|
||||
<code>TANDOOR_INTERNAL_URL=http://tandoor:8080</code><br><br>
|
||||
A belső URL-ek gyorsabb, közvetlen API-hívásokat tesznek lehetővé
|
||||
(elkerülve a reverse proxy-t / Cloudflare-t).
|
||||
Ha nincsenek megadva, a fenti külső URL-ek lesznek használva az API-hívásokhoz is.
|
||||
</div>
|
||||
|
||||
<form method="POST" action="/settings">
|
||||
<div class="card">
|
||||
<h2>Mealie kapcsolat</h2>
|
||||
|
||||
<label for="mealie_url">Mealie URL</label>
|
||||
<label for="mealie_url">Mealie URL (külső)</label>
|
||||
<input type="url" id="mealie_url" name="mealie_url"
|
||||
value="{{ cfg.mealie_url }}"
|
||||
placeholder="https://mealie.example.com">
|
||||
@@ -31,7 +68,7 @@
|
||||
<div class="card">
|
||||
<h2>Tandoor kapcsolat</h2>
|
||||
|
||||
<label for="tandoor_url">Tandoor URL</label>
|
||||
<label for="tandoor_url">Tandoor URL (külső)</label>
|
||||
<input type="url" id="tandoor_url" name="tandoor_url"
|
||||
value="{{ cfg.tandoor_url }}"
|
||||
placeholder="https://recipes.example.com">
|
||||
|
||||
Reference in New Issue
Block a user