summaryrefslogtreecommitdiffstats
path: root/app/view/except/default.view.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-02-17 20:29:11 -0500
committerMalf Furious <m@lfurio.us>2016-02-17 20:29:11 -0500
commitc003600effc33db5eef3bb41d8715a3c9daf04b2 (patch)
tree6f9edad8b5020d9fcec649f6578f6fd9cd36863d /app/view/except/default.view.php
parentdb6505607b2356e91fe396badf50243407f3345b (diff)
downloadscrott-c003600effc33db5eef3bb41d8715a3c9daf04b2.tar.gz
scrott-c003600effc33db5eef3bb41d8715a3c9daf04b2.zip
Add 'Except' MVC -- Used to show application exception messages to user
This MVC should be triggered by the root controller if normal routines throw an exception and should pass the exception message to the Except controller.
Diffstat (limited to 'app/view/except/default.view.php')
-rw-r--r--app/view/except/default.view.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/view/except/default.view.php b/app/view/except/default.view.php
new file mode 100644
index 0000000..2aa7a73
--- /dev/null
+++ b/app/view/except/default.view.php
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <?php include "view/master/head.view.php"; ?>
+ <title>Scrott - Application Exception</title>
+
+ <style type="text/css">
+ body { padding-top: 50px; }
+ </style>
+ </head>
+
+ <body>
+ <?php include "view/master/topp.view.php"; ?>
+
+ <div class="container">
+ <div class="jumbotron">
+ <h1 class="text-center">Something happened</h1>
+ </div>
+ </div>
+
+ <?php include "view/master/foot.view.php"; ?>
+ </body>
+</html>