create an external navigation

This commit is contained in:
Andreas Zweili 2017-01-06 12:27:55 +01:00
parent 7ad5848530
commit 293fe21ed4
4 changed files with 19 additions and 12 deletions

View File

@ -16,13 +16,9 @@
<header>
<!-- The sidebar naviagtion begins here -->
<nav>
<ul>
<li><a href="ticket.html">Ticket</a></li>
<li><a href="board.html">Board</a></li>
<li><a class="active" href="index.html">Home</a></li>
</ul>
<?php include 'naviagtion.html';?>
</nav>
<!-- The sidebar naviagtion ends here -->
<!-- The sidebar naviagtion ends here -->
</header>
</div>
</div>

16
navigation.html Normal file
View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<!-- enable utf-8 encoding for umlauts etc.-->
<meta charset="utf-8">
</head>
<body>
<ul>
<li><a href="ticket.html">Ticket</a></li>
<li><a href="board.html">Board</a></li>
<li><a class="active" href="index.html">Home</a></li>
</ul>
</body>
</html>

View File

@ -8,7 +8,6 @@
<meta name ="viewport" content="width=device-width, initial-scale=1">
<!-- link to the default css file -->
<link rel="stylesheet" href="css/stylesheet.css"/>
<!-- link to the default js file -->
</head>
<body>

View File

@ -16,11 +16,7 @@
<header>
<!-- The sidebar naviagtion begins here -->
<nav>
<ul>
<li><a href="ticket.html">Ticket</a></li>
<li><a href="board.html">Board</a></li>
<li><a class="active" href="index.html">Home</a></li>
</ul>
<?php include 'naviagtion.html';?>
</nav>
<!-- The sidebar naviagtion ends here -->
</header>