mirror of
https://github.com/sstent/FitTrack_ReportGenerator.git
synced 2026-01-29 18:41:59 +00:00
This commit introduces the initial version of the FitTrack Report Generator, a FastAPI application for analyzing workout files. Key features include: - Parsing of FIT, TCX, and GPX workout files. - Analysis of power, heart rate, speed, and elevation data. - Generation of summary reports and charts. - REST API for single and batch workout analysis. The project structure has been set up with a `src` directory for core logic, an `api` directory for the FastAPI application, and a `tests` directory for unit, integration, and contract tests. The development workflow is configured to use Docker and modern Python tooling.
55 lines
1.7 KiB
HTML
55 lines
1.7 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="navigation"></div>
|
|
|
|
<div class="layout-grid">
|
|
<!-- Left Sidebar -->
|
|
<div class="sidebar">
|
|
<div class="card sync-card">
|
|
<button id="sync-now-btn" class="btn btn-primary btn-large">
|
|
<i class="icon-sync"></i>
|
|
Sync Now
|
|
</button>
|
|
<div class="sync-status" id="sync-status">
|
|
Ready to sync
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card statistics-card">
|
|
<h3>Statistics</h3>
|
|
<div class="stat-item">
|
|
<label>Total Activities:</label>
|
|
<span id="total-activities">{{stats.total}}</span>
|
|
</div>
|
|
<div class="stat-item">
|
|
<label>Downloaded:</label>
|
|
<span id="downloaded-activities">{{stats.downloaded}}</span>
|
|
</div>
|
|
<div class="stat-item">
|
|
<label>Missing:</label>
|
|
<span id="missing-activities">{{stats.missing}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Right Content Area -->
|
|
<div class="main-content">
|
|
<div class="card log-display">
|
|
<div class="card-header">
|
|
<h3>Log Data</h3>
|
|
</div>
|
|
<div class="log-content" id="log-content">
|
|
<!-- Real-time log updates will appear here -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block page_scripts %}
|
|
<script src="/static/home.js"></script>
|
|
{% endblock %}
|