1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-09-29 11:39:11 +01:00
fresh-themes/themes/positive/src/positive-pdf.html

166 lines
5.1 KiB
HTML
Raw Normal View History

2015-12-18 14:41:57 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ r.name }}</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<style>
2015-12-18 21:07:01 +00:00
{{{ cssInfo.data }}}
2015-12-18 14:41:57 +00:00
</style>
</head>
<body>
<main>
<header>
2016-01-04 22:07:30 +00:00
<h1>{{{initialWords r.name }}} <span style="color: #C00000;">{{{lastWord r.name }}}</span></h1>
2015-12-18 21:07:01 +00:00
<span class="label">{{{ r.info.label }}}</span>
<p id="contact">
{{#if r.contact.email}}<span class="email"><a href="mailto:{{ RAW.contact.email }}">{{{ r.contact.email }}}</a></span>{{/if}}
{{#if r.contact.phone}}<span class="phone">{{{ r.contact.phone }}}</span>{{/if}}
{{#if r.contact.website}}<span class="website"><a href="{{ RAW.contact.website }}">{{{ r.contact.website }}}</a></span>{{/if}}
</p>
2015-12-18 14:41:57 +00:00
</header>
{{#if r.info.brief}}
<section id="summary">
2015-12-18 21:07:01 +00:00
{{{ r.info.brief }}}
2015-12-18 14:41:57 +00:00
</section>
{{/if}}
{{#if r.skills}}
<section id="skills">
<header>
2015-12-18 21:07:01 +00:00
<h2><span class="fa fa-code"></span> Skills</h2>
2015-12-18 14:41:57 +00:00
</header>
<table>
<thead>
<tr>
2016-01-04 22:07:30 +00:00
<th>{{{sectionTitle "Skills"}}}</th>
2015-12-18 14:41:57 +00:00
<th>Keywords</th>
</tr>
</thead>
<tbody>
{{#each r.skills.sets}}
<tr>
2015-12-18 21:07:01 +00:00
<td style="width: 33%;">{{{ name }}}</td>
<td class="keywords">{{#each skills}}{{{ this }}} {{/each}}</td>
2015-12-18 14:41:57 +00:00
</tr>
{{/each}}
</tbody>
</table>
</section>
{{/if}}
{{#if r.employment}}
<section id="employment">
<header>
2016-01-04 22:07:30 +00:00
<h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2>
2015-12-18 14:41:57 +00:00
</header>
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
<h3><em>{{ position }}</em>,
{{#if url }}
2016-01-04 22:07:30 +00:00
<a href="{{ url }}">{{{ employer }}}</a>
2015-12-18 14:41:57 +00:00
{{else}}
2016-01-04 22:07:30 +00:00
{{{ employer }}}
2015-12-18 14:41:57 +00:00
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
2015-12-18 21:07:01 +00:00
<p style="clear: both;">{{{ summary }}}</p>
2015-12-18 14:41:57 +00:00
{{#if highlights}}
<ul>
{{#each highlights}}
2015-12-18 21:07:01 +00:00
<li>{{{ this }}}</li>
2015-12-18 14:41:57 +00:00
{{/each}}
</ul>
{{/if}}
{{/compare}}
{{#compare @index 4 operator=">="}}
{{#compare @index 4 operator="=="}}
<h3>Previously...</h3>
2015-12-18 21:07:01 +00:00
<p style="clear: both;">Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.</p>
2015-12-18 14:41:57 +00:00
<ul>
{{/compare}}
2015-12-18 21:07:01 +00:00
<li>{{{ position }}}, {{{ employer }}}</li>
2015-12-18 14:41:57 +00:00
{{#if @last}}
</ul>
{{/if}}
{{/compare}}
{{/each}}
</section>
{{/if}}
{{# if r.education}}
<section id="education">
<header>
2016-01-04 22:07:30 +00:00
<h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2>
2015-12-18 14:41:57 +00:00
</header>
{{#each r.education.history}}
2015-12-18 21:07:01 +00:00
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
2015-12-18 14:41:57 +00:00
{{/each}}
</section>
{{/if}}
{{#if r.service}}
<section id="volunteer">
<header>
2016-01-04 22:07:30 +00:00
<h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2>
2015-12-18 14:41:57 +00:00
</header>
{{#each r.service.history}}
2016-01-04 22:07:30 +00:00
<h3><em>{{{ position }}}</em>,
2015-12-18 14:41:57 +00:00
{{#if url}}
2016-01-04 22:07:30 +00:00
<a href="{{ url }}">{{{ organization }}}</a>
2015-12-18 14:41:57 +00:00
{{else}}
2016-01-04 22:07:30 +00:00
{{{ organization }}}
2015-12-18 14:41:57 +00:00
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
2015-12-18 21:07:01 +00:00
<p style="clear: both;">{{{ summary }}}</p>
2015-12-18 14:41:57 +00:00
{{#if highlights}}
<ul>
{{#each highlights}}
2016-01-04 22:07:30 +00:00
<li>{{{ this }}}</li>
2015-12-18 14:41:57 +00:00
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/if}}
{{#if r.writing}}
<section id="publications">
<header>
2016-01-04 22:07:30 +00:00
<h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2>
2015-12-18 14:41:57 +00:00
</header>
{{#each r.writing }}
2016-01-04 22:07:30 +00:00
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
2015-12-18 21:07:01 +00:00
{{{ publisher.name }}} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
{{# if summary}}{{{ summary }}}{{/if}}
2015-12-18 14:41:57 +00:00
{{/each}}
</section>
{{/if}}
{{# if r.recognition}}
<section id="awards">
<header>
2016-01-04 22:07:30 +00:00
<h2><span class="fa fa-trophy"></span> {{{"sectionTitle" "recognition" "Awards"}}}</h2>
2015-12-18 14:41:57 +00:00
</header>
{{#each r.recognition}}
2016-01-04 22:07:30 +00:00
<h4><span class="res-label">{{{ title }}}</span>, {{{ from }}} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>
2015-12-18 21:07:01 +00:00
{{{ summary }}}
2015-12-18 14:41:57 +00:00
{{/each}}
</section>
{{/if}}
</main>
</body>
</html>