Files
flask-files/files/templates/base.html

36 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>/files/{% block title %}{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='normalize.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='skeleton.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='icon-32x32.png') }}">
</head>
<body>
<nav class="navbar">
<div class="container">
<a href="{{ url_for('index') }}" class="h1 nav-brand">/files</a>
<a href="{{ url_for('categories.index') }}" class="nav-link">/categories</a>
<a href="{{ url_for('about') }}" class="nav-link">/about</a>
{% if g.user %}
<a href="{{ url_for('admin.index') }}" class="nav-link">/admin</a>
<a href="{{ url_for('auth.logout') }}" class="nav-link">/logout</a>
{% endif %}
</div>
</nav>
<section class="container">
<ul>
{% for message in get_flashed_messages() %}
<li class="flash">{{ message }}</li>
{% endfor %}
</ul>
{% block content %}{% endblock %}
</section>
</body>
</html>