added 404 page and redirect if logged out

This commit is contained in:
lukas-heiligenbrunner
2019-11-11 18:51:16 +01:00
parent 5e0a93ff86
commit 954eb8d61c
7 changed files with 163 additions and 42 deletions

View File

@ -17,15 +17,6 @@ $(document).ready(function () {
}, 'json');
});
$('#addnewtable-btn').click(function () {
console.log("clicked");
$('.create-table').show();
});
$('.exit-icon').click(function () {
$('.create-table').hide();
});
$('.dropdown-item').click(function () {
$('#dropdown-wastetype').html($(this).html());
});
@ -57,6 +48,7 @@ $(document).ready(function () {
});
//Date picker pop up actions...
var date_input = $('input[name="date"]'); //our date input has the name "date"
var container = $('.bootstrap-iso form').length > 0 ? $('.bootstrap-iso form').parent() : "body";
var options = {