summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-07-21 21:58:40 -0400
committerMalf Furious <m@lfurio.us>2018-07-21 21:58:40 -0400
commit398f4852874e33c32faa51ae332383f81ac7f82c (patch)
tree4b46409c1c74cd805f676828930aceee909fb728 /app
parent70bcac2648a51989e1184d9eeead766def999f8b (diff)
downloadscrott-398f4852874e33c32faa51ae332383f81ac7f82c.tar.gz
scrott-398f4852874e33c32faa51ae332383f81ac7f82c.zip
Display new group modal in nav
Diffstat (limited to 'app')
-rw-r--r--app/view/stdpage.php7
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>