Skip to content

Commit

Permalink
Refactor navbar out of index into navbar.php
Browse files Browse the repository at this point in the history
Part of work on #23
  • Loading branch information
andars committed Apr 25, 2015
1 parent f199702 commit 784969d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions navbar.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

require_once("util.php");

?>

<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Vadweb</a>
</div>

<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a style="color:#FFF" href="/register.php">Register</a></li>
<li><a style="color:#FFF" href="/files.php">File Uploads</a></li>
<li><a style="color:#FFF" href="/account.php">Account Settings</a></li>
</ul>

<?php printNavBarForms("files.php"); ?>
</div>
</div><!--/.navbar-collapse -->
</div>


0 comments on commit 784969d

Please sign in to comment.