1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-23 00:30:10 +00:00
fresh-themes/themes/minimist/templates/pdf.html

197 lines
6.3 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">
{% if (r.contact.email) { %}<div class="email">{{ r.contact.email }}</div>{% } %}
{% if (r.contact.phone) { %}<div class="phone">{{ r.contact.phone }}</div>{% } %}
{% if (r.contact.website) { %}<div class="website"><a href="{{ r.contact.website }}">{{ r.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">
2015-11-21 13:20:44 +00:00
<h3>About</h3>
<span class="fa fa-lg fa-user"></span>
2015-11-19 15:05:10 +00:00
{{ r.info.brief|md }}
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>
2015-11-21 13:20:44 +00:00
<h3>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>
2015-11-21 13:20:44 +00:00
<h3>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 ) { %}
<h4><span class="res-label">{{ proj.position }}</span>, <a href="{{ proj.url|raw }}">{{ proj.employer }}</a></h4>
{% } 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>
{{ proj.summary|md }}
2015-10-06 19:20:47 +01:00
{% if( proj.highlights ) { %}
<ul>
{% proj.highlights.forEach( function( high, idx, ar) { %}
2015-11-21 13:20:44 +00:00
<li>{{ high|mdin }}</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>
2015-11-21 13:20:44 +00:00
<h3>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) { %}
<li>{{ course|mdin }}</li>
{% }); %}
</ul>
{% } %}
{% }); %}
</section>
{% } %}
{% if( r.recognition && r.recognition.length ) { %}
<hr>
<section id="awards">
<header>
<h3>Awards</h3>
</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>
{{ award.summary|md }}
{% }); %}
</section>
{% } %}
{% if( r.writing && r.writing.length ) { %}
<hr>
<section id="publications">
<header>
<h3>Publications</h3>
</header>
<span class="fa fa-lg fa-trophy"></span>
{% r.writing.forEach( function( pub, idx, ar) { %}
<h4>
{% if( pub.url ) { %}
<span class="res-label"><a href="{{ pub.link[0].url }}" ></span>{{ pub.title }}</a>,&nbsp;{{ pub.publisher }}
{% } else { %}
<span class="res-label">{{ pub.name }}</span>,&nbsp;{{ pub.publisher }}
{% } %}
</h4>
<span class="tenure">Published on: {{ pub.safe.date.format('YYYY-MM') }}</span>
{% }); %}
</section>
{% } %}
{% if ( r.service.history && r.service.history.length ) { %}
<hr>
<section id="volunteer">
<header>
<h3>Volunteer Work</h3>
</header>
<span class="fa fa-lg fa-child"></span>
{% r.service.history.forEach( function( vol, idx, ar) { %}
{% if( vol.url && vol.url.length ) { %}
<h4><span class="res-label">{{ vol.position }}</span>, <a href="{{ vol.website|raw }}">{{ vol.organization }}</a></h4>
{% } 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>
{{ vol.summary|md }}
{% 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) { %}
<li>{{ high|mdin }}</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>