-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathadmin.html
113 lines (99 loc) · 4.83 KB
/
admin.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Panel - MediTech HealthCare</title>
<link rel="stylesheet" href="sass/materialize.css">
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Compiled and minified CSS -->
<link rel="shortcut icon" href="images/logo_1.png" type="image/png">
</head>
<body>
<section id="mainSectionAdmin">
<button class="btn waves-effect">Send to all</button>
<table class="striped centered">
<thead>
<tr>
<th>User Email</th>
<th>Token Key</th>
<th></th>
</tr>
</thead>
<tbody id="tokentable">
<!-- <tr>
<td>Vivek Patel</td>
<td id="userKey">
djzN8eG-mJzsRDPRwWu7M_:APA91bH5WhOQcxE16NpzWPJTDkLbYTFcKgACUGMImMzH68khNa7DnrnS2GPn2s7OrDwYY4V2HSzIcA3JkjN6M-g7SRyTV1hS1r9nO-G7QyJcWpp7MIuFlxgFRo-VIL8HiBXkD0qCFpUZ
</td>
<td><button class="btn waves-effect waves-light blue">Send</button></td>
</tr>
<tr>
<td>Tirth Patel</td>
<td id="userKey">
djzN8eG-mJzsRDPRwWu7M_:APA91bH5WhOQcxE16NpzWPJTDkLbYTFcKgACUGMImMzH68khNa7DnrnS2GPn2s7OrDwYY4V2HSzIcA3JkjN6M-g7SRyTV1hS1r9nO-G7QyJcWpp7MIuFlxgFRo-VIL8HiBXkD0qCFpUZ
</td>
<td><button class="btn waves-effect waves-light blue">Send</button></td>
</tr>
<tr>
<td>Smit Patel</td>
<td id="userKey">
djzN8eG-mJzsRDPRwWu7M_:APA91bH5WhOQcxE16NpzWPJTDkLbYTFcKgACUGMImMzH68khNa7DnrnS2GPn2s7OrDwYY4V2HSzIcA3JkjN6M-g7SRyTV1hS1r9nO-G7QyJcWpp7MIuFlxgFRo-VIL8HiBXkD0qCFpUZ
</td>
<td><button class="btn waves-effect waves-light blue">Send</button></td>
</tr>
<tr>
<td>Tirth Raval</td>
<td id="userKey">
djzN8eG-mJzsRDPRwWu7M_:APA91bH5WhOQcxE16NpzWPJTDkLbYTFcKgACUGMImMzH68khNa7DnrnS2GPn2s7OrDwYY4V2HSzIcA3JkjN6M-g7SRyTV1hS1r9nO-G7QyJcWpp7MIuFlxgFRo-VIL8HiBXkD0qCFpUZ
</td>
<td><button class="btn waves-effect waves-light blue">Send</button></td>
</tr> -->
</tbody>
</table>
</section>
<!-- JQuery CDN -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<!-- Toastr CDN -->
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
<link href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet">
<!-- Firebase Scripts -->
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-performance.js"></script>
<!-- <script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-auth.js"></script> -->
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-firestore.js"></script>
<!-- <script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-storage.js"></script> -->
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-messaging.js"></script>
<script>
// Initialize Firebase
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyB8v8pD2b70NHbEVcR25KO6opvP_s8BYyw",
authDomain: "pdpu-medical-website.firebaseapp.com",
databaseURL: "https://pdpu-medical-website.firebaseio.com",
projectId: "pdpu-medical-website",
storageBucket: "pdpu-medical-website.appspot.com",
messagingSenderId: "216334365459",
appId: "1:216334365459:web:14c70ae25afcab9b6ce0e6"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
var perf = firebase.performance();
// make auth and firestore references
// const auth = firebase.auth();
const db = firebase.firestore();
// const stor = firebase.storage();
const messaging = firebase.messaging();
// update firestore settings
db.settings({
timestampsInSnapshots: true
});
</script>
<!-- Local Scripts -->
<script src="js/admin.js" defer></script>
</body>
</html>