new logo
This commit is contained in:
parent
073676799f
commit
9f796caa8e
|
@ -70,6 +70,10 @@ def home():
|
|||
return redirect(url_for('home'))
|
||||
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")
|
||||
def 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 {
|
||||
height: 61px;
|
||||
width: auto;
|
||||
transition-duration: 0.4s;
|
||||
}
|
||||
.logo-nav:active {
|
||||
transform: translateY(4px)
|
||||
}
|
||||
|
||||
.geruecht {
|
||||
|
@ -83,6 +87,7 @@ body {
|
|||
border-radius: 10px;
|
||||
background: green;
|
||||
color: white;
|
||||
transition-duration: 0.4s;
|
||||
}
|
||||
|
||||
.button:active {
|
||||
|
|
|
@ -19,12 +19,24 @@
|
|||
<script type="text/javascript">
|
||||
{{ g.sijax.get_js()|safe }}
|
||||
</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>
|
||||
<body>
|
||||
<div class="topnav">
|
||||
<img class="logo-nav first" src="{{ url_for('static', filename='img/logo.png') }}">
|
||||
<a class="last blue-button" href="#">Finanzer</a>
|
||||
<a href="{{ url_for('to_home') }}">
|
||||
<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 class="container">
|
||||
{% 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>
|
||||
-->
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue