summaryrefslogtreecommitdiffstats
path: root/app/view/common/topp.view.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-06-01 19:55:21 -0400
committerMalf Furious <m@lfurio.us>2016-06-01 19:55:21 -0400
commit567736d4d7a880b74bf86494cf43296b18ed40d1 (patch)
treebd534b39b9d3a838a4e73262b9e0792c5f712b14 /app/view/common/topp.view.php
parent827a8025ab48dea386b77717f1d1bc30d10ba232 (diff)
downloadscrott-567736d4d7a880b74bf86494cf43296b18ed40d1.tar.gz
scrott-567736d4d7a880b74bf86494cf43296b18ed40d1.zip
Add modal view to create a new user group
Diffstat (limited to '')
-rw-r--r--app/view/common/topp.view.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/view/common/topp.view.php b/app/view/common/topp.view.php
index 5908462..9ec40fa 100644
--- a/app/view/common/topp.view.php
+++ b/app/view/common/topp.view.php
@@ -20,6 +20,7 @@
<?php if ($mod->getCurrentUser()) { ?>
<?php include "view/common/setting.modal.view.php"; ?>
+ <?php include "view/common/newgroup.modal.view.php"; ?>
<?php } ?>
<nav class="navbar navbar-inverse navbar-fixed-top">
@@ -39,6 +40,17 @@
<?php if (!$mod->getCurrentUser()) { ?>
<p class="navbar-text navbar-right"><i>Not Logged In&nbsp;</i></p>
<?php } else { ?>
+ <ul class="nav navbar-nav">
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
+ <span class="glyphicon glyphicon-plus"></span> <span class="caret"></span>
+ </a>
+ <ul class="dropdown-menu">
+ <li><a href="#" data-toggle="modal" data-target="#newgroupModal">New Group</a></li>
+ </ul>
+ </li>
+ </ul>
+
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">