<!--
Flaskが配信するHTMLページ
templates/フォルダに置くと
render_template() で読み込める
-->
<!doctype html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<title>Flask App</title>
<link rel="stylesheet" href="/static/style.css" />
</head>
<body>
<main class="wrap">
<h1>Flaskを用いたWebアプリケーション</h1>
<!-- health API呼び出し -->
<section class="card">
<button id="btn-health">health</button>
<pre id="out-health"></pre>
</section>
<!-- echo API呼び出し -->
<section class="card">
<button id="btn-echo">echo</button>
<pre id="out-echo"></pre>
</section>
</main>
<!-- JSを読み込む -->
<script src="/static/app.js"></script>
</body>
</html>