Skip to content

Commit

Permalink
some merge corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
ktali committed Sep 30, 2018
1 parent 886fb2f commit 0cc21d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/static/css/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@
nav {
max-width: 1000px;
margin: auto;
}

#maku {
display: none;
margin: auto;
}
Binary file added src/main/resources/static/img/maku.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/main/resources/static/js/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$(document).ready(function () {

$('#maku').hide();
$("#test").on('click', function() {
$('#rakendus').toggle();
$('#maku').toggle();
});

});
3 changes: 3 additions & 0 deletions src/main/resources/templates/fragments/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@
<a role="button" class="btn btn-outline-secondary" href="/login">login</a>
</div>
</nav>
<div class="container-fluid">
<img th:src="@{/img/maku.jpg}" alt="magnar vares" id="maku">
</div>
</html>

0 comments on commit 0cc21d3

Please sign in to comment.