summaryrefslogtreecommitdiffstats
path: root/app/view/stdpage.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/stdpage.php')
-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>