This commit is contained in:
Sivert V. Sæther 2020-03-17 18:36:36 +01:00
commit 248f2cb17d
4 changed files with 50 additions and 0 deletions

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# Ghost-Zephyr.github.io
Lolert, github.io i IT1 no, bli nok nødt t å flytt seiner.

12
index.html Normal file
View File

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Simple firebase logon</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" crossorigin="anonymous">
<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
</head>
<bod>
<iframe id="navbar" width="100%" height="60px" src="navbar.html" style="border: 0px"></iframe>
<h3>Works!</h3>
</bod>
</html>

4
main.css Normal file
View File

@ -0,0 +1,4 @@
li.right {
align-content: right
}

32
navbar.html Normal file
View File

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<title>Navbar for iframe</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" crossorigin="anonymous">
<!-- <script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script> -->
</head>
<body>
<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
<a class="navbar-brand" href="/">IT firebase stuff</a>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/about">About</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item right">
<a>Simple login here later</a>
</li>
<li class="nav-item right" style="visibility: hidden">
<a class="nav-link" href="/logout">Logout</a>
</li>
<li class="nav-item right" id="register-btn">
<a class="nav-link" href="/register">Register</a>
</li>
<li class="nav-item right" id="login-btn">
<a class="nav-link" href="/login">Login</a>
</li>
</ul>
</nav>
</body>
</html>