summaryrefslogtreecommitdiffstats
path: root/app/view
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-07-24 06:16:40 -0400
committerMalf Furious <m@lfurio.us>2018-07-24 06:16:40 -0400
commit793d8852963a4266745a249b1557b485fe796f24 (patch)
treebdf5bd3581f3e34b66fc4ccd5d431e82ed564cf6 /app/view
parent9e5ff3763ad4f8d62f410e57aa661675146ac863 (diff)
downloadscrott-793d8852963a4266745a249b1557b485fe796f24.tar.gz
scrott-793d8852963a4266745a249b1557b485fe796f24.zip
Add About Scrott modal
Diffstat (limited to 'app/view')
-rw-r--r--app/view/stdpage.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/view/stdpage.php b/app/view/stdpage.php
index dad3924..5bcf744 100644
--- a/app/view/stdpage.php
+++ b/app/view/stdpage.php
@@ -145,8 +145,23 @@ require_once "view/datamods.php";
<?php } ?>
<?php } ?>
+<?php function about() : void { ?>
+
+ <div id="aboutModal" class="modal fade" tabindex="-1" role="dialog">
+ <div class="modal-dialog" role="document">
+ <div class="modal-content">
+ <div class="modal-body" style="margin: 0;">
+ <h1 class="text-center"><span class="glyphicon glyphicon-pencil"></span> Scrott</h1>
+ <h3 class="text-center"><span class="label label-primary"><?=__VERSION__?></span></h3>
+ </div>
+ </div>
+ </div>
+ </div>
+
+<?php } ?>
<?php function nav() : void { ?>
+ <?=about()?>
<?=\datamods\newGroup()?>
<nav class="navbar navbar-inverse navbar-fixed-top">
@@ -204,6 +219,7 @@ require_once "view/datamods.php";
<ul class="dropdown-menu">
<li><a href="#">TODO</a></li>
<li><a href="#">TODO</a></li>
+ <li><a href="#" data-toggle="modal" data-target="#aboutModal">About Scrott</a></li>
<li><a href="#">TODO</a></li>
</ul>
</li>