Initial Commit

This commit is contained in:
Ben Mosley
2026-08-09 22:36:10 -05:00
commit 2bbf79dcd2
15 changed files with 664 additions and 0 deletions

22
templates/index.html Normal file
View File

@@ -0,0 +1,22 @@
{% extends "base.html" %}
{% block title %}Dashboard · Superior Finance{% endblock %}
{% block content %}
<h1>Your Goals</h1>
{% if not goals %}
<p class="empty">No goals yet. <a href="{{ url_for('new_goal') }}">Create your first goal</a>.</p>
{% else %}
{% for goal in goals %}
<div class="card">
<h2><a href="{{ url_for('view_goal', slug=goal.slug) }}">{{ goal.title }}</a></h2>
<div class="meter-label">
<span>${{ goal.saved_amount }} of ${{ goal.goal_amount }}</span>
<span>{{ goal.progress_percent }}%</span>
</div>
<div class="meter">
<div class="meter-fill {% if goal.completed %}complete{% endif %}" style="width: {{ goal.progress_percent }}%"></div>
</div>
<p class="muted">{{ goal.babysteps|length }} babystep(s)</p>
</div>
{% endfor %}
{% endif %}
{% endblock %}