-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprint.html
More file actions
151 lines (145 loc) · 4.7 KB
/
print.html
File metadata and controls
151 lines (145 loc) · 4.7 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><%= title %></title>
</head>
<body>
<div class="container">
<header>
<div class="row align-items-center border-bottom border-custom pb-4">
<div class="col-12 col-md-6">
<p class="display-4 text-custom mb-2"><%= name %></p>
<p class="display-5 text-custom mb-2"><%= position %></p>
</div>
<div class="col-12 col-md-6">
<ul class="list-group flex-row-reverse external">
<li class="list-group-item"><i class="text-custom"><i class="fas fa-user"></i></i> <%= info.birthdate %></li>
<li class="list-group-item "><i class="text-custom"><i class="fas fa-map-marker-alt"></i></i> <%= info.location %></li>
<li class="list-group-item "><i class="text-custom"><i class="fas fa-envelope"></i></i> <%= info.email %></li>
<li class="list-group-item "><i class="text-custom"><i class="fas fa-phone-alt"></i></i> <%= info.mobile %> </li>
<li class="list-group-item "><i class="text-custom"><i class="fas fa-globe-americas"></i></i> <%= info.website %> </li>
<li class="list-group-item "><i class="text-custom"><i class="fab fa-linkedin-in"></i></i> <%- _.replace(_.replace(info.linkedin.link, 'http://', ''),'www.','') %></li>
<li class="list-group-item "><i class="text-custom"><i class="fab fa-github"></i></i> <%- _.replace(_.replace(info.github.link, 'http://', ''),'www.','') %></li>
</ul>
</div>
</div>
</header>
<section>
<article class="mt-4">
<header>
<p class="display-5 text-custom ">Personal Profile</p>
</header>
<% _.forEach(profile, function(p) { %>
<p><%- p %></p>
<% }); %>
</article>
<article class="mt-4">
<header>
<p class="display-5 text-custom">Technical Skills</p>
</header>
<div class="row">
<% _.forEach(skills, function(ss, r) {
if (r % 4 == 0) {
%>
<div class="col">
<ul>
<%
}
%>
<li>
<strong><%- ss.category %>:</strong>
<%
_.forEach(ss.skill, function(s, i) {
%><%- s.name %><%
if (_.size(s.instance)) {
%>(<% _.forEach(s.instance, function(i, k) { %><%- i %><% if (k < _.size(s.instance) - 1) { %>, <%} }); %>)<%
}
if (i < _.size(ss.skill) - 1) { %>, <% }
%>
<% }); %>
</li>
<%
if (r % 4 == 3 || r == _.size(skills) - 1) {
%>
</ul>
</div>
<%
}
});
%>
</div>
</article>
<article class="mt-4">
<header>
<p class="display-5 text-custom ">Career Summary</p>
</header>
<% _.forEach(experience, function(e) { %>
<article>
<header>
<p class="display-6 pl-3"><strong><%- e.role %></strong> - <%- e.period %>, <%- e.place %></p>
</header>
<ul>
<% _.forEach(e.highlights, function(h) { %>
<% if (_.isString(h)) { %>
<li><%- h %></li>
<% } else { %>
<li>
<header>
<%- h.group %>
</header>
<ul>
<% _.forEach(h.highlights, function(hl) { %>
<li><%- hl %></li>
<% }); %>
</ul>
</li>
<% } %>
<% }); %>
</ul>
</article>
<% }); %>
</article>
<article class="mt-4">
<header>
<p class="display-5 text-custom ">Projects</p>
</header>
<% _.forEach(projects, function(p) { %>
<article>
<header>
<p class="display-6 pl-3"><strong><%- p.title %></strong> - <%- _.replace(_.replace(p.link, 'http://', ''),'www.','') %></p>
</header>
<ul>
<% _.forEach(p.highlights, function(h) { %>
<% if (_.isString(h)) { %>
<li><%- h %></li>
<% } else { %>
<li>
<header>
<%- h.group %>
</header>
<ul>
<% _.forEach(h.highlights, function(hl) { %>
<li><%- hl %></li>
<% }); %>
</ul>
</li>
<% } %>
<% }); %>
</ul>
</article>
<% }); %>
</article>
<article class="mt-4">
<header>
<p class="display-5 text-custom ">Languages</p>
</header>
<ul>
<% _.forEach(languages, function(l) { %> <li><%- l.name %> - <%- l.level %></li><% }); %>
</ul>
</article>
</section>
</div>
</body>
</html>