AnorakWeb/website/templates/base.html

63 lines
2.5 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
2022-09-07 08:29:47 +00:00
<link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
2023-08-08 17:44:13 +00:00
<title>Anorak_1: {% block title %}Home{% endblock %}</title>
</head>
2022-09-07 08:29:47 +00:00
<body style="background-color:#262626;">
<div class="topnav">
<a class="active" href="/">Home</a>
<a class="dc" href="https://discord.gg/eRDzEv9DVB" targer="_blank" rel="noopener noreferrer">Discord</a>
<a class="twitch" href="https://www.twitch.tv/an0rak_1" target="_blank" rel="noopener noreferrer">Twitch</a>
2023-08-08 17:44:13 +00:00
<a class="yt" href="https://youtube.com/@An0rak_1" target="_blank" rel="noopener noreferrer">YouTube</a>
2022-09-07 08:29:47 +00:00
<a href="/sites">Sites</a>
<a href="/about">About</a>
2023-08-08 17:44:13 +00:00
<a class="game" href="/game">1st Game</a>
2022-09-07 08:29:47 +00:00
</div>
{% with messages = get_flashed_messages(with_categories=true) %} {% if
messages %} {% for category, message in messages %} {% if category ==
'error' %}
<div class="alert alert-danger alter-dismissable fade show" role="alert">
{{ message }}
<button type="button" class="close" data-dismiss="alert">
<span aria-hidden="true">&times;</span>
</button>
</div>
{% else %}
<div class="alert alert-success alter-dismissable fade show" role="alert">
{{ message }}
<button type="button" class="close" data-dismiss="alert">
<span aria-hidden="true">&times;</span>
</button>
</div>
{% endif %} {% endfor %} {% endif %} {% endwith %}
2023-08-08 17:44:13 +00:00
<!--<div class="container"></div>-->
{% block content %} {% endblock %}
<script
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"
></script>
<script
type="text/javascript"
src="{{ url_for('static', filename='index.js') }}"
></script>
</body>
</html>