diff options
author | Valentin Popov <dev@valentineus.link> | 2016-09-21 05:40:03 +0300 |
---|---|---|
committer | Valentin Popov <dev@valentineus.link> | 2016-09-21 05:40:03 +0300 |
commit | b9628f189b0ca2f7c411bd79566da37c73cc8e8f (patch) | |
tree | 01122bdea534d9cad15a63a271f87f742092b31f /demo/components/navbar.php | |
parent | 288980ceb35d5ace51284cfdf176e9acb5f7bb39 (diff) | |
download | iii-module-b9628f189b0ca2f7c411bd79566da37c73cc8e8f.tar.xz iii-module-b9628f189b0ca2f7c411bd79566da37c73cc8e8f.zip |
Demo in beta mode.
Diffstat (limited to 'demo/components/navbar.php')
-rw-r--r-- | demo/components/navbar.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/demo/components/navbar.php b/demo/components/navbar.php new file mode 100644 index 0000000..9fcb9ee --- /dev/null +++ b/demo/components/navbar.php @@ -0,0 +1,24 @@ +<!-- Start navigation bar -->
+<nav class="navbar navbar-default navbar-fixed-top">
+ <a href="https://github.com/valentineus/Module-III-API">
+ <img class="github-fork">
+ </a>
+ <div class="container">
+ <div class="collapse navbar-collapse">
+ <!-- The right side of the navigation bar -->
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <p class="navbar-text"><?php
+ // Check the ability to use Cookie
+ if (SetCookie("TestCookie", "Success")) { ?>
+ <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
+ <?php } else { ?>
+ <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
+ <?php }
+ ?> Cookie</p>
+ </li>
+ </ul><!-- navbar-right -->
+ </div>
+ </div><!-- container -->
+</nav>
+<!-- End navigation bar -->
|