<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style type="text/css">
/******************** ANTON /********************/
@font-face {
font-family: 'Anton';
src: url('https://cdn.eadplataforma.app/assets/fonts/Anton/Anton-Regular.ttf');
font-weight: 400;
font-style: normal;
}
/******************** ANTON /********************/
/******************** ROBOTO ********************/
@font-face {
font-family: 'Roboto';
src: url('https://cdn.eadplataforma.app/assets/fonts/Roboto/Roboto-Regular.ttf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('https://cdn.eadplataforma.app/assets/fonts/Roboto/Roboto-Bold.ttf');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('https://cdn.eadplataforma.app/assets/fonts/Roboto/Roboto-Italic.ttf');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Roboto';
src: url('https://cdn.eadplataforma.app/assets/fonts/Roboto/Roboto-BoldItalic.ttf');
font-weight: 700;
font-style: italic;
}
/******************** ROBOTO ********************/
/******************** GRADUATE ********************/
@font-face {
font-family: 'Graduate';
src: url('https://cdn.eadplataforma.app/assets/fonts/Graduate/Graduate-Regular.ttf');
font-weight: 400;
font-style: normal;
}
/******************** GRADUATE ********************/
/******************** QUICKSAND ********************/
@font-face {
font-family: 'Quicksand';
src: url('https://cdn.eadplataforma.app/assets/fonts/Quicksand/Quicksand-Regular.ttf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Quicksand';
src: url('https://cdn.eadplataforma.app/assets/fonts/Quicksand/Quicksand-Bold.ttf');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Quicksand';
src: url('https://cdn.eadplataforma.app/assets/fonts/Quicksand/Quicksand-Italic.ttf');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Quicksand';
src: url('https://cdn.eadplataforma.app/assets/fonts/Quicksand/Quicksand-BoldItalic.ttf');
font-weight: 700;
font-style: italic;
}
/******************** QUICKSAND ********************/
/******************** OSTRICH SANS ********************/
@font-face {
font-family: 'ostrichsans_black';
src: url('https://cdn.eadplataforma.app/assets/fonts/OstrichSans/OstrichSans-Regular.ttf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'ostrichsans_black';
src: url('https://cdn.eadplataforma.app/assets/fonts/OstrichSans/OstrichSans-Black.ttf');
font-weight: 700;
font-style: normal;
}
/******************** OSTRICH SANS ********************/
/******************** OPEN SANS ********************/
/*** REGULAR ***/
@font-face {
font-family: "opensans";
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-Regular.ttf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'opensans';
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-Bold.ttf');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'opensans';
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-Italic.ttf');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'opensans';
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-BoldItalic.ttf');
font-weight: 700;
font-style: italic;
}
/*** ITALIC ***/
@font-face {
font-family: 'opensans_italic';
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-Italic.ttf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'opensans_italic';
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-BoldItalic.ttf');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'opensans_italic';
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-Italic.ttf');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'opensans_italic';
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-BoldItalic.ttf');
font-weight: 700;
font-style: italic;
}
/*** SEMIBOLD ***/
@font-face {
font-family: "opensans_semibold";
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-Regular.ttf');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "opensans_semibold";
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-Bold.ttf');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "opensans_semibold";
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-BoldItalic.ttf');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'opensans_semibold';
src: url('https://cdn.eadplataforma.app/assets/fonts/OpenSans/OpenSans-BoldItalic.ttf');
font-weight: 700;
font-style: italic;
}
/******************** OPEN SANS ********************/
/******************** CAVIAR DREAMS ********************/
/*** REGULAR ***/
@font-face {
font-family: 'caviar';
src: url('https://cdn.eadplataforma.app/assets/fonts/CaviarDreams/CaviarDreams-Regular.ttf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'caviar';
src: url('https://cdn.eadplataforma.app/assets/fonts/CaviarDreams/CaviarDreams-Bold.ttf');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'caviar';
src: url('https://cdn.eadplataforma.app/assets/fonts/CaviarDreams/CaviarDreams-Italic.ttf');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'caviar';
src: url('https://cdn.eadplataforma.app/assets/fonts/CaviarDreams/CaviarDreams-BoldItalic.ttf');
font-weight: 700;
font-style: italic;
}
/*** BOLD ***/
@font-face {
font-family: 'caviar_bold';
src: url('https://cdn.eadplataforma.app/assets/fonts/CaviarDreams/CaviarDreams-Bold.ttf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'caviar_bold';
src: url('https://cdn.eadplataforma.app/assets/fonts/CaviarDreams/CaviarDreams-Bold.ttf');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'caviar_bold';
src: url('https://cdn.eadplataforma.app/assets/fonts/CaviarDreams/CaviarDreams-BoldItalic.ttf');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'caviar_bold';
src: url('https://cdn.eadplataforma.app/assets/fonts/CaviarDreams/CaviarDreams-BoldItalic.ttf');
font-weight: 700;
font-style: italic;
}
/******************** CAVIAR DREAMS ********************/
/******************** SKRANJI ********************/
@font-face {
font-family: 'Skranji';
src: url('https://cdn.eadplataforma.app/assets/fonts/Skranji/Skranji-Regular.ttf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Skranji';
src: url('https://cdn.eadplataforma.app/assets/fonts/Skranji/Skranji-Bold.ttf');
font-weight: 700;
font-style: normal;
}
/******************** SKRANJI ********************/
/******************** DANCING SCRIPT ********************/
@font-face {
font-family: 'dancingScript';
src: url('https://cdn.eadplataforma.app/assets/fonts/DancingScript/DancingScript-Regular.ttf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'dancingScript';
src: url('https://cdn.eadplataforma.app/assets/fonts/DancingScript/DancingScript-Bold.ttf');
font-weight: 700;
font-style: normal;
}
/******************** DANCING SCRIPT ********************/
/******************** OLD SCRIPT ********************/
@font-face {
font-family: 'Old Script';
src: url('https://cdn.eadplataforma.app/assets/fonts/OldScript/OldScript-Regular.ttf');
font-weight: 400;
font-style: normal;
}
/******************** OLD SCRIPT ********************/
</style>
<style type="text/css">
body, html, .certificate{
padding:0;
margin: 0;
}
.certificate{
background-color: {{ frontColor }}
}
.first-page {
margin: 0in;
height: 813px !important;
width: 1140px;
position: absolute;
}
</style>
</head>
<body>
<div class="certificate first-page">
{% if frontImage %}
<img src="{{ frontImage }}" style="width: 1140px !important;height: 813px !important;">
{% endif %}
{% for obj in frontObjects %}
{% if obj.type == 'textbox' %}
<p style="
transform: scale({{ obj.flipX }}, {{ obj.flipY }});
position: absolute;
top: {{ obj.top }}px !important;
left: {{ obj.left }}px !important;
width: {{ obj.width }}px;
height: {{ obj.height }}px;
margin: 0;
padding: 0;
color: {{ obj.fill }};
font-style: {{ obj.fontStyle }};
font-weight: {{ obj.fontWeight }};
font-family: {{ obj.fontFamily }};
font-size: {{ obj.fontSize }}px;
text-align: {{ obj.textAlign }};
line-height: 0.8;">
{{ obj.text|raw }}
</p>
{% elseif obj.type == 'image' %}
<img src="{{ obj.src }}"
style="
transform: scale({{ obj.flipX }}, {{ obj.flipY }});
position: absolute;
top: {{ obj.top }}px !important;
left: {{ obj.left }}px !important;
width: {{ obj.width }}px !important;
height: {{ obj.height }}px !important;
">
{% endif %}
{% endfor %}
</div>
{% if backImage or backObjects|length > 0 %}
<div style="page-break-after:always;"></div>
<div class="first-page" {% if backColor %} style="background-color: {{ backColor }} !important;" {% endif %}>
{% if backImage %}
<img src="{{ backImage }}" style="width: 1140px !important;height: 813px !important;">
{% endif %}
{% for obj in backObjects %}
{% if obj.type == 'textbox' %}
<p style="
transform: scale({{ obj.flipX }}, {{ obj.flipY }});
position: absolute;
top: {{ obj.top }}px !important;
left: {{ obj.left }}px !important;
width: {{ obj.width }}px;
height: {{ obj.height }}px;
margin: 0;
padding: 0;
color: {{ obj.fill }};
font-style: {{ obj.fontStyle }};
font-weight: {{ obj.fontWeight }};
font-family: {{ obj.fontFamily }};
font-size: {{ obj.fontSize }}px;
text-align: {{ obj.textAlign }};
line-height: 0.8;">
{{ obj.text|raw }}
</p>
{% elseif obj.type == 'image' %}
<img src="{{ obj.src }}"
style="
transform: scale({{ obj.flipX }}, {{ obj.flipY }});
position: absolute;
top: {{ obj.top }}px !important;
left: {{ obj.left }}px !important;
width: {{ obj.width }}px !important;
height: {{ obj.height }}px !important;
">
{% endif %}
{% endfor %}
</div>
{% endif %}
</body>
</html>