bmc_hub/app/backups/frontend/views.py
Christian 3fb43783a6 feat: Implement Email Workflow System with comprehensive documentation and migration scripts
- Added Email Workflow System with automated actions based on email classification.
- Created database schema with tables for workflows, executions, and actions.
- Developed API endpoints for CRUD operations on workflows and execution history.
- Included pre-configured workflows for invoice processing, time confirmation, and bankruptcy alerts.
- Introduced user guide and workflow system improvements for better usability.
- Implemented backup system for automated backup jobs and notifications.
- Established email activity log to track all actions and events related to emails.
2025-12-15 12:28:12 +01:00

21 lines
554 B
Python

"""
Backup Frontend Views
Serves HTML pages for backup system dashboard
"""
from fastapi import APIRouter, Request
from fastapi.templating import Jinja2Templates
from fastapi.responses import HTMLResponse
router = APIRouter()
templates = Jinja2Templates(directory="app")
@router.get("/backups", response_class=HTMLResponse)
async def backups_dashboard(request: Request):
"""Backup system dashboard page"""
return templates.TemplateResponse("backups/templates/index.html", {
"request": request,
"title": "Backup System"
})