5c82e8bd9f
Dwie pierwsze wskazowki od partnerow biznesowych; pozostale piec zapisane jako wymagania (PRE-21..PRE-24) do zrobienia w kolejnych krokach. PRE-19 — offset wzgledem GMT. Etykieta mowila „Strefa (offset h)”, czyli nie bylo jasne, wzgledem czego liczymy przesuniecie. Teraz „Offset wzgledem GMT (h)” z podpowiedzia. Krok juz byl 15-minutowy (0,25 h) — dolozony zakres −12…+14, zeby nie dalo sie wpisac strefy, ktora nie istnieje. Zmiana w trzech zakladkach, ktore maja to pole (Horoskop, Interpretacje, Kalendarz). PRE-20 — po „Tu i teraz” wspolrzedne i pineska skakaly na biezace polozenie, ale w polu tekstowym zostawala STARA, wczesniej wpisana nazwa. Formularz pokazywal jedno miejsce, a liczyl dla innego — cicha pomylka, nic sie nie wywalalo. Handler zdarzenia astrololo:coords odswieza teraz nazwe przez reverseName. Przy okazji druga strona tego samego bledu: reverseName czysci pole ZANIM wysle zapytanie. Gdyby /reverse nie odpowiedzialo (brak sieci), zostalaby stara nazwa — lepiej puste pole i poprawne wspolrzedne niz nazwa, ktora klamie. Wymagania: PRE-19/20 (zrobione), PRE-21 wspolne dane miedzy zakladkami wraz z polem imie i nazwisko, PRE-22 wiele predykcji okresowych w pamieci sesji, PRE-23 zakladka „Skompiluj”, PRE-24 raport PDF przez LaTeX. Dolozone pytanie otwarte Q-14 o lancuch LaTeX→PDF (gdzie postawic TeX Live, silnik unicode owy pod glify, konwersja SVG) — decyzja wplywa na deploy i rozmiar obrazow. Testy: 12 nowych, strukturalnych na zrodle (JS-a nie uruchomimy, a obie regresje sa ciche). Sprawdzone sabotazem — po cofnieciu kazdej poprawki czerwienieja. Calosc: prezentacja 45 passed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
87 lines
3.7 KiB
HTML
87 lines
3.7 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Kalendarz{% endblock %}
|
|
{% block nav_timeline %}active{% endblock %}
|
|
|
|
{% block content %}
|
|
<p class="sub">Zbiorcza oś czasu technik predykcyjnych (profekcje, solariusze, dyrekcje solar-arc) z interpretacjami z bazy dla dat.</p>
|
|
|
|
<form method="post" action="/timeline">
|
|
<div class="grid">
|
|
<label>Data urodzenia
|
|
<input type="date" name="date" value="{{ form.date or '' }}" required>
|
|
</label>
|
|
<label>Godzina (lokalna)
|
|
<input type="time" name="time" value="{{ form.time or '' }}" required>
|
|
</label>
|
|
<label title="Przesunięcie czasu lokalnego względem GMT/UTC. Krok 15 minut (0,25 h) — bo część stref ma przesunięcie o pół lub ćwierć godziny, np. Indie +5:30, Nepal +5:45.">Offset względem GMT (h)
|
|
<input type="number" name="tz_offset" step="0.25" min="-12" max="14"
|
|
value="{{ form.tz_offset if form.tz_offset is not none else 0 }}">
|
|
</label>
|
|
<label>Szerokość (lat)
|
|
<input type="number" name="lat" step="0.0001" value="{{ form.lat if form.lat is not none else 0 }}">
|
|
</label>
|
|
<label>Długość (lon)
|
|
<input type="number" name="lon" step="0.0001" value="{{ form.lon if form.lon is not none else 0 }}">
|
|
</label>
|
|
</div>
|
|
{% if location_label %}<p class="muted small">Wstępnie wpisano lokalizację: <strong>{{ location_label }}</strong> ({{ form.lat }}, {{ form.lon }}). Zmień pola lub kliknij „Tu i teraz".</p>{% endif %}
|
|
{% include "_location_picker.html" %}
|
|
<div class="grid">
|
|
<label>Zakres od
|
|
<input type="date" name="from_date" value="{{ form.from_date or '' }}" required>
|
|
</label>
|
|
<label>Zakres do
|
|
<input type="date" name="to_date" value="{{ form.to_date or '' }}" required>
|
|
</label>
|
|
</div>
|
|
{% include "_prompt_block.html" %}
|
|
<div class="actions">
|
|
<button type="button" id="nowBtn" class="ghost">Tu i teraz</button>
|
|
<button type="submit" name="action" value="timeline">Pokaż kalendarz</button>
|
|
<button type="submit" name="action" value="prompt" class="ghost">Generuj prompt (AI)</button>
|
|
<button type="submit" name="action" value="horoscope">Napisz horoskop (AI)</button>
|
|
<span id="geoNote" class="muted small"></span>
|
|
</div>
|
|
</form>
|
|
|
|
{% if error %}<div class="error">{{ error }}</div>{% endif %}
|
|
|
|
{% if result %}
|
|
{% if result.data_error %}<div class="error">{{ result.data_error }}</div>{% endif %}
|
|
<div class="meta">
|
|
Silnik: <strong>{{ result.engine }}</strong> ·
|
|
zdarzeń: {{ result.count }} · zakres {{ result.from }} → {{ result.to }}
|
|
</div>
|
|
|
|
{% for e in result.events %}
|
|
<div class="sig-item">
|
|
<div class="sig-head">
|
|
<span class="badge">{{ e.exact }}</span>
|
|
<span class="badge">{{ e.technique }}</span>
|
|
<strong>{{ e.significator }}</strong>
|
|
<span class="muted small">(okno {{ e.start }} → {{ e.end }})</span>
|
|
</div>
|
|
{% if e.interpretations %}
|
|
<table class="samples">
|
|
<tbody>
|
|
{% for s in e.interpretations %}
|
|
<tr><td class="sig nowrap" title="{{ s.significator }}">{{ s.expanded }}</td><td>{{ s.effect }}</td></tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% if e.interpretations_count > e.interpretations | length %}
|
|
<div class="muted small">…i {{ e.interpretations_count - (e.interpretations | length) }} więcej</div>
|
|
{% endif %}
|
|
{% elif e.technique != 'solar_return' %}
|
|
<div class="muted small">brak dopasowań w bazie</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
<script src="/static/now.js"></script>
|
|
<script src="/static/copy.js"></script>
|
|
<script src="/static/models.js"></script>
|
|
<script src="/static/progress.js"></script>
|
|
{% endblock %}
|