-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
181 lines (157 loc) · 5.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>budget planning app</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="html-css/main.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!----<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>-->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.2.61/jspdf.min.js"></script>
<script src="html-js/jsPDF.js"></script>
</head>
<body>
<div class="topnav" id="myTopnav">
<a href="#home" class="active">Home</a>
<a href="#news">News</a>
<a href="#contact">Contact</a>
<div class="dropdown">
<button class="dropbtn">Dropdown
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-content">
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</div>
</div>
<a href="#about">About</a>
<a href="javascript:void(0);" style="font-size:15px;" class="icon" onclick="myFunction()">☰</a>
</div>
<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content" style="padding: 10px;">
<section style="border: 1px solid teal; background-color: white;">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h2 class="modal-title">HI BUDDY!! HOW MUCH IS YOUR BUDGET😉😉</h2>
</div>
<div class="modal-body">
<input style="width: 90%; height: 80px;" type="number" id="newAmount" placeholder="Input Budget Amount Here...">
</div>
<div class="modal-footer" style="display: flex;">
<button id="addAmount" class="pointer btn btn-primary" data-dismiss="modal">Add </button>
<button type="button" class="btn btn-success" data-dismiss="modal">Close</button>
</div>
</section>
</div>
</div>
</div>
<main>
<section class="section1">
</section>
<section class="section2">
<section class="wrapper">
<section class="subwrapper">
<h1 class="h1">BUDGET PLANNING APP</h1>
<section class="mainsection">
<section class="mainsection1">
<div class="rect">
<h3 class="budget teal h3">BUDGET AMOUNT</h3>
<h3 class="amount" >N <span id="amountbudget">0</span></h3>
</div>
<div class="sub-rect">
<h3 class="teal pointer" id="top" class="btn btn-primary" data-toggle="modal" data-target="#myModal"><i class="fa fa-plus-circle"></i> TOP UP</h3>
</div>
</section>
<section class="mainsection2">
<div class="rect2">
<div>
<input type="text" class="inputitem" id="input" placeholder="Purpose/Item">
</div>
<div>
<input type="number" class="inputcost" id="cost" placeholder="cost">
</div>
<div>
<div class="inputbutton pointer btn white btn-success" id="create" >Add</div>
</div>
</div>
<section class="br hide"><br><br></section>
<div class="sub-rect2">
<section class="sub" id="file">
<section class="thead">
<div>S/N</div>
<div>Time</div>
<div>Purpose/Item</div>
<div>Cost</div>
</section>
<section class="tbody">
<div class="ol" id="ul">
</div>
</section>
</section>
</div>
<div id="editor"></div>
<br>
<br>
<section>
<section style="padding-top: 30px;">
<div style="font-size: small; border: 1px dotted white; background-color: black;">
<h1 id="show" style="display: none !important;">0</h1>
<h1 id="added"></h1>
<div><h1 style="color: white;">Total Amount : N <span id="total">0<span></h1>
<!--<button id="checkSum" class="pointer">Check Total</button>-->
<div><h1 style="color: white;">Balance: N <span id="balance">0</span></h1></div>
</div>
</div>
</section>
<div class="rect3">
<div class="pad1">
<div class="btn pointer btn-success" id="calculate"><h3 class="white">Calculate <i class="fa fa-calculator"></i></h3></div>
</div>
<!--<div class="pad1">
<div id="download" class="btn pointer btn-success" ><h3 class="white">Save as PDF <i class="fa fa-download"></i></h3></div>
</div>-->
<div class="pad1">
<div class="btn pointer btn-success"><h3 class="white" onclick="alert('will be available shortly')">Share App <i class="fa fa-share"></i></h3></div>
</div>
</div>
</section>
</section>
<br>
</section>
</section>
</section>
</section>
</main>
<footer>
<div style="display: none;" class="hide">
C<br>r<br>e<br>a<br>t<br>e<br>d <br> <br> By<br><a href="https//samuelegbajie.website" target="_blank"><br>S<br>A<br>M<br>U<br>E<br>L <br><br> E<br>G<br>B<br>A<br>J<br>I<br>E</a>
</div>
<div class="show" style="display: block;">
Created By<a href="https://samuelegbajie.website" target="_blank">SAMUEL EGBAJIE</a>
</div>
</footer>
<script src="html-js/main.js">
</script>
<script>
$(window).load(function(){
$('#myModal').modal('show');
});
</script>
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
</body>
</html>