-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
349 lines (315 loc) · 15.4 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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!-- SEO Meta -->
<meta name="description" content="Website/app project, estimate time & cost calculator by Brandon Winger-Air">
<title>Web Project Estimate App | Brandon Winger-Air</title>
<link rel="icon" href="./favicon.png" type="image/x-icon">
<!-- Bulma CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css"/>
<!-- Stylesheet -->
<link rel="stylesheet" href="style.css"/>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<!-- Font Awesome -->
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<!-- jsPDF -->
<script src="js/jspdf.min.js"></script>
</head>
<body class="has-background-grey-lighter">
<div id="header-container" class="section has-background-grey-light">
<div class="container">
<div id="header" class="content">
<h1>Web Project Estimator</h1>
<hr>
<h2>
A calculator for projects by <a href="https://brandonwinger-air.com">Brandon Winger-Air <i class="fas fa-globe"></i></a>
</h2>
</div>
</div>
</div>
<section id="section-container" class="section">
<div class="container">
<div id="details-container" class="columns">
<div id="details-column" class="column is-half">
<div class="card">
<div class="card-content">
<div id="loan-form">
<div class="level">
<!-- Left side -->
<div class="level-left is-marginless">
<div class="level-item">
<p class="number">1</p>
Type of Project:
</div>
</div>
<!-- Right side -->
<div class="level-right">
<div class="level-item">
<div class="control has-icons-left">
<div class="select" id="project-type">
<select id="project-select">
<option value="landing-page">Landing Page</option>
<option value="basic-website" selected>Basic Website</option>
<option value="content-ecommerce">Content/eCommerce</option>
<option value="web-application">Web Application</option>
</select>
</div>
<span class="icon is-left">
<i class="fas fa-globe"></i>
</span>
</div>
</div>
</div>
</div>
<hr class="level-divider">
<div id="pages-form" class="level">
<div class="level-left"></div>
<div class="level-right">
<p id="pages-title">Pages: </p>
<div id="pages-input" class="field">
<div class="control has-icons-left">
<input class="input" id="pages-value" type="number" value="3"/>
<span class="icon is-small is-left">
<i class="fas fa-sticky-note"></i>
</span>
</div>
</div>
</div>
</div>
<div id="included-pages" class="level">
<div class="level-left"></div>
<div class="level-right">
*Includes <span id="additional-pages"></span> <strong>free</strong> page types, add more for $<span id="additional-page-price"></span> each.
</div>
<hr class="level-divider">
</div>
<div class="level">
<!-- Left side -->
<div class="level-left is-marginless">
<div class="level-item">
<p class="number">2</p>
Extra Services:
</div>
</div>
<!-- Right side -->
<div class="level-right">
<div class="level-item">
<div class="dropdown">
<div class="dropdown-trigger">
<button type="button" class="button" aria-haspopup="true" aria-controls="dropdown-menu3">
<span class="icon is-small is-left">
<i class="fas fa-plus-circle"></i>
</span>
<span>Additional Features</span>
<span class="icon is-small">
<i class="fas fa-angle-down" aria-hidden="true"></i>
</span>
</button>
</div>
<div class="dropdown-menu" id="dropdown-menu3" role="menu">
<div id="features-list" class="dropdown-content">
<div class="dropdown-item">
<label class="checkbox">
<input type="checkbox" id="graphic-design" value="+ Graphic Design $850">
Graphic Design <b>$850</b>
</label>
</div>
<hr class="dropdown-divider">
<div class="dropdown-item">
<label class="checkbox">
<input type="checkbox" id="administration" value="+ Administration ($40/m)">
Administration <b>$40/m</b>
</label>
</div>
<hr class="dropdown-divider">
<div class="dropdown-item">
<label class="checkbox">
<input type="checkbox" id="prototyping" value="+ Prototyping ($2500)">
Prototyping <b>$2500</b>
</label>
</div>
<hr class="dropdown-divider">
<div class="dropdown-item">
<label class="checkbox">
<input type="checkbox" id="advanced-seo" value="+ Advanced SEO ($6000/yr)">
Advanced SEO <b>$6000/yr</b>
</label>
</div>
<hr class="dropdown-divider">
<div class="dropdown-item">
<label class="checkbox">
<input type="checkbox" id="custom-database" value="+ Custom Database ($2000)">
Custom Database <b>$2000</b>
</label>
</div>
<hr class="dropdown-divider">
<div class="dropdown-item">
<label class="checkbox">
<input type="checkbox" id="security-testing" value="+ Security & Testing ($4500/yr)">
Security/Testing <b>$4500/yr</b>
</label>
</div>
<hr class="dropdown-divider">
<div class="dropdown-item">
<label class="checkbox">
<input type="checkbox" id="media-marketing" value="+ Media Marketing ($250/m)">
Media Marketing <b>$250/m</b>
</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="graphic-design-include" class="level add-on">
<div class="level-left is-marginless">
<div class="level-item">
<p class="extras-include"><i class="fas fa-plus"></i> Graphic Design ($850)</p>
</div>
</div>
</div>
<div id="prototyping-include" class="level add-on">
<div class="level-left is-marginless">
<div class="level-item">
<p class="extras-include"><i class="fas fa-plus"></i> Prototyping ($2500)</p>
</div>
</div>
</div>
<div id="administration-include" class="level add-on">
<div class="level-left is-marginless">
<div class="level-item">
<p class="extras-include"><i class="fas fa-plus"></i> Administration ($35/month)</p>
</div>
</div>
</div>
<div id="advanced-seo-include" class="level add-on">
<div class="level-left is-marginless">
<div class="level-item">
<p class="extras-include"><i class="fas fa-plus"></i> Advanced SEO ($6000/year)</p>
</div>
</div>
</div>
<div id="custom-database-include" class="level add-on">
<div class="level-left is-marginless">
<div class="level-item">
<p class="extras-include"><i class="fas fa-plus"></i> Custom Database ($2000)</p>
</div>
</div>
</div>
<div id="security-testing-include" class="level add-on">
<div class="level-left is-marginless">
<div class="level-item">
<p class="extras-include"><i class="fas fa-plus"></i> Security/Testing ($3000/year)</p>
</div>
</div>
</div>
<div id="media-marketing-include" class="level add-on">
<div class="level-left is-marginless">
<div class="level-item">
<p class="extras-include"><i class="fas fa-plus"></i> Media Marketing ($250/month)</p>
</div>
</div>
</div>
<hr class="level-divider">
<div class="level">
<!-- Left side -->
<div class="level-left">
<div class="level-item">
<p class="number">3</p>
<p>Payment Plan:</p>
</div>
</div>
<!-- Right side -->
<div class="level-right control has-icons-left">
<div id="payment-plan" class="select">
<select id="payment-select">
<option value="one-payment" selected>One Payment</option>
<option value="weekly">Weekly</option>
<option value="monthly">Monthly</option>
<option value="daily">Daily</option>
</select>
</div>
<span class="icon is-left">
<i class="fas fa-calendar-alt"></i>
</span>
</div>
</div>
<hr class="level-divider">
<div class="control">
<a id="request-quote-link" href="!#" target="_blank">
<button class="button is-large is-fullwidth is-primary">
Request A Quote
</button>
</a>
<p id="results-added">(Estimate details will be added to your email message)</p>
</div>
</div>
</div>
</div>
</div>
<div id="estimate-column" class="column is-half">
<h1 class="title results-title">Total Estimate</h1>
<div id="results-icon">
<h1 class="title results-title"><i class="fas fa-calculator"></i></h1>
</div>
<div class="columns is-multiline">
<div class="column is-half">
<div class="notification is-primary has-text">
<p id="monthlyPayment" class="title is-3">$</p>
<p id="payment-amount">1200</p>
<p id="payment-title" class="subtitle is-4">One Payment</p>
</div>
</div>
<div class="column is-half">
<div class="notification is-link has-text">
<p id="totalPayment" class="title is-3"><i class="fas fa-stopwatch"></i></p>
<p id="duration-amount" class="title">5 Days</p>
<p id="time-title" class="subtitle is-4">Approx. Duration</p>
</div>
</div>
<div class="column is-full">
<p><i class="fas fa-server"></i> Domain & Server Hosting starting at $8/yr + $2.95/mo</p>
</div>
<div class="column is-12">
<div class="notification is-info has-text">
<p class="title is-3"><i class="fas fa-calendar-alt"></i> <span id="recurring-amount">$0 Recurring</span></p>
<p id="features-title" class="subtitle is-4">No Extra Features</p>
</div>
</div>
<div class="column is-12">
<hr id="estimate-divider">
<div id="info-col-footer" class="control">
<form id="save-form">
<button id="save-btn" class="button is-large is-fullwidth is-success">
Save as PDF
</button>
</form>
<p>Web Client Estimator © 2023</p>
<a href="https://github.com/BrandonWingerAir/web-project-cost-estimator" target="_blank"><i class="fab fa-github"></i></a>
<p><a href="mailto:brandon.air.web@gmail.com">brandon.air.web@gmail.com</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="footer-section" class="section">
<h3><a href="https://www.brandonwinger-air.com" target="_blank">www.brandonwinger-air.com</a></h3>
</section>
<script src="js/app.js"></script>
<script src="js/imgData.js"></script>
<script src="js/generatePDF.js"></script>
<script>
// Submit Listener
document.getElementById("save-btn").addEventListener("click", function(e){
event.preventDefault(e);
generatePDF();
});
</script>
</body>
</html>