Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Chiefs
ChiefSend
Commits
be54989d
Commit
be54989d
authored
Oct 01, 2020
by
Lukas Böhm
Browse files
design2
parent
e080441d
Changes
7
Hide whitespace changes
Inline
Side-by-side
app/routes.py
View file @
be54989d
...
...
@@ -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'
))
...
...
app/templates/Download.html
View file @
be54989d
...
...
@@ -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
©
2020
</small>
</div>
</footer>
{% include "includes/Footer.html" %}
</div>
{% endblock page %}
app/templates/Expired.html
View file @
be54989d
{% 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
©
2020
</small>
</div>
</footer>
</div>
{% include "includes/Footer.html" %}
{% endblock page %}
app/templates/Privacy.html
0 → 100644
View file @
be54989d
<!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
app/templates/Upload.html
View file @
be54989d
{% 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
©
2020
</small>
</div>
</footer>
{% include "includes/Footer.html" %}
</div>
...
...
app/templates/includes/Footer.html
0 → 100644
View file @
be54989d
<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
©
2020
</small>
</div>
</footer>
\ No newline at end of file
app/templates/includes/Header.html
0 → 100644
View file @
be54989d
<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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment