diff options
-rw-r--r-- | app/view/common/setting.modal.view.php | 24 | ||||
-rw-r--r-- | app/view/common/topp.view.php | 3 | ||||
-rw-r--r-- | examples/example.html | 1 |
3 files changed, 27 insertions, 1 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">×</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> diff --git a/examples/example.html b/examples/example.html index ca22361..e1e5618 100644 --- a/examples/example.html +++ b/examples/example.html @@ -43,7 +43,6 @@ <li><a href="#">My open Issues</a></li> <li role="separator" class="divider"></li> <li><a href="#">Private Messages <span class="badge">1</span></a></li> - <li><a href="#">Settings</a></li> <!--END--> </div> </div> |