spotistats/templates/base.html
2022-10-03 21:48:00 +01:00

40 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{% endblock %}</title>
<!-- fonts -->
<link rel="stylesheet" href="https://cdn.ashhhleyyy.dev/file/ashhhleyyy-assets/css/609f03d147e04127.css">
<!-- main stylesheet -->
<link rel="stylesheet" href="https://cdn.ashhhleyyy.dev/file/ashhhleyyy-assets/css/4aae34bd12a312d5.css">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<div class="page-container">
<header class="site-header">
<nav class="nav">
{% if session.token_info %}
{% if request.path == '/' %}
<a class="nav-link active" href="{{ url_for('index') }}"> My playlists </a>
{% else %}
<a class="nav-link" href="{{ url_for('index') }}"> My playlists </a>
{% endif %}
<a class="nav-link" href="{{ url_for('logout') }}"> Logout </a>
{% else %}
<a class="nav-link" href="{{ url_for('login') }}"> Login </a>
{% endif %}
</nav>
</header>
<main class="content">
{% block content %}{% endblock %}
</main>
<footer class="footer">
<p>
Created with &lt;3 by <a href="https://ashhhleyyy.dev/">Ashhhleyyy</a>
</p>
</footer>
</div>
</body>
</html>