new logo
This commit is contained in:
parent
073676799f
commit
9f796caa8e
|
@ -70,6 +70,10 @@ def home():
|
||||||
return redirect(url_for('home'))
|
return redirect(url_for('home'))
|
||||||
return render_template('home.html', users=User.query.all(), form=form)
|
return render_template('home.html', users=User.query.all(), form=form)
|
||||||
|
|
||||||
|
@flask_sijax.route(app, "/return")
|
||||||
|
def to_home():
|
||||||
|
return home()
|
||||||
|
|
||||||
@flask_sijax.route(app, "/about")
|
@flask_sijax.route(app, "/about")
|
||||||
def about():
|
def about():
|
||||||
return render_template('about.html', title='about')
|
return render_template('about.html', title='about')
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 110 KiB |
|
@ -52,6 +52,10 @@ body {
|
||||||
.logo-nav {
|
.logo-nav {
|
||||||
height: 61px;
|
height: 61px;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
transition-duration: 0.4s;
|
||||||
|
}
|
||||||
|
.logo-nav:active {
|
||||||
|
transform: translateY(4px)
|
||||||
}
|
}
|
||||||
|
|
||||||
.geruecht {
|
.geruecht {
|
||||||
|
@ -83,6 +87,7 @@ body {
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background: green;
|
background: green;
|
||||||
color: white;
|
color: white;
|
||||||
|
transition-duration: 0.4s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button:active {
|
.button:active {
|
||||||
|
|
|
@ -19,12 +19,24 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
{{ g.sijax.get_js()|safe }}
|
{{ g.sijax.get_js()|safe }}
|
||||||
</script>
|
</script>
|
||||||
|
<script type="text/JavaScript">
|
||||||
|
function hover(element) {
|
||||||
|
element.setAttribute('src', "{{ url_for('static', filename='img/logo_selected.png') }}");
|
||||||
|
}
|
||||||
|
|
||||||
|
function unhover(element) {
|
||||||
|
element.setAttribute('src', "{{ url_for('static', filename='img/logo.png') }}");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="topnav">
|
<div class="topnav">
|
||||||
<img class="logo-nav first" src="{{ url_for('static', filename='img/logo.png') }}">
|
<a href="{{ url_for('to_home') }}">
|
||||||
<a class="last blue-button" href="#">Finanzer</a>
|
<img class="logo-nav first" src="{{ url_for('static', filename='img/logo.png') }}" onmouseover="hover(this);" onmouseout="unhover(this);">
|
||||||
|
</a>
|
||||||
|
<!--<div class="logo-nav first"></div>-->
|
||||||
|
<a class="last blue-button" href="{{ url_for('to_home') }}">Finanzer</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
@ -80,4 +92,4 @@
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||||
-->
|
-->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue