-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (49 loc) · 1.96 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Fire Time Sheet</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script>
<script src="https://www.gstatic.com/firebasejs/5.5.8/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.5.8/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.5.8/firebase-firestore.js"></script>
<script src="js/firebaseConfig.js"></script>
<script src="js/app.js"></script>
<script src="js/dataServices.js"></script>
<script src="js/bootstrap.js"></script>
<script src="components/edit-time-entry.js"></script>
<script src="components/create-time-sheet.js"></script>
<script src="components/list-time-entries.js"></script>
<script src="components/time-sheet-app.js"></script>
<script>
var fsDataServices;
var timeSheetData;
var timeEntryListData = [];
var timeEntryData;
var currentTimeSheetId = "";
function loadTimeSheetList() {
fsDataServices.getTimeSheets().then(function (items) {
timeSheetData = items;
var listTimeSheetsComponent = new Vue(
{
el: '#divListTimeSheets'
});
});
}
$(document).ready(function () {
fsDataServices = new FireStoreDataServices();
timeEntryData = fsDataServices.getEmptyTimeEntry();
loadTimeSheetList();
});
</script>
</head>
<body>
<div id="divListTimeSheets">
<time-sheet-app />
</div>
</body>
</html>