google ass

This commit is contained in:
Sivert V. Sæther
2020-03-18 03:00:22 +01:00
parent ce76064917
commit cfbd1f35be
9 changed files with 75 additions and 17 deletions

View File

@@ -0,0 +1,4 @@
db = init().firestore()
bibliotekcoll = db.collection("bibliotek")

17
it1/bibliotek/index.html Normal file
View File

@@ -0,0 +1,17 @@
<!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 defer src="https://www.gstatic.com/firebasejs/7.11.0/firebase-app.js"></script>
<script defer src="https://www.gstatic.com/firebasejs/7.11.0/firebase-firestore.js"></script>
<script type="text/javascript" src="/it1/init-firebase.js"></script>
</head>
<bod>
<iframe id="navbar" width="100%" height="60px" src="/it1/navbar.html" style="border: 0px"></iframe>
<div id="content">
<form></form>
</div>
<script type="text/javascript" src="/it1/bibliotek/bibliotek.js"></script>
</bod>
</html>