1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-22 08:10:10 +00:00

Modern: Update PDF from HTML.

This commit is contained in:
hacksalot 2016-01-19 21:58:43 -05:00
parent 6fa9cc3c7b
commit bc77d70ed5

View File

@ -12,8 +12,8 @@
{{{ cssInfo.data }}} {{{ cssInfo.data }}}
</style> </style>
</head> </head>
<body class="pdf"> <body>
<main id="main"> <main id="main"> {{!<!-- Use your container markup of choice here -->}}
<div id="container"> <div id="container">
<header> <header>
<h1>{{{ r.name }}}</h1> <h1>{{{ r.name }}}</h1>
@ -24,83 +24,109 @@
</div> </div>
</header> </header>
{{#has 'info.brief'}}
{{#if r.info.brief}}
<hr> <hr>
<section id="summary"> <section id="summary">
<h2>{{{sectionTitle "info" "About"}}}</h2> <h2>{{{sectionTitle "info" "About"}}}</h2>
<span class="fa fa-lg fa-user"></span> <span class="fa fa-lg fa-user"></span>
{{{ r.info.brief }}} {{{ r.info.brief }}}
</section> </section>
{{/if}} {{/has}}
{{!<!-- A custom skills section with colored skill bars. -->}}
{{#section 'skills' }} {{#section 'skills' }}
<hr> <hr>
<section id="skills"> <section id="skills">
<header> <header>
<h2>{{{sectionTitle "Skills"}}}</h2> <h2>{{{sectionTitle "Skills"}}}</h2>
</header> </header>
<span class="fa fa-lg fa-code"></span> <span class="fa fa-lg fa-code"></span>
<ul class="list-unstyled"> <ul class="list-unstyled">
{{#each r.skills.sets}} {{#each r.skills.sets}}
<li class="card card-nested card-skills"> <li class="card card-nested card-skills">
<div class="skill-level" rel="tooltip" title="{{ level }}" data-placement="left"> <div class="skill-level" rel="tooltip" title="{{ level }}" data-placement="left">
<div class="skill-progress {{toLower level }}"></div> <div class="skill-progress {{toLower level }}"></div>
</div> </div>
<div class="skill-info"> <div class="skill-info">
<strong>{{ name }}</strong> <strong>{{ name }}</strong>
<div class="space-top labels"> <div class="space-top labels">
{{#if skills}} {{#if skills}}
{{#each skills}} {{#each skills}}
<span class="label label-keyword">{{ this }}</span> <span class="label label-keyword">{{ this }}</span>
{{/each}} {{/each}}
{{/if}} {{/if}}
</div> </div>
</div> </div>
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</section> </section>
{{/section}} {{/section}}
{{!<!--
Use predefined global partials for the other sections.
The "inline" bit before each section allows us to pass a custom heading
icon into the global partial. For this theme, we're using Font Awesome.
-->}}
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}} {{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
{{> section/employment }}
{{#*inline "body-employment" }}
<div>
<h3><em>{{ position }}</em>,
{{#if url }}
<a href="{{{ url }}}">{{ employer }}</a>
{{else}}
{{ employer }}
{{/if}}
</h3>
<span class="tenure">{{dateRange .}}</span>
{{#if keywords}}
{{#if start}}| {{/if}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
{{/if}}
<p>{{{ summary }}}</p>
{{> highlights }}
</div>
{{/inline}}
{{> section/employment _icon="icon-employment"}}
{{#*inline "body-projects" }}
<div>
<h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}}
{{#if url}}
<a href="{{{ url }}}">{{ title }}</a>
{{else}}
{{ title }}
{{/if}}
</h3>
{{#if start}}<span class="tenure">{{dateRange .}}</span>{{/if}}
{{#if keywords}}
{{#if start}}| {{/if}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
{{/if}}
{{{ summary }}}
{{> highlights }}
</div>
{{/inline}}
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}} {{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
{{> section/projects }}
{{> section/projects _icon="icon-projects"}}
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}} {{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
{{> section/education }}
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}} {{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
{{> section/service }}
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}} {{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
{{> section/samples }}
{{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}} {{#*inline "icon-writing"}}<span class="fa fa-lg fa-pencil"></span>{{/inline}}
{{> section/writing }}
{{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}} {{#*inline "icon-recognition"}}<span class="fa fa-lg fa-trophy"></span>{{/inline}}
{{> section/recognition }}
{{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}} {{#*inline "icon-speaking"}}<span class="fa fa-lg fa-users"></span>{{/inline}}
{{> section/speaking }}
{{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}} {{#*inline "icon-testimonials"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
{{> section/testimonials }}
{{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}} {{#*inline "icon-references"}}<span class="fa fa-lg fa-thumbs-o-up"></span>{{/inline}}
{{> section/references }}
{{> section/education _icon="icon-education"}}
{{> section/service _icon="icon-service"}}
{{> section/samples _icon="icon-samples"}}
{{> section/writing _icon="icon-writing"}}
{{> section/recognition _icon="icon-recognition"}}
{{> section/speaking _icon="icon-speaking"}}
{{> section/testimonials _icon="icon-testimonials"}}
{{> section/references _icon="icon-references"}}
</div> </div>
</main> </main>