test / templates /base.html
noranisa's picture
Create templates/base.html
31c402c verified
raw
history blame contribute delete
897 Bytes
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Metals K-Means - TradingEconomics</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" />
<script src="https://cdn.plot.ly/plotly-2.30.0.min.js"></script>
</head>
<body>
<header>
<h1>Metals Price Regime Clustering</h1>
<p class="muted">TradingEconomics API - Flask - K-Means</p>
</header>
<main>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
<div class="flash">
{% for category, message in messages %}
<div class="{{ category }}">{{ message }}</div>
{% endfor %}
</div>
{% endif %}
{% endwith %}
{% block content %}{% endblock %}
</main>
<footer>
<p>Data by TradingEconomics. This is a demo app using unsupervised regimes for a simple next-day expectation.</p>
</footer>
</body>
</html>