Add ugly background images to log in and register page

This commit is contained in:
Patrick Jentsch 2020-02-20 10:28:05 +01:00
parent 9a75d07181
commit 5b0c6a86d7
3 changed files with 30 additions and 7 deletions

View File

@ -41,7 +41,7 @@ def login():
return redirect(next) return redirect(next)
flash('Invalid email/username or password.') flash('Invalid email/username or password.')
return render_template('auth/login.html.j2', login_form=login_form, return render_template('auth/login.html.j2', login_form=login_form,
title='nopaque') title='Log in')
@auth.route('/logout') @auth.route('/logout')

View File

@ -1,13 +1,26 @@
{% extends "nopaque.html.j2" %} {% extends "nopaque.html.j2" %}
{% block page_content %} {% block page_content %}
<style>
main {
background-image: url("{{ url_for('static', filename='images/bible_text.jpg') }}");
}
</style>
<div class="col s12 m4"> <div class="col s12 m4">
<h3>Cyber cyber</h3> <div class="card medium">
<div class="card-content">
<span class="card-title">Cyber cyber</span>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p> <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
</div> </div>
<div class="card-action right-align">
<a class="btn" href="{{ url_for('auth.register') }}"><i class="material-icons left">person_add</i>Register</a>
</div>
</div>
</div>
<div class="col s12 m8"> <div class="col s12 m8">
<div class="card"> <div class="card medium">
<form method="POST"> <form method="POST">
<div class="card-content"> <div class="card-content">
<span class="card-title">Log in</span> <span class="card-title">Log in</span>

View File

@ -1,13 +1,23 @@
{% extends "nopaque.html.j2" %} {% extends "nopaque.html.j2" %}
{% block page_content %} {% block page_content %}
<style>
main {
background-image: url("{{ url_for('static', filename='images/bible_text.jpg') }}");
}
</style>
<div class="col s12 m4"> <div class="col s12 m4">
<div class="card medium">
<div class="card-content">
<h3>DSGVO</h3> <h3>DSGVO</h3>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p> <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
</div> </div>
</div>
</div>
<div class="col s12 m8"> <div class="col s12 m8">
<div class="card"> <div class="card medium">
<form method="POST"> <form method="POST">
<div class="card-content"> <div class="card-content">
{{ registration_form.hidden_tag() }} {{ registration_form.hidden_tag() }}