Files
Brent Neale c65f039dcb Remove SRI integrity checks from Bootstrap CDN links
Fixes Bootstrap CSS not loading on Railway deployment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 16:57:56 +10:00

49 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}fx-quant{% endblock %}</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet">
<style>
body { background: #f8f9fa; }
.navbar-brand { font-weight: 700; letter-spacing: 1px; }
.card { margin-bottom: 1rem; }
.table-sm td, .table-sm th { font-size: 0.85rem; }
.kill-active { background: #dc3545; color: #fff; padding: 4px 10px; border-radius: 4px; }
.kill-inactive { background: #198754; color: #fff; padding: 4px 10px; border-radius: 4px; }
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-4">
<div class="container">
<a class="navbar-brand" href="/">fx-quant</a>
<div class="navbar-nav">
<a class="nav-link" href="/">Status</a>
<a class="nav-link" href="/backtest">Backtest</a>
<a class="nav-link" href="/backtest-chart">Backtest Chart</a>
<a class="nav-link" href="/chart">Chart</a>
<a class="nav-link" href="/config">Config</a>
<a class="nav-link" href="/logs">Logs</a>
</div>
</div>
</nav>
<div class="container">
{% with messages = get_flashed_messages(with_categories=true) %}
{% for category, message in messages %}
<div class="alert alert-{{ category }} alert-dismissible fade show" role="alert">
{{ message }}
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
</div>
{% endfor %}
{% endwith %}
{% block content %}{% endblock %}
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>