summaryrefslogtreecommitdiffstats
path: root/app/view
diff options
context:
space:
mode:
Diffstat (limited to 'app/view')
-rw-r--r--app/view/except.php46
1 files changed, 46 insertions, 0 deletions
diff --git a/app/view/except.php b/app/view/except.php
new file mode 100644
index 0000000..766828a
--- /dev/null
+++ b/app/view/except.php
@@ -0,0 +1,46 @@
+<?php
+
+/*
+ * SCROTT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * For more information, please refer to UNLICENSE
+ */
+
+require_once "view/stdpage.php";
+
+?>
+
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <?=stdpage\head( "Application exception" )?>
+ </head>
+
+ <body>
+ <?=stdpage\top()?>
+
+ <div class="container">
+ <div class="jumbotron text-center">
+ <h1>Scrott derped</h1>
+ <h5>System internals reported this:</h5>
+
+ <div class="well well-sm text-danger">
+ <h3><?=$e->getMessage()?></h3>
+ </div>
+
+ <a href="<?=ar()?>/" class="btn btn-primary btn-lg">
+ <span class="glyphicon glyphicon-pencil"></span> Go to Scrott Dashboard
+ </a>
+ </div>
+ </div>
+
+ <?=stdpage\foot()?>
+ </body>
+</html>