initial
This commit is contained in:
20
templates/index.html
Normal file
20
templates/index.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!-- templates/index.html -->
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-md-6 mx-auto text-center">
|
||||
<h2>Welcome to Health History Tracker</h2>
|
||||
<p class="lead">Track and manage your health records with our secure platform.</p>
|
||||
<div class="mt-4">
|
||||
{% if session.user_id %}
|
||||
<a href="{{ url_for('dashboard') }}" class="btn btn-primary btn-lg me-2">Go to Dashboard</a>
|
||||
<a href="{{ url_for('logout') }}" class="btn btn-outline-secondary btn-lg">Logout</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('login') }}" class="btn btn-primary btn-lg me-2">Login</a>
|
||||
<a href="{{ url_for('register') }}" class="btn btn-outline-primary btn-lg">Register</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user