yt-dlf/ads-left.html
Stefan Waidele 6df26c12e6 Add login, ad columns and user management
Unauthenticated visitors see the app with left/right ad columns (loaded
from ads-left.html and ads-right.html). Logged-in users see no ads and
get a logout link in the top bar.

Login is at /login (not linked). Users are managed in users.txt via
scripts/add_user.py (scrypt-hashed passwords). users.txt is gitignored.

New env vars: USERS_FILE, ADS_DIR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 21:21:48 +02:00

13 lines
844 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div style="display:flex;flex-direction:column;gap:1rem;">
<div style="border:2px dashed #ccc;border-radius:8px;padding:1rem;text-align:center;color:#aaa;font-size:0.85rem;min-height:120px;display:flex;align-items:center;justify-content:center;flex-direction:column;">
<div style="font-size:1.5rem;margin-bottom:0.5rem;">📢</div>
<div>Advertisement</div>
<div style="font-size:0.75rem;margin-top:0.25rem;">300 × 120</div>
</div>
<div style="border:2px dashed #ccc;border-radius:8px;padding:1rem;text-align:center;color:#aaa;font-size:0.85rem;min-height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;">
<div style="font-size:1.5rem;margin-bottom:0.5rem;">📢</div>
<div>Advertisement</div>
<div style="font-size:0.75rem;margin-top:0.25rem;">300 × 250</div>
</div>
</div>