Commit be54989d authored by Lukas Böhm's avatar Lukas Böhm
Browse files

design2

parent e080441d
......@@ -25,6 +25,16 @@ def check_expired(share):
return False
@app.route('/privacy')
def privacy():
return render_template('Privacy.html')
@app.route('/about')
def about():
return '<h1> :( </h1>'
@app.route('/')
def index():
return redirect(url_for('upload'))
......
......@@ -2,13 +2,7 @@
{% block page %}
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom shadow-sm">
<h5 class="my-0 mr-md-auto font-weight-normal">ChiefSend</h5>
<nav class="my-2 my-md-0 mr-md-3">
<a class="p-2 text-dark" href="#">Features</a>
</nav>
<a class="btn btn-outline-primary" href="#">Sign up</a>
</div>
{% include "includes/Header.html" %}
<div class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
<h1 class="display-4">Herunterladen</h1>
......@@ -26,7 +20,7 @@
<li class="list-group-item">
{{ file.filename }}
<a href="{{ url_for('media', share_id=file.share_id, filename=file.filename) }}" download>
<button class="btn btn-outline-primary" type="button">
<button class="btn btn-outline-primary streched-link float-right" type="button">
<i data-feather="download"></i>
</button>
</a>
......@@ -36,11 +30,7 @@
</div>
</div>
<footer class="pt-4 my-md-5 pt-md-5 border-top">
<div class="row text-center center">
<small class="d-block mb-3 text-muted text-center">Chief Corporation &copy; 2020</small>
</div>
</footer>
{% include "includes/Footer.html" %}
</div>
{% endblock page %}
{% extends 'Base.html' %}
{% block page %}
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom shadow-sm">
<h5 class="my-0 mr-md-auto font-weight-normal">ChiefSend</h5>
<nav class="my-2 my-md-0 mr-md-3">
<a class="p-2 text-dark" href="#">Features</a>
</nav>
<a class="btn btn-outline-primary" href="#">Sign up</a>
</div>
{% include "includes/Header.html" %}
<div class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
<h1 class="display-4">Abgelaufen</h1>
<p class="lead">Es tut uns leid, aber diese Dateien sind nicht mehr verfügbar.</p>
</div>
<div class="container">
<footer class="pt-4 my-md-5 pt-md-5 border-top">
<div class="row text-center center">
<small class="d-block mb-3 text-muted text-center">Chief Corporation &copy; 2020</small>
</div>
</footer>
</div>
{% include "includes/Footer.html" %}
{% endblock page %}
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="ChiefSend">
<meta name="author" content="Lukas Böhm, Jonas Pfister, Max Smietana (moralische Unterstützung)">
<link rel="icon" href="{{ url_for('static', filename='img/favicon.ico') }}">
<title>Privacy</title>
</head>
<body>
<h1>Datenschutzerklärung</h1>
<p>Mir doch egal</p>
</body>
</html>
\ No newline at end of file
{% extends 'Base.html' %}
{% block page %}
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom shadow-sm">
<h5 class="my-0 mr-md-auto font-weight-normal">ChiefSend</h5>
<nav class="my-2 my-md-0 mr-md-3">
<a class="p-2 text-dark" href="#">Features</a>
</nav>
<a class="btn btn-outline-primary" href="#">Sign up</a>
</div>
{% include "includes/Header.html" %}
<div class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
<h1 class="display-4">Hochladen</h1>
......@@ -42,11 +36,7 @@
</form>
</div>
<footer class="pt-4 my-md-5 pt-md-5 border-top">
<div class="row text-center center">
<small class="d-block mb-3 text-muted text-center">Chief Corporation &copy; 2020</small>
</div>
</footer>
{% include "includes/Footer.html" %}
</div>
......
<footer class="pt-4 my-md-5 pt-md-5 border-top">
<div class="row text-center center">
<small class="d-block mb-3 text-muted text-center">Chief Corporation &copy; 2020</small>
</div>
</footer>
\ No newline at end of file
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom shadow-sm">
<h5 class="my-0 mr-md-auto font-weight-normal">ChiefSend</h5>
<nav class="my-2 my-md-0 mr-md-3">
<a class="p-2 text-dark" href="{{ url_for('privacy') }}">Privacy</a>
<a class="p-2 text-dark" href="{{ url_for('about') }}">About</a>
</nav>
</div>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment