Primer upload
This commit is contained in:
26
files/templates/base.html
Normal file
26
files/templates/base.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<!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="nav-brand">/files</a>
|
||||
{% if g.user %}
|
||||
<a href="{{ url_for('files.upload_file') }}" class="nav-link">/upload</a>
|
||||
<a href="{{ url_for('auth.logout') }}" class="nav-link">/logout</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<section class="container">
|
||||
{% block content %}{% endblock %}
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user