23 lines
417 B
HTML
23 lines
417 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ status_code.as_str() }}{% endblock %}
|
|
|
|
{% block head %}
|
|
<style>
|
|
html, body {
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block body %}
|
|
<h1>{{ status_code }}</h1>
|
|
{% match message %}
|
|
{% when Some with (x) %}
|
|
<hr />
|
|
<p>{{ x }}</p>
|
|
{% when None %}
|
|
{% endmatch %}
|
|
{% endblock %}
|
|
|