Spaces:
Sleeping
Sleeping
{% load static %} | |
{% load i18n %} | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}" /> | |
<!-- Bootstrap CSS --> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | |
<title>Welcome!</title> | |
</head> | |
<body> | |
{% include 'header.html'%} | |
{% for message in messages %} | |
{% if forloop.last %} | |
{% if 'success' in message.tags %} | |
<div class="alert alert-primary alert-dissmisible fade show text-center" role="alert"> | |
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-hidden="true"></button> | |
{% blocktrans %} {{ message }} {% endblocktrans %} | |
</div> | |
{% elif 'error' in message.tags %} | |
<div class="alert alert-danger alert-general text-center" role="alert"> | |
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-hidden="true"></button> | |
{% blocktrans %} {{ message }} {% endblocktrans %} | |
</div> | |
{% endif %} | |
{% endif %} | |
{% endfor %} | |
<div class="container-fluid"> | |
<div class="row"> | |
<div class="col-sm p-3 min-vh-100"> | |
{% block content %} | |
{% endblock %} | |
</div> | |
</div> | |
</div> | |
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script> | |
</body> | |
</html> |