diff options
Diffstat (limited to 'examples/view')
-rw-r--r-- | examples/view/dashboard/default.view.php | 27 | ||||
-rw-r--r-- | examples/view/except/default.view.php | 47 | ||||
-rw-r--r-- | examples/view/master/foot.view.php | 29 | ||||
-rw-r--r-- | examples/view/master/topp.view.php | 62 |
4 files changed, 0 insertions, 165 deletions
diff --git a/examples/view/dashboard/default.view.php b/examples/view/dashboard/default.view.php deleted file mode 100644 index caf78da..0000000 --- a/examples/view/dashboard/default.view.php +++ /dev/null @@ -1,27 +0,0 @@ -<!-- - * SCROTT Copyright (C) 2016 Malf Furious - * - * Scrott is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published - * by the Free Software Foundation, either version 3 of the License, - * or (at your option) any later version. - * - * Scrott is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - * License for more details. ---> - -<!DOCTYPE html> - -<html lang="en"> - <head> - <?php include "view/common/head.view.php"; ?> - <title>Scrott - Dashboard</title> - </head> - - <body> - <?php include "view/common/topp.view.php"; ?> - <?php include "view/common/foot.view.php"; ?> - </body> -</html> diff --git a/examples/view/except/default.view.php b/examples/view/except/default.view.php deleted file mode 100644 index 01cf123..0000000 --- a/examples/view/except/default.view.php +++ /dev/null @@ -1,47 +0,0 @@ -<!-- - * SCROTT Copyright (C) 2016 Malf Furious - * - * Scrott is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published - * by the Free Software Foundation, either version 3 of the License, - * or (at your option) any later version. - * - * Scrott is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - * License for more details. ---> - -<!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 text-center"> - <h1>Scrott derped</h1> - <h5>System internals reported this:</h5> - - <div class="well well-sm text-danger"> - <h3><?=$mod->message?></h3> - </div> - - <a href="<?=$mod->ar()?>/" class="btn btn-primary btn-lg"> - <span class="glyphicon glyphicon-pencil"></span> Go to Scrott Dashboard - </a> - </div> - </div> - - <?php include "view/master/foot.view.php"; ?> - </body> -</html> diff --git a/examples/view/master/foot.view.php b/examples/view/master/foot.view.php deleted file mode 100644 index 6279b05..0000000 --- a/examples/view/master/foot.view.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -/* - * SCROTT Copyright (C) 2016 Malf Furious - * - * Scrott is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published - * by the Free Software Foundation, either version 3 of the License, - * or (at your option) any later version. - * - * Scrott is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - * License for more details. - */ - -?> - -<script type="text/javascript" src="<?=$mod->ar()?>/assets/js/jquery.min.js"></script> -<script type="text/javascript" src="<?=$mod->ar()?>/assets/js/bootstrap.min.js"></script> -<script type="text/javascript" src="<?=$mod->ar()?>/assets/js/scrott.js"></script> - -<?php if ($mod->isError() || $mod->isWarning() || $mod->isNotice()) { ?> - <script type="text/javascript"> - $(window).load(function() { - $("#noticeModal").modal("show"); - }); - </script> -<?php } ?> diff --git a/examples/view/master/topp.view.php b/examples/view/master/topp.view.php deleted file mode 100644 index 9a0b0fe..0000000 --- a/examples/view/master/topp.view.php +++ /dev/null @@ -1,62 +0,0 @@ -<?php - -/* - * SCROTT Copyright (C) 2016 Malf Furious - * - * Scrott is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published - * by the Free Software Foundation, either version 3 of the License, - * or (at your option) any later version. - * - * Scrott is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - * License for more details. - */ - -?> - -<?php if ($mod->isError() || $mod->isWarning() || $mod->isNotice()) { ?> - <div id="noticeModal" class="modal fade" tabindex="-1" role="dialog"> - <div class="modal-dialog" role="document"> - <div class="modal-content"> - - <div class="modal-body alert <?=$mod->getNoticeModalAlertClass()?>" style="margin: 0;"> - <h1 class="text-center"><span class="<?=$mod->getNoticeModalGlyphicon()?>"></span></h1> - <h5 class="text-center">Something Happened</h5> - - <?php if ($mod->isError()) { ?> - <p> - <?php foreach ($mod->errorlist as $err) { ?> - <span class="label label-danger">Error</span> <?=$err?><br /> - <?php } ?> - </p> - <?php } ?> - - <?php if ($mod->isWarning()) { ?> - <p> - <?php foreach ($mod->warninglist as $warn) { ?> - <span class="label label-warning">Warning</span> <?=$warn?><br /> - <?php } ?> - </p> - <?php } ?> - - <?php if ($mod->isNotice()) { ?> - <p> - <?php foreach ($mod->noticelist as $note) { ?> - <span class="label label-info">Notice</span> <?=$note?><br /> - <?php } ?> - </p> - <?php } ?> - - <div class="text-center"> - <button type="button" class="btn btn-default" data-dismiss="modal"> - <span class="glyphicon glyphicon-ok"></span> Got it - </button> - </div> - </div> - - </div> - </div> - </div> -<?php } ?> |