Files
fleet-management/app/routes/owner.py
T
alro65 5b7b41aa50 Initial commit: Fleet Management app with security hardening and background launcher
- Flask app with SQLAlchemy, Flask-Login, Flask-Mail
- Admin/owner roles, vessel management, charters, work orders
- Background launcher (Iniciar.vbs) runs server without terminal window
- Root redirect fixed: / → /login
- debug=False, use_reloader=False for pythonw.exe compatibility

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 02:54:10 -04:00

10 lines
285 B
Python

from flask import Blueprint, render_template
from flask_login import login_required, current_user
bp = Blueprint('owner', __name__, url_prefix='/owner')
@bp.route('/dashboard')
@login_required
def dashboard():
return render_template('owner/dashboard.html', user=current_user)