summaryrefslogtreecommitdiffstats
path: root/app/view/master/topp.view.php
diff options
context:
space:
mode:
authorM <m@lfurio.us>2015-12-06 15:02:15 -0500
committerM <m@lfurio.us>2015-12-06 15:02:15 -0500
commit75cb46f665eeec0096dd464fe49444c2c3af5eb1 (patch)
treed3b7068d217b769ac7fb65a4f1e3dc7545e5ca99 /app/view/master/topp.view.php
parentb7dfa1cbde0eb56a3251e48692e5757559bf604a (diff)
downloadscrott-75cb46f665eeec0096dd464fe49444c2c3af5eb1.tar.gz
scrott-75cb46f665eeec0096dd464fe49444c2c3af5eb1.zip
+ Adding master page modal for displaying page errors/warnings/and notices (shell only, content coming soon)
Diffstat (limited to 'app/view/master/topp.view.php')
-rw-r--r--app/view/master/topp.view.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/view/master/topp.view.php b/app/view/master/topp.view.php
new file mode 100644
index 0000000..eef344e
--- /dev/null
+++ b/app/view/master/topp.view.php
@@ -0,0 +1,17 @@
+<?php if ($mod->isError() || $mod->isWarning() || $mod->isNotice()) { ?>
+ <div id="noticeModal" class="modal fade" tabindex="-1" role="dialog">
+ <div class="modal-dialog modal-lg" role="document">
+ <div class="modal-content">
+ <div class="modal-body">
+ Something happened.
+ </div>
+
+ <div class="modal-footer">
+ <button type="button" class="btn btn-default" data-dismiss="modal">
+ <span class="glyphicon glyphicon-ok"></span> Got it
+ </button>
+ </div>
+ </div>
+ </div>
+ </div>
+<?php } ?>