mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-27 15:40:00 +01:00
added settings page
This commit is contained in:
parent
7df482871e
commit
251f01451d
3 changed files with 7 additions and 0 deletions
|
@ -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
0
cont/settings.php
Normal 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;
|
||||||
|
|
Loading…
Reference in a new issue