{% extends "base.html" %} {% block title %} {% if current_user.is_authenticated %} Travel Records - Your Destinations {% else %} Welcome to Travel Records {% endif %} {% endblock %} {% block content %} {% if current_user.is_authenticated %}

Your Travel Records

Welcome back, {{ current_user.display_name }}! Explore your journey through the world

{% if records %}
✈️
{{ records|length }}
Total Trips
🌍
{{ unique_countries|length }}
Countries
πŸ“…
{{ current_year_trips }}
This Year
πŸ“Έ
{{ total_photos }}
Photos
Travel by Purpose
{% for purpose, count in purpose_stats.items() %}
{{ count }} {{ purpose|title }}
{% endfor %}
Travel Activity by Month
{% for month, count in monthly_stats.items() %}
{{ month[:3] }}
{{ count }}
{% endfor %}
Most Visited
{% for destination, count in top_destinations %}
{{ destination }} {{ count }} visit{{ 's' if count > 1 else '' }}
{% endfor %}
{% endif %}
Add New Record {% if current_user.is_authenticated %} Sign Out {% endif %}
{{ search_form.search_country.label(class="form-label text-compact") }} {{ search_form.search_country(class="form-control", value=request.args.get('search_country', '')) }}
{{ search_form.search_city.label(class="form-label text-compact") }} {{ search_form.search_city(class="form-control", value=request.args.get('search_city', '')) }}
{{ search_form.search_purpose.label(class="form-label text-compact") }} {{ search_form.search_purpose(class="form-control") }}
{{ search_form.date_from.label(class="form-label text-compact") }} {{ search_form.date_from(class="form-control", value=request.args.get('date_from', '')) }}
{{ search_form.date_to.label(class="form-label text-compact") }} {{ search_form.date_to(class="form-control", value=request.args.get('date_to', '')) }}
{{ search_form.submit(class="btn btn-primary btn-sm") }}
{% if records %}
{{ records|length }} Travel Record(s) Found
{% for record in records %} {% endfor %}
πŸ—ΊοΈ Destination πŸ“… Travel Dates 🎯 Purpose πŸ“Έ Photos πŸ“ Notes βš™οΈ Actions
{{ record.city }}
{{ record.country }}
{{ record.departure_date.strftime('%b %d, %Y') }}
{% if record.return_date %}
to {{ record.return_date.strftime('%b %d, %Y') }}
{% endif %}
{{ record.purpose|title }} {% if record.photos %}
{% for photo in record.photos[:3] %} {{ photo.original_filename }} {% endfor %} {% if record.photos|length > 3 %}
+{{ record.photos|length - 3 }}
{% endif %}
{% else %} No photos {% endif %}
{% if record.flight_notes %}
{{ record.flight_notes[:40] }}{% if record.flight_notes|length > 40 %}...{% endif %}
{% else %} - {% endif %}
{% for record in records %}
{{ record.city }}
{{ record.country }}
πŸ“… Travel Dates
{{ record.departure_date.strftime('%b %d, %Y') }} {% if record.return_date %}
to {{ record.return_date.strftime('%b %d, %Y') }} {% endif %}
🎯 Purpose
{{ record.purpose|title }}
{% if record.photos %}
πŸ“Έ Photos ({{ record.photos|length }})
{% for photo in record.photos[:4] %} {{ photo.original_filename }} {% endfor %} {% if record.photos|length > 4 %}
+{{ record.photos|length - 4 }}
{% endif %}
{% endif %} {% if record.flight_notes %}
πŸ“ Notes
{{ record.flight_notes }}
{% endif %}
{% endfor %}
{% else %}

No Travel Records Found

Start documenting your travels and create memories that last forever.

Begin Your Journey
{% endif %}
{% else %}

Travel Records

Document, organize, and relive your global adventures with our comprehensive travel management system

Track Every Journey

Record detailed travel information including destinations, dates, purposes, and personal notes. Never forget the details of your adventures.

Photo Memories

Upload and organize photos from your trips. Create visual stories that bring your travel memories to life with thumbnail galleries and full-size viewing.

AI-Powered Stories

Transform your travel records into engaging narratives. Generate adventure stories, travel journals, blog posts, and memoirs using advanced AI technology.

Import Data

Bulk import from CSV/Excel files with automatic column mapping

Milestones

Track achievements and travel goals with progress indicators

Mobile Friendly

Responsive design works perfectly on all devices

Export & Backup

Download your data anytime as CSV for backup or sharing

Ready to Start Your Travel Journal?

Join thousands of travelers who trust us to preserve their precious memories

{% endif %}
×
{% endblock %}