DIS_IPL / templates /identify.html
Jay-Rajput's picture
DIS IPL 2026
60e9d75
raw
history blame
2.58 kB
{% extends 'base.html' %}
{% block title %}Home – {{ app_brand }}{% endblock %}
{% block content %}
<div class="page" style="max-width:520px;">
<div class="card" style="text-align:center; margin-bottom:1.5rem; border-color:rgba(249,115,22,0.25);">
<div style="font-size:2.5rem; margin-bottom:0.5rem;">🏏</div>
<div class="page-title" style="font-size:1.75rem; letter-spacing:3px;">
DIS <span style="color:var(--white);">IPL</span> <span style="color:var(--gold);">2026</span>
</div>
<div style="font-size:1rem; color:var(--orange); font-weight:600; margin-top:0.5rem;">DIS IPL Match Predictions</div>
<div class="page-subtitle" style="margin-top:0.75rem;">🏆 {{ app_tagline }} 🏏</div>
<div style="font-size:0.88rem; color:var(--muted2); margin-top:0.75rem;">Pick your name to track predictions &amp; points.</div>
</div>
<div class="card">
<div class="card-title">WHO ARE YOU?</div>
{% if current_user %}
<div style="text-align:center; padding-bottom:1.25rem; margin-bottom:1.25rem; border-bottom:1px solid var(--border);">
<div style="font-size:0.85rem; color:var(--muted2);">You’re signed in as</div>
<div style="font-size:1.2rem; font-weight:700; color:var(--orange); margin-top:0.35rem;">{{ current_user.display_name or current_user.username }}</div>
<a href="{{ url_for('dashboard') }}" class="btn btn-primary" style="margin-top:1rem; width:100%; max-width:280px; justify-content:center;">Open app — today’s matches</a>
<div style="font-size:0.8rem; color:var(--muted); margin-top:1rem;">Someone else on this device? Pick their name below.</div>
</div>
{% endif %}
<form method="post" action="{{ url_for('index') }}">
<input type="hidden" name="remember" value="1">
<div class="form-group">
<label for="member_key">Team member</label>
<select name="member_key" id="member_key" required>
<option value="">Select your name…</option>
{% for m in members %}
<option value="{{ m.key }}"
{% if suggested and suggested.member_key == m.key %}selected{% endif %}>
{{ m.display_name or m.key }}
</option>
{% endfor %}
</select>
</div>
<button type="submit" class="btn btn-primary" style="width:100%; justify-content:center; padding:0.85rem;">Let’s go →</button>
</form>
<p style="margin-top:1.25rem; font-size:0.8rem; color:var(--muted);">
New teammate? Ask your admin to add you to the team roster.
</p>
</div>
</div>
{% endblock %}