phase2: add modular apps, auth scaffolding, and base template routing

This commit is contained in:
Alfredo Di Stasio
2026-03-10 10:27:40 +01:00
parent 35686bdb66
commit f47ffe6c15
63 changed files with 594 additions and 24 deletions

View File

@ -0,0 +1,11 @@
{% extends 'base.html' %}
{% block title %}HoopScout | Dashboard{% endblock %}
{% block content %}
<section class="panel">
<h1>Dashboard</h1>
<p>Welcome, {{ request.user.username }}.</p>
<p>This is the authenticated control center for saved searches and watchlists.</p>
</section>
{% endblock %}

18
templates/core/home.html Normal file
View File

@ -0,0 +1,18 @@
{% extends 'base.html' %}
{% block title %}HoopScout | Home{% endblock %}
{% block content %}
<section class="panel">
<h1>Basketball scouting, server-rendered.</h1>
<p>Search players and track targets using a Django + HTMX workflow.</p>
<div class="actions">
<a class="button" href="{% url 'players:index' %}">Browse players</a>
{% if request.user.is_authenticated %}
<a class="button ghost" href="{% url 'core:dashboard' %}">Go to dashboard</a>
{% else %}
<a class="button ghost" href="{% url 'users:signup' %}">Create account</a>
{% endif %}
</div>
</section>
{% endblock %}