Sindbad~EG File Manager
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Badge Print</title>
<style>
{% if fonts_data: %}
{% for r in fonts_data: %}
{% if r %}
@font-face {
font-family: '{{ r.font_name }}-{{ r.font_type}}';
{% if Helper.is_offline|int == 0 %}
src: url('{{ r.file_name }}/{{ r.file_path }}') format('truetype');
{% else %}
src: url('data:font/opentype;charset=utf-8;base64, {{ r.font_base64 }}') format('truetype');
{% endif %}
}
{% endif %}
{% endfor %}
{% endif %}
/* Ensure the badge container fits within the specified dimensions */
body {
/* font-family: 'Handjet-Bold';*/
margin: 0px;
padding: 0px;
/*width: {{ BadgeWithdpx }};*/
/*height: {{ Badgeheightpx }};*/
/*box-sizing: border-box;*/
}
{% if (btd.horizontal_view or 0)|int == 1 %}
.main-page{
/*background-color: red;*/
page-break-after:always;
display: -webkit-box-flex;
display: -webkit-box;
margin : 0px auto;
/*flex-direction: row;*/
/*justify-content: space-between;*/
/*display: -webkit-flex;*/
/*-webkit-flex-direction: row;*/
/*-webkit-justify-content: space-between;*/
width: {{ hor_width }};
/*height:1130px !important; */
height: {{ btd.badge_height }}{{btd.length_scale}};
}
.page{
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
/*background-color: red;*/
}
{% else %}
.page{
page-break-after:always;
margin : 0px auto;
}
{% endif %}
.print_left_div
{
font-size: 1.5em;
}
.badge_box
{
/*display: none;*/
}
</style>
</head>
<body style="background-color: transparent;">
{{ preview_html |safe }}
</body>
</html>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists