Basic structute built

This commit is contained in:
Maximilian Wagner
2023-07-29 18:10:49 +02:00
parent df98376456
commit 93dac70c86
14 changed files with 203 additions and 0 deletions

23
templates/base.html Normal file
View File

@@ -0,0 +1,23 @@
{%- extends "bootstrap/base.html" %}
{% import "bootstrap/fixes.html" as fixes %}
{% block title %}
yt-dls
{% endblock %}
{% block head %}
{{ super() }}
{{ fixes.ie8() }}
{% endblock %}
{% block styles %}
{{ super() }}
{# Commented out cause don't exist
<link rel="stylesheet" type="text/css"
href="{{url_for('static', filename='example.css')}}">
#}
{% endblock %}
{% block navbar %}
{{ nav.frontend_top.render() }}
{% endblock %}

17
templates/downloader.html Normal file
View File

@@ -0,0 +1,17 @@
{%- extends "base.html" %}
{% import "bootstrap/utils.html" as utils %}
{% block content %}
<div class="container">
{%- with messages = get_flashed_messages(with_categories=True) %}
{%- if messages %}
<div class="row">
<div class="col-md-12">
{{utils.flashed_messages(messages)}}
</div>
</div>
{%- endif %}
{%- endwith %}
</div>
{%- endblock %}

21
templates/index.html Normal file
View File

@@ -0,0 +1,21 @@
{%- extends "base.html" %}
{% import "bootstrap/utils.html" as utils %}
{% block content %}
<div class="container">
{%- with messages = get_flashed_messages(with_categories=True) %}
{%- if messages %}
<div class="row">
<div class="col-md-12">
{{utils.flashed_messages(messages)}}
</div>
</div>
{%- endif %}
{%- endwith %}
<a href="http://pythonhosted.org/Flask-Bootstrap">Documentation</a>. </p>
</div>
{%- endblock %}

17
templates/library.html Normal file
View File

@@ -0,0 +1,17 @@
{%- extends "base.html" %}
{% import "bootstrap/utils.html" as utils %}
{% block content %}
<div class="container">
{%- with messages = get_flashed_messages(with_categories=True) %}
{%- if messages %}
<div class="row">
<div class="col-md-12">
{{utils.flashed_messages(messages)}}
</div>
</div>
{%- endif %}
{%- endwith %}
</div>
{%- endblock %}

17
templates/updater.html Normal file
View File

@@ -0,0 +1,17 @@
{%- extends "base.html" %}
{% import "bootstrap/utils.html" as utils %}
{% block content %}
<div class="container">
{%- with messages = get_flashed_messages(with_categories=True) %}
{%- if messages %}
<div class="row">
<div class="col-md-12">
{{utils.flashed_messages(messages)}}
</div>
</div>
{%- endif %}
{%- endwith %}
</div>
{%- endblock %}