diff options
author | Malf Furious <m@lfurio.us> | 2018-09-16 17:02:29 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-09-16 17:02:29 -0400 |
commit | 4151e3f7c42b6c679514d62768c282a907223e76 (patch) | |
tree | 20555793a7159a026c434f9a5a44091d5c84a94d /app/view/stdpage.php | |
parent | 55e503f24a30161bc4a8311e845eff4f4cbb2d40 (diff) | |
download | scrott-4151e3f7c42b6c679514d62768c282a907223e76.tar.gz scrott-4151e3f7c42b6c679514d62768c282a907223e76.zip |
Add settings modal and user settings tab
Updated old settings modal design, to incorporate added Scrott features.
Reimplemented this modal in Scrott from archived code and have included
it in the navbar.
Diffstat (limited to 'app/view/stdpage.php')
-rw-r--r-- | app/view/stdpage.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/view/stdpage.php b/app/view/stdpage.php index 1629dbf..acd1ba2 100644 --- a/app/view/stdpage.php +++ b/app/view/stdpage.php @@ -17,6 +17,7 @@ namespace stdpage; require_once "class/globals.php"; require_once "class/user.class.php"; require_once "view/datamods.php"; +require_once "view/settings.php"; ?> <?php function head(?string $title = NULL) : void { ?> @@ -166,6 +167,7 @@ require_once "view/datamods.php"; <?=about()?> <?php if (\user::getCurrent()) { ?> + <?=\settings\settings()?> <?=\datamods\newGroup()?> <?=\datamods\newPad()?> <?php } ?> @@ -224,10 +226,9 @@ require_once "view/datamods.php"; </a> <ul class="dropdown-menu"> - <li><a href="#">TODO</a></li> - <li><a href="#">TODO</a></li> <li><a href="#" data-toggle="modal" data-target="#aboutModal">About Scrott</a></li> - <li><a href="#">TODO</a></li> + <li><a href="#" data-toggle="modal" data-target="#settingsModal">Settings</a></li> + <li><a href="<?=ar()?>/logout">Log out</a></li> </ul> </li> </ul> |