github.io/it1/gjestebok/index.html

39 lines
1.9 KiB
HTML
Raw Normal View History

2020-03-27 22:29:16 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Firebase basert gjestebok</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="/it1/main.css">
<link rel="stylesheet" href="/it1/css/form.css">
<link rel="stylesheet" href="/it1/css/gjestebok.css">
<script src="https://www.gstatic.com/firebasejs/7.12.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.12.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.12.0/firebase-firestore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="/it1/js/init-firebase.js"></script>
<script type="text/javascript" src="/it1/js/converters/kommentar.js"></script>
</head>
<body>
<script type="text/javascript" id="navbar" src="/it1/js/navbar.js"></script>
<div id="content">
<form action="#" method="POST" id="form" class="top">
<div class="form-group">
<div class="row">
<div class="col col-sm-3"><input type="name" class="form-control" id="navn" placeholder="Navn"></div>
<div class="col col-sm-9"><input type="name" class="form-control" id="melding" placeholder="Melding"></div>
</div>
</div>
<a type="submit" class="btn btn-primary" href="javascript: add()">Legg til</a>
</form>
<div id="status">
<p>&nbsp;</p>
</div>
<!-- <a type="submit" class="btn btn-primary" href="javascript: list()">Hent kommentarer</a> -->
<div id="kommentarer">
</div>
<p id="status"></p>
2020-03-27 22:29:16 +00:00
</div>
<script type="text/javascript" src="/it1/gjestebok/gjestebok.js"></script>
</body>
</html>