1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-12-23 13:27:23 +00:00
fresh-themes/themes/underscore/src/pdf.html

193 lines
6.4 KiB
HTML
Raw Normal View History

2015-10-06 19:20:47 +01:00
<!DOCTYPE html>
2015-11-21 13:20:44 +00:00
<!-- [[[
title: Modern (PDF)
description: An HTML-driven PDF resume template for FluentCV's "minimist" theme.
engine: Underscore
]]] -->
2015-10-06 19:20:47 +01:00
<html>
<head>
<meta charset="utf-8">
2015-11-21 13:20:44 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ r.name }}</title>
2015-11-21 13:20:44 +00:00
<link href='https://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
{{ headFragment }}
2015-10-06 19:20:47 +01:00
<style>
{{ cssInfo.data }}
</style>
</head>
<body>
2015-11-21 13:20:44 +00:00
<main id="main">
<div id="container">
2015-10-06 19:20:47 +01:00
<header>
<h1>{{ r.name }}</h1>
2015-10-06 19:20:47 +01:00
<div id="contact">
2015-12-09 13:08:00 +00:00
{% if (r.contact.email) { %}<div class="email">{{ RAW.contact.email }}</div>{% } %}
{% if (r.contact.phone) { %}<div class="phone">{{ RAW.contact.phone }}</div>{% } %}
{% if (r.contact.website) { %}<div class="website"><a href="{{ RAW.contact.website }}">{{ RAW.contact.website }}</a></div>{% } %}
2015-10-06 19:20:47 +01:00
</div>
</header>
2015-11-19 15:05:10 +00:00
{% if ( r.info.brief && r.info.brief.length ) { %}
2015-11-21 13:20:44 +00:00
<hr>
2015-10-06 19:20:47 +01:00
<section id="summary">
2016-01-04 22:29:21 +00:00
<h3>{% print(h.sectionTitle('info', 'About')) %}</h3>
2015-11-21 13:20:44 +00:00
<span class="fa fa-lg fa-user"></span>
2015-12-09 13:08:00 +00:00
{{ r.info.brief }}
2015-10-06 19:20:47 +01:00
</section>
{% } %}
2015-11-21 13:20:44 +00:00
{% if ( r.skills && r.skills.sets ) { %}
<hr>
2015-10-06 19:20:47 +01:00
<section id="skills">
<header>
2016-01-04 22:29:21 +00:00
<h3>{% print(h.sectionTitle('Skills')) %}</h3>
2015-10-06 19:20:47 +01:00
</header>
2015-11-21 13:20:44 +00:00
<span class="fa fa-lg fa-code"></span>
<ul class="list-unstyled">
{% r.skills.sets.forEach( function(set) { %}
<li class="card card-nested card-skills">
<div class="skill-level" rel="tooltip" title="{{ set.level }}" data-placement="left">
<div class="skill-progress {{ set.level }}"></div>
</div>
<div class="skill-info">
<strong>{{ set.name }}</strong>
<div class="space-top labels">
{% if( set.skills && set.skills.length ) { %}
{% set.skills.forEach(function(kw) { %}
<span class="label label-keyword">{{ kw }}</span>
{% }); %}
{% } %}
</div>
</div>
</li>
{% }); %}
</ul>
2015-10-06 19:20:47 +01:00
</section>
{% } %}
2015-11-21 13:20:44 +00:00
{% if ( r.employment.history && r.employment.history.length ) { %}
<hr>
2015-10-06 19:20:47 +01:00
<section id="employment">
<header>
2016-01-04 22:29:21 +00:00
<h3>{% print(h.sectionTitle("Employment")) %}</h3>
2015-10-06 19:20:47 +01:00
</header>
2015-11-21 13:20:44 +00:00
<span class="fa fa-lg fa-building"></span>
{% r.employment.history.forEach( function( proj, idx, ar) { %}
2015-11-21 13:20:44 +00:00
{% if( proj.url && proj.url.length ) { %}
2015-12-09 13:08:00 +00:00
<h4><span class="res-label">{{ proj.position }}</span>, <a href="{{ proj.url }}">{{ proj.employer }}</a></h4>
2015-11-21 13:20:44 +00:00
{% } else { %}
<h4><span class="res-label">{{ proj.position }}</span>, <span class="defunct">{{ proj.employer }}</span></h4>
{% } %}
<span class="tenure">{{ proj.safe.start.format('YYYY-MM') }}&mdash;{{ proj.safe.end.format('YYYY-MM') }}</span>
2015-12-09 13:08:00 +00:00
{{ proj.summary }}
2015-10-06 19:20:47 +01:00
{% if( proj.highlights ) { %}
<ul>
{% proj.highlights.forEach( function( high, idx, ar) { %}
2015-12-09 13:08:00 +00:00
<li>{{ high }}</li>
2015-10-06 19:20:47 +01:00
{% }); %}
</ul>
{% } %}
{% }); %}
</section>
{% } %}
2015-11-21 13:20:44 +00:00
{% if ( r.education.history && r.education.history.length ) { %}
<hr>
2015-10-06 19:20:47 +01:00
<section id="education">
<header>
2016-01-04 22:29:21 +00:00
<h3>{% print(h.sectionTitle("Education")) %}</h3>
2015-10-06 19:20:47 +01:00
</header>
2015-11-21 13:20:44 +00:00
<span class="fa fa-lg fa-mortar-board"></span>
{% r.education.history.forEach( function( edu, idx, ar) { %}
2015-11-21 13:20:44 +00:00
<h4>{{ edu.institution }}</h4>
<span class="tenure">{{ edu.safe.start.format('YYYY-MM') }}&mdash;{{ edu.safe.end.format('YYYY-MM') }}</span>
{% if( edu.courses ) { %}
<ul>
{% edu.courses.forEach( function( course, idx, ar) { %}
2015-12-09 13:08:00 +00:00
<li>{{ course }}</li>
2015-11-21 13:20:44 +00:00
{% }); %}
</ul>
{% } %}
{% }); %}
</section>
{% } %}
{% if( r.recognition && r.recognition.length ) { %}
<hr>
<section id="awards">
<header>
2016-01-04 22:29:21 +00:00
<h3>{% print( h.sectionTitle("recognition", "Awards")) %}</h3>
2015-11-21 13:20:44 +00:00
</header>
<span class="fa fa-lg fa-trophy"></span>
{% r.recognition.forEach( function( award, idx, ar) { %}
<h4><span class="res-label">{{ award.title }}</span>, {{ award.from }}</h4>
<span class="tenure">{{ award.date }}</span>
2015-12-09 13:08:00 +00:00
{{ award.summary }}
2015-11-21 13:20:44 +00:00
{% }); %}
</section>
{% } %}
{% if( r.writing && r.writing.length ) { %}
<hr>
<section id="publications">
<header>
2016-01-04 22:29:21 +00:00
<h3>{% print( h.sectionTitle("writing", "Publications")) %}</h3>
2015-11-21 13:20:44 +00:00
</header>
2015-12-09 13:08:00 +00:00
<span class="fa fa-lg fa-pencil"></span>
2015-11-21 13:20:44 +00:00
{% r.writing.forEach( function( pub, idx, ar) { %}
<h4>
2015-12-09 13:08:00 +00:00
<span class="res-label">{{ filt.link(pub.title, pub.url) }}</span>&nbsp;{{ pub.publisher }}
2015-11-21 13:20:44 +00:00
</h4>
<span class="tenure">Published on: {{ pub.safe.date.format('YYYY-MM') }}</span>
{% }); %}
</section>
{% } %}
2016-01-04 22:07:30 +00:00
{% if ( r.service && r.service.history && r.service.history.length ) { %}
2015-11-21 13:20:44 +00:00
<hr>
<section id="volunteer">
<header>
2016-01-04 22:29:21 +00:00
<h3>{% print(h.sectionTitle("service", "Volunteer Work")) %}</h3>
2015-11-21 13:20:44 +00:00
</header>
<span class="fa fa-lg fa-child"></span>
{% r.service.history.forEach( function( vol, idx, ar) { %}
{% if( vol.url && vol.url.length ) { %}
2015-12-09 13:08:00 +00:00
<h4><span class="res-label">{{ vol.position }}</span>, <a href="{{ vol.website }}">{{ vol.organization }}</a></h4>
2015-11-21 13:20:44 +00:00
{% } else { %}
<h4><span class="res-label">{{ vol.position }}</span>, <span class="defunct">{{ vol.organization }}</span></h4>
{% } %}
<span class="tenure">{{ vol.safe.start.format('YYYY-MM') }}&mdash;{{ vol.safe.end.format('YYYY-MM') }}</span>
2015-12-09 13:08:00 +00:00
{{ vol.summary }}
2015-11-21 13:20:44 +00:00
{% if( vol.highlights ) { %}
2015-10-06 19:20:47 +01:00
<ul>
2015-11-21 13:20:44 +00:00
{% vol.highlights.forEach( function( high, idx, ar) { %}
2015-12-09 13:08:00 +00:00
<li>{{ high }}</li>
2015-10-06 19:20:47 +01:00
{% }); %}
</ul>
{% } %}
{% }); %}
</section>
{% } %}
2015-11-21 13:20:44 +00:00
</div>
2015-10-06 19:20:47 +01:00
</main>
</body>
</html>