generated from comp1800/web_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
budget-creator-2.html
96 lines (83 loc) · 4.05 KB
/
budget-creator-2.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Finance Bacon</title>
<meta name="comp1800 template" content="My 1800 App">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="images/green-logo.png">
<!-- Bootstrap Library CSS CDN go here -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-- Boostrap Library JS CDN go here -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<!-- Other libraries go here -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css">
<!-------------------------------------------------------->
<!-- Firebase 8 Library related CSS, JS, JQuery go here -->
<!-------------------------------------------------------->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.css" />
<!-- Link to styles of your own -->
<link rel="stylesheet" href="./styles/budget-creator-2.css">
</head>
<body>
<!-- Budget Template -->
<template id="budget-template">
<div class="tr">
<span class="td category-name">Placeholder</span>
<span class="td category-edit" onclick="editSource(this);">Edit</span>
<span class="td category-delete" onclick="deleteSource(this);">Delete</span>
</div>
</template>
<template id="edit-template">
<div class="tr">
<span class="td category-name"></span>
<span class="td category-submit" onclick="submitSource(this);">Submit</span>
<span class="td category-delete" onclick="deleteSource(this);">Delete</span>
</div>
</template>
<!-- Navbar Template -->
<nav id="navbarPlaceholder"></nav>
<!-- Content Goes Here! -->
<div id="budget-new">
<div id="budget-heading">
<h1>Add Income Sources</h1>
<p>Add premade and custom sources to your income.</p>
<hr>
</div>
<div class="table table-striped">
<div class="thead">
<div class="thr">
<span class="th" scope="column">Source</span>
<span class="th" scope="column"></span>
<span class="th" scope="column"></span>
</div>
</div>
<div class="tbody" id="budget-group"></div>
<div class="tfoot">
<div class="tfr">
<span class="tf"></span>
<span class="tf" id="add" onclick="addSource();">Add A Source</span>
<span class="tf"></span>
</div>
</div>
</div>
</div>
<div id="buttons">
<button type="button" class="btn btn-secondary"><a href="./budget-creator-1.html">Previous</a></button>
<button type="button" class="btn btn-primary"><a href="./home.html">Finish</a></button>
</div>
<!---------------------------------------------->
<!-- Your own JavaScript functions go here -->
<!---------------------------------------------->
<script src="./scripts/firebaseAPI_TEAM14.js"></script>
<script src="./scripts/skeleton.js"></script>
<script src="./scripts/budget-creator-2.js"></script>
</body>
</html>