diff options
Diffstat (limited to '')
-rw-r--r-- | app/view/common/head.view.php | 7 | ||||
-rw-r--r-- | app/view/common/topp.view.php | 20 | ||||
-rw-r--r-- | examples/example.html | 22 |
3 files changed, 28 insertions, 21 deletions
diff --git a/app/view/common/head.view.php b/app/view/common/head.view.php index 87cd37d..b23ec18 100644 --- a/app/view/common/head.view.php +++ b/app/view/common/head.view.php @@ -1 +1,8 @@ <?php include "view/master/head.view.php"; ?> + +<style type="text/css"> + body + { + padding-top: 70px; + } +</style> diff --git a/app/view/common/topp.view.php b/app/view/common/topp.view.php index 40d9543..05e4862 100644 --- a/app/view/common/topp.view.php +++ b/app/view/common/topp.view.php @@ -1 +1,21 @@ <?php include "view/master/topp.view.php"; ?> + +<nav class="navbar navbar-inverse navbar-fixed-top"> + <div class="container-fluid"> + + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#scrottnav" aria-expanded="false"> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + <a href="<?=$mod->ar()?>/" class="navbar-brand"><span class="glyphicon glyphicon-pencil"></span> Scrott</a> + </div> + + <div class="collapse navbar-collapse" id="scrottnav"> + <p class="navbar-text navbar-right"><i>Not Logged In </i></p> + </div> + + </div> +</nav> diff --git a/examples/example.html b/examples/example.html index 44c91f2..7f1ac2a 100644 --- a/examples/example.html +++ b/examples/example.html @@ -1,31 +1,11 @@ <!DOCTYPE html> <html lang="en"> - <head> - <title>Scrott - Save the World</title> - - <style type="text/css"> -body -{ - padding-top: 70px; -} - </style> - </head> - <body> <!--NAVBAR--> <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container-fluid"> - <!--TITLE AND EXPAND BUTTON--> - <div class="navbar-header"> - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1" aria-expanded="false"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - - <a href="/" class="navbar-brand"><span class="glyphicon glyphicon-pencil"></span> Scrott</a> - </div> + <!--NAVBAR CONTENT--> <div class="collapse navbar-collapse" id="navbar-collapse-1"> |