summaryrefslogtreecommitdiffstats
path: root/app/view/stdpage.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/stdpage.php')
-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>