added settings page

This commit is contained in:
Tim Krehan 2018-10-27 18:32:43 +02:00
parent 7df482871e
commit 251f01451d
3 changed files with 7 additions and 0 deletions

View file

@ -15,4 +15,7 @@ $(document).ready(function(){
$("#logout").click(function(){ $("#logout").click(function(){
window.location.href = "/php/logout.php"; window.location.href = "/php/logout.php";
}); });
$("#settings").click(function(){
window.location.href = "/settings";
});
}); });

0
cont/settings.php Normal file
View file

View file

@ -44,6 +44,10 @@
include $_SESSION["docroot"].'/cont/list.php'; include $_SESSION["docroot"].'/cont/list.php';
break; break;
case "settings":
include $_SESSION["docroot"].'/cont/settings.php';
break;
case "recipes": case "recipes":
include $_SESSION["docroot"].'/cont/recipes.php'; include $_SESSION["docroot"].'/cont/recipes.php';
break; break;