summaryrefslogtreecommitdiffstats
path: root/app/view/common/topp.view.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-03-06 17:09:55 -0500
committerMalf Furious <m@lfurio.us>2016-03-27 20:16:32 -0400
commit53472e75c050ce9b653cc70eeed56715d9a4163e (patch)
treec3e2f8279804d28a4a5a55af2d5962d002386622 /app/view/common/topp.view.php
parent0cc2192ff7582f5f9c2c9a20adcceae3bbc1fa84 (diff)
downloadscrott-53472e75c050ce9b653cc70eeed56715d9a4163e.tar.gz
scrott-53472e75c050ce9b653cc70eeed56715d9a4163e.zip
Add settings modal to Common MVC
This modal dialog will be used to change app and object settings from any page in the app. The link to open it is added to the user button menu.
Diffstat (limited to 'app/view/common/topp.view.php')
-rw-r--r--app/view/common/topp.view.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/view/common/topp.view.php b/app/view/common/topp.view.php
index 460887d..b23dc9c 100644
--- a/app/view/common/topp.view.php
+++ b/app/view/common/topp.view.php
@@ -1,5 +1,7 @@
<?php include "view/master/topp.view.php"; ?>
+<?php include "view/common/setting.modal.view.php"; ?>
+
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
@@ -23,6 +25,7 @@
<span class="<?=$mod->getCurrentUserGlyphicon()?>"></span> <?=$mod->getCurrentUser()->getDisplayName()?> <span class="caret"></span>
</a>
<ul class="dropdown-menu">
+ <li><a href="#" data-toggle="modal" data-target="#settingModal">Settings</a></li>
<li><a href="<?=$mod->ar()?>/logout">Log out</a></li>
</ul>
</li>