-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
197 lines (190 loc) · 9.13 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
>
<!-- Font aswesome icons -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<!-- End of Font awesome icons -->
<title>BudgetChain</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<!-- Image and text -->
<a class="navbar-brand" href="#">
<img src="/images/logo.png" width="30" height="30" class="d-inline-block align-top" alt="">
BudgetChain
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">HOME <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item ">
<a class="nav-link" href="allocate-budget.html">RECORD BUDGET ALLOCATION <span class="sr-only"></span></a>
</li>
<li class="nav-item ">
<a class="nav-link" href="spend-budget.html">RECORD BUDGET SPENDING <span class="sr-only"></span></a>
</li>
<li class="nav-item ">
<a class="nav-link" href="budget-blockchain-diagram.html">VIEW BLOCKCHAIN DIAGRAM <span class="sr-only"></span></a>
</li>
<!-- <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Projects
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Allocate Fund</a>
<a class="dropdown-item" href="#">View Available Fund </a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</li> -->
</div>
</nav>
<div class="container">
<div class="row justify-content-center">
<div class="col-sm ">
<h1>HOME</h1>
<div class="accordion" id="accordionExample">
<div class="card">
<div class="card-header" id="headingOne">
<h2 class="mb-0">
<button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
VIEW BUDGET ALLOCATION
</button>
</h2>
</div>
<div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="#accordionExample">
<div class="card-body">
<div class="card ">
<div class="card-header bg-info">
<div class="card-title">
BUDGET ALLOCATION <span class="badge badge-pill badge-danger" id="totalBudget_allocations"></span>
<a href="allocate-budget.html" class="float-right" title="Record Budget Allocation">
<span class="badge badge-pill badge-success" ><i class="fas fa-plus"></i></span>
</a>
</div>
</div>
<div class="card-body">
<table class="table table-responsive table-striped">
<thead>
<tr>
<th>#</th>
<th>Allocated From</th>
<th>Allocated To</th>
<th>Description</th>
<th>Amount(Naira)</th>
<th>Time</th>
</tr>
</thead>
<tbody id="budget_allocationTableBody">
</tbody>
</table>
</div>
<div class="card-footer">
<small>All budget allocation</small>
</div>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingTwo">
<h2 class="mb-0">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
VIEW BUDGET SPENDING
</button>
</h2>
</div>
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionExample">
<div class="card-body">
<div class="card ">
<div class="card-header bg-info">
<div class="card-title">
BUDGET SPENDING <span class="badge badge-pill badge-danger" id="totalBudget_spendings"></span>
<a href="spend-budget.html" class="float-right" title="Record Budget Spending">
<span class="badge badge-pill badge-success" ><i class="fas fa-plus"></i></span>
</a>
</div>
</div>
<div class="card-body">
<table class="table table-responsive table-striped">
<thead>
<tr>
<th>#</th>
<th>Budget </th>
<th>Reason</th>
<th>Description</th>
<th>Amount(Naira)</th>
<th>Time</th>
</tr>
</thead>
<tbody id="budget_spendingTBody">
</tbody>
</table>
</div>
<div class="card-footer">
<small>All budget spending</small>
</div>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingThree">
<h2 class="mb-0">
<a href="budget-blockchain-diagram.html" class="btn btn-link collapsed">VIEW BUDGET BLOCKCHAIN DIAGRAM </a>
</h2>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class=" row justify-content-center bg-light">Designed by Team BudgetChain</footer>
<script id="budget_allocationTBodyTemplate" type="x-tmpl-mustache">
{{#budget_allocations}}
<tr>
<td>{{index}}</td>
<td>{{from}}</td>
<td>{{to}}</td>
<td>{{description}}</td>
<td>{{amount}}</td>
<td>{{timestamp}}</td>
</tr>
{{/budget_allocations}}
</script>
<script id="budget_spendingTBodyTemplate" type="x-tmpl-mustache">
{{#budget_spendings}}
<tr>
<td>{{index}}</td>
<td>{{budget}}</td>
<td>{{reason}}</td>
<td>{{description}}</td>
<td>{{amount}}</td>
<td>{{timestamp}}</td>
</tr>
{{/budget_spendings}}
</script>
<script src="index.js"></script>
<script src="aepp-sdk.browser.js"></script>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/3.0.1/mustache.min.js"></script>
</body>
</html>