43 lines
866 B
HTML
43 lines
866 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{ title }}</title>
|
|
<script src="/static/main.js"></script>
|
|
<style>
|
|
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
#main {
|
|
display: grid;
|
|
height: 100%;
|
|
}
|
|
img {
|
|
max-width: 100%;
|
|
max-height: 100vh;
|
|
margin: auto;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<ul class="messages">
|
|
{% for message in messages %}
|
|
<li>{{ message }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% endwith %}
|
|
<div id="main"></div>
|
|
<script>
|
|
var app = Elm.Main.init({
|
|
node: document.getElementById('main')
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|