-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindexdb.html
58 lines (53 loc) · 2.31 KB
/
indexdb.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>.
</head>
<body>
<div class="container">
<h1>Top Twenty Charts</h1>
<table class="table table-bordered" id='tbresult'>
<tr><th>Number</th><th>Player</th><th>Coutry</th><th>Score</th><th>Count time</th><th>Date/Time</th></tr>
</table>
</div>
<!-- <div class="container_player">
<h1>Your Charts</h1>
<table class="table table-bordered" id='tbresult_player'>
<tr><th>Number</th><th>Player</th><th>Coutry</th><th>Score</th><th>Count time</th><th>Date/Time</tr>
</table>
</div> -->
</body>
<script src="https://www.gstatic.com/firebasejs/10.11.0/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/10.11.0/firebase-analytics-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/10.11.0/firebase-firestore-compat.js"></script>
<script>
// Import the functions you need from the SDKs you need
//import { initializeApp } from "https://www.gstatic.com/firebasejs/10.11.0/firebase-app.js";
//import { } from 'https://www.gstatic.com/firebasejs/10.11.0/firebase-firestore.js'
//import firebase from "firebase/app";
//import "firebase/firestore";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
const firebaseConfig = {
apiKey: "AIzaSyAmMQlxW9POFpqRMiDS7o7wFMDHgvHtZmY",
authDomain: "tekgame-afb33.firebaseapp.com",
databaseURL: "https://tekgame-afb33.firebaseio.com",
projectId: "tekgame-afb33",
storageBucket: "tekgame-afb33.appspot.com",
messagingSenderId: "97542736002",
appId: "1:97542736002:web:f6a52c3cc243f6e9e90c9b"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
// Initialize Cloud Firestore and get a reference to the service
//const db = firebase.firestore();
//console.log(firebase);
</script>
<script src=fdb.js></script>
</body>
</html>