github.io/static/old/it1/gjestebok/index.html

38 lines
1.8 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="../main.css">
<link rel="stylesheet" href="../css/form.css">
<link rel="stylesheet" href="../css/gjestebok.css">
2020-03-27 22:29:16 +00:00
<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="../js/init-firebase.js"></script>
2020-03-27 22:29:16 +00:00
</head>
<body>
<script type="text/javascript" id="navbar" src="../js/navbar.js"></script>
2020-03-27 22:29:16 +00:00
<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="gjestebok.js"></script>
2020-03-27 22:29:16 +00:00
</body>
</html>