diff options
author | Malf Furious <m@lfurio.us> | 2015-12-18 23:18:33 -0500 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2015-12-18 23:18:33 -0500 |
commit | 9068e6916ad68194fce2518ab5841af1c8949f3d (patch) | |
tree | 2f91e9e3be00c1492cdf4ce88d8e77a909c5c287 /app/view/master/topp.view.php | |
parent | 2ebdbaa48f10d6a6f5a1b78f4ef2c5433e50c8cf (diff) | |
parent | b21251ef971d262dc414869fed83f52d0098bfe6 (diff) | |
download | scrott-9068e6916ad68194fce2518ab5841af1c8949f3d.tar.gz scrott-9068e6916ad68194fce2518ab5841af1c8949f3d.zip |
Merge branch 'framework' into dev
Diffstat (limited to '')
-rw-r--r-- | app/view/master/topp.view.php | 44 |
1 files changed, 44 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..fe430ff --- /dev/null +++ b/app/view/master/topp.view.php @@ -0,0 +1,44 @@ +<?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 } ?> |