summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/view/common/setting.modal.view.php24
-rw-r--r--app/view/common/topp.view.php3
2 files changed, 27 insertions, 0 deletions
diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php
new file mode 100644
index 0000000..27fb9d2
--- /dev/null
+++ b/app/view/common/setting.modal.view.php
@@ -0,0 +1,24 @@
+<div id="settingModal" class="modal fade" tabindex="-1" role="dialog">
+ <div class="modal-dialog" role="document">
+ <div class="modal-content">
+ <div class="modal-header">
+
+ <button type="button" class="close" data-dismiss="modal">
+ <span aria-hidden="true">&times;</span>
+ </button>
+
+ <h4 class="modal-title"><span class="glyphicon glyphicon-cog"></span> Settings</h4>
+
+ </div>
+
+ <div class="modal-body">
+ </div>
+
+ <div class="modal-footer">
+ <button type="button" class="btn btn-primary" data-dismiss="modal">
+ Close
+ </button>
+ </div>
+ </div>
+ </div>
+</div>
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>