diff options
author | Malf Furious <m@lfurio.us> | 2018-07-21 21:58:40 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-07-21 21:58:40 -0400 |
commit | 398f4852874e33c32faa51ae332383f81ac7f82c (patch) | |
tree | 4b46409c1c74cd805f676828930aceee909fb728 /app/view/stdpage.php | |
parent | 70bcac2648a51989e1184d9eeead766def999f8b (diff) | |
download | scrott-398f4852874e33c32faa51ae332383f81ac7f82c.tar.gz scrott-398f4852874e33c32faa51ae332383f81ac7f82c.zip |
Display new group modal in nav
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 2dd29a4..b9bd359 100644 --- a/app/view/stdpage.php +++ b/app/view/stdpage.php @@ -16,6 +16,7 @@ namespace stdpage; require_once "class/globals.php"; require_once "class/user.class.php"; +require_once "view/datamods.php"; ?> <?php function head(?string $title = NULL) : void { ?> @@ -135,6 +136,8 @@ require_once "class/user.class.php"; <?php } ?> <?php function nav() : void { ?> + <?=\datamods\newGroup()?> + <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container-fluid"> <div class="navbar-header"> @@ -174,9 +177,7 @@ require_once "class/user.class.php"; </a> <ul class="dropdown-menu"> - <li><a href="#">TODO</a></li> - <li><a href="#">TODO</a></li> - <li><a href="#">TODO</a></li> + <li><a href="#" data-toggle="modal" data-target="#newGroupModal">New Group</a></li> </ul> </li> </ul> |