forked from srbartlett/precise-theme-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.template
222 lines (207 loc) · 10.2 KB
/
profile.template
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
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<head>
<title>{{profile.name}}</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Precise Profile for {{profile.name}}">
<meta name="author" content="precise.io">
<link href='https://fonts.googleapis.com/css?family=Lato:300,400,300italic,400italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<!-- TODO: replace these with CDN -->
<link rel="stylesheet" href="https://static.precise.io/precise-theme-starter/assets/plugins/bootstrap/css/bootstrap-no-print.min.css">
<link rel="stylesheet" href="https://static.precise.io/precise-theme-starter/assets/plugins/font-awesome/css/font-awesome.css">
<!-- Theme -->
<style type="text/css">
{{{css}}}
</style>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<header class="header">
<div class="container">
<img class="profile-image img-responsive pull-left img-circle" width="180" src="{{profile.about.photo_url}}" alt="{{profile.about.name}}" />
<div class="logo img-responsive pull-right"></div>
<div class="profile-content pull-left">
<h1 class="name">{{profile.about.name}}</h1>
<h2 class="desc">{{profile.about.title}}</h2>
<ul class="social list-inline">
{{#each profile.network}}
<li>
<a href="{{this.url}}" title="{{this.type}}">
<i class="fa {{logo this.type}}"></i>
</a>
</li>
{{/each}}
</ul>
{{#if profile.links.pdf}}
<a class="btn btn-cta-primary download" href="{{profile.links.pdf}}"><i class="fa fa-download"></i> Download</a>
{{/if}}
</div>
</div>
</header>
<div class="container sections-wrapper">
<div class="row">
<div class="primary col-md-8 col-sm-12 col-xs-12">
<section class="about section">
<div class="section-inner">
<h2 class="heading">Bio</h2>
<div class="content">
<p>{{{md profile.about.bio}}}</p>
</div>
</div>
</section>
{{#if (latestProjects profile)}}
<section class="latest section">
<div class="section-inner">
<h2 class="heading">Latest Projects</h2>
<div class="content">
{{#each (latestProjects profile)}}
<div class="item row">
{{#if this.coverImage}}
<div class="col-md-4 col-sm-4 col-xs-12">
<a href="{{this.url}}" target="_blank">
<img class="img-responsive project-image" width="115" src="{{this.coverImage}}"/>
</a>
</div>
<div class="desc col-md-8 col-sm-8 col-xs-12">
<h3 class="title">{{this.title}} {{#if this.period }} - <span class="year">{{this.period}}</span> {{/if}}</h3>
{{{md this.description}}}
</div>
{{else}}
<div class="desc col-md-12 col-sm-12 col-xs-12">
<h3 class="title">{{this.title}} {{#if this.period }} - <span class="year">{{this.period}}</span> {{/if}}</h3>
{{{md this.description}}}
</div>
{{/if}}
</div>
{{/each}}
</div>
</div>
</section>
{{/if}}
<section class="experience section">
<div class="section-inner">
<h2 class="heading">Experience</h2>
<div class="content">
{{#each profile.experience}}
<div class="item">
<h3 class="title">{{this.role}} - <span class="place">{{this.place}}</span> <span class="year">{{this.period}}</span></h3>
<p>{{{md this.description}}}</p>
</div>
{{/each}}
</div>
</div>
</section>
</div>
<div class="secondary col-md-4 col-sm-12 col-xs-12">
{{#if profile.about.passion}}
<aside class="info aside section">
<div class="section-inner">
<h2 class="heading sr-only">Passion</h2>
<div class="content">
<p class="intro">
{{{md profile.about.passion}}}
</p>
</div>
</div>
</aside>
{{/if}}
<aside class="skills aside section">
<div class="section-inner">
<h2 class="heading">Skills</h2>
<div class="content">
<div class="skillset">
{{#each profile.tracks}}
{{#if this.visible}}
<div class="item">
<h3 class="level-title">{{this.name}}
<span class="level-label" data-toggle="tooltip" data-placement="left" data-animation="true"></span></h3>
<div class="level-bar">
<div class="level-bar-inner" data-level="{{levelAsPercentage this.level}}">
</div>
</div>
</h3>
</div>
{{/if}}
{{/each}}
<div class="other-skills">
<ul class="list-inline">
{{#each profile.skills}}
<li class="list-inline-item">
<span class="badge">{{this.name}}</span>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
</div>
</aside>
{{#if profile.education}}
<aside class="education aside section">
<div class="section-inner">
<h2 class="heading">Education</h2>
<div class="content">
{{#each profile.education}}
<div class="item">
<h3 class="title"><i class="fa fa-graduation-cap"></i> {{this.description}} </h3>
<h4 class="university">{{this.place}} <span class="year">{{this.period}}</span></h4>
</div>
{{/each}}
</div>
</div>
</aside>
{{/if}}
{{#if profile.certifications}}
<aside class="certification aside section">
<div class="section-inner">
<h2 class="heading">Certifications</h2>
<div class="content">
{{#each profile.certifications}}
<div class="item">
<h3 class="title"><i class="fa fa-certificate"></i> {{this.name}} </h3>
<h4 class="place">{{this.place}} <span class="year">{{this.period}}</span></h4>
</div>
{{/each}}
</div>
</div>
</aside>
{{/if}}
{{#if profile.conferences}}
<aside class="list conferences aside section">
<div class="section-inner">
<h2 class="heading">Conferences</h2>
<div class="content">
<ul class="list-unstyled">
{{#each profile.conferences}}
<li><i class="fa fa-calendar"></i> {{{md this.title}}} ({{this.place}})</li>
{{/each}}
</ul>
</div>
</div>
</aside>
{{/if}}
</div>
</div>
</div>
<footer class="footer">
<div class="container text-center">
<small class="copyright"><a href="https://cevo.com.au/" target="_blank">Cevo</a></small>
</div>
</footer>
<!-- Javascript -->
<script type="text/javascript" src="https://static.precise.io/precise-theme-starter/assets/plugins/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="https://static.precise.io/precise-theme-starter/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript">
{{{js}}}
</script>
</body>
</html>