generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
283 lines (277 loc) · 11.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css"
/>
<link rel="stylesheet" href="assets/css/style.css" />
<link rel="stylesheet" href="assets/css/themes.css" />
<title>CV Builder</title>
</head>
<body>
<!-- HEADER -->
<header class="custom-header">
<nav class="navbar navbar-expand-lg static-top navbar-dark">
<div class="container">
<h1 class="logo">cv builder</h1>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarResponsive"
aria-controls="navbarResponsive"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<!-- NAVIGATION -->
<div
class="collapse navbar-collapse mt-md-3"
id="navbarResponsive"
>
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<span id="nav-title">Themes:</span>
</li>
<li class="nav-item">
<button
class="nav-link active pl-0 pr-0"
id="theme-default-link"
aria-label="Switch to default theme"
>
Default
<span class="sr-only">(current)</span>
</button>
</li>
<li class="nav-item">
<button
class="nav-link pl-0 pr-0"
id="theme-modern-link"
aria-label="Switch to modern theme"
>
Modern
</button>
</li>
<li class="nav-item">
<button
class="nav-link pl-0 pr-0"
id="theme-lavender-link"
aria-label="Switch to lavender theme"
>
Lavender
</button>
</li>
<li class="nav-item">
<button
class="nav-link pl-0 pr-0"
id="theme-deco-link"
aria-label="Switch to deco theme"
>
Deco
</button>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div class="container main-container">
<div id="cv">
<!-- PRINTABLE HTML-->
<div id="printable" class="ml-auto mr-auto sortable-list"></div>
<!-- New Section Buttons -->
<div id="add-section">
<button
id="add-section-btn"
class="text-center"
aria-label="Add new section"
>
<i class="fas fa-plus-circle"></i>
New Section
</button>
<div id="close-section" class="text-right">
<i class="fas fa-times-circle"></i>
</div>
<div
class="row m-2 text-center hide"
id="new-section-buttons"
>
<button
class="col-md-3 section-btn pb-4 pb-md-0"
id="newinfo-btn"
aria-label="Add new info section"
>
<img
src="assets/img/new-section-info.png"
alt="Add new info section"
/>
Info
</button>
<button
class="col-md-3 section-btn pb-4 pb-md-0"
id="newlisting-btn"
aria-label="Add new listing section"
>
<img
src="assets/img/new-section-listing.png"
alt="Add new listing section"
/>
Listing
</button>
<button
class="col-md-3 section-btn pb-4 pb-md-0"
id="new3col-btn"
aria-label="Add new three column section"
>
<img
src="assets/img/new-section-3-col.png"
alt="Add new three column section"
/>
Three Columns
</button>
<button
class="col-md-3 section-btn"
id="newsingleblock-btn"
aria-label="Add new block section"
>
<img
src="assets/img/new-section-block.png"
alt="Add new block section"
/>
Block
</button>
</div>
</div>
</div>
</div>
<div class="container">
<!-- Succesful save alert -->
<div
id="save-alert"
class="alert alert-success alert-dismissible fade show text-center"
role="alert"
>
<strong>CV saved successfully!</strong>
<p>
Your CV has been saved locally.
<br />
Be aware that clearing your browser's cache will result in
the loss of your saved information.
</p>
<button type="button" class="close" aria-label="Close alert">
<span aria-hidden="true" class="close-alert">
<i class="fas fa-times-circle"></i>
</span>
</button>
</div>
<!-- Action Buttons -->
<div class="actions text-center">
<button
class="btn btn-primary action-btn"
id="reset-alert-btn"
data-toggle="modal"
data-target="#reset-modal"
aria-label="Reset CV"
>
RESET
<i class="fas fa-undo-alt"></i>
</button>
<button
class="btn btn-primary action-btn"
id="save-btn"
aria-label="Save Cv"
>
SAVE
<i class="far fa-save"></i>
</button>
<button
class="btn btn-primary action-btn"
id="download-btn"
aria-label="Download as pdf"
>
DOWNLOAD AS PDF
<i class="fas fa-file-download"></i>
</button>
</div>
</div>
<!-- Modal Window to reset content to default-->
<div class="modal" id="reset-modal" tabindex="-1" role="dialog">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">
Are you sure?
</h4>
<button
type="button"
class="close close-modal"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">
<i class="fas fa-times-circle"></i>
</span>
</button>
</div>
<div class="modal-body">
<p>
By resetting the content, you will lose all your
changes.
</p>
</div>
<div class="modal-footer">
<button
type="button"
class="btn btn-primary"
id="reset-btn"
data-dismiss="modal"
aria-label="reset"
>
Reset
<i class="fas fa-undo-alt"></i>
</button>
<button
type="button"
class="btn btn-primary"
data-dismiss="modal"
aria-label="cancel"
>
Cancel
</button>
</div>
</div>
</div>
</div>
<footer class="container-fluid custom-footer">
<div class="container text-right">
CV Builder by Simon Castagna - 2020
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/js/bootstrap.min.js"></script>
<script src="assets/js/html2pdf.bundle.min.js"></script>
<script src="assets/js/anchorme.min.js"></script>
<script src="assets/js/scripts.js"></script>
</body>
</html>