32 lines
987 B
HTML
32 lines
987 B
HTML
<%! from django.utils.translation import ugettext as _ %>
|
|
<%! import mako.runtime %>
|
|
<% mako.runtime.UNDEFINED = '' %>
|
|
|
|
<%
|
|
# set doc language direction
|
|
from django.utils.translation import get_language_bidi
|
|
dir_rtl = 'rtl' if get_language_bidi() else 'ltr'
|
|
document_body_class = document_body_class_append if document_body_class_append else ''
|
|
%>
|
|
|
|
<!DOCTYPE html>
|
|
<html class="no-js" lang="en">
|
|
<head dir=-"${dir_rtl}">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>${document_title}</title>
|
|
|
|
<%include file="_assets-primary.html" />
|
|
</head>
|
|
|
|
<body class="view-certificate view-valid-certificate ${dir_rtl} ${document_body_class}" data-view="valid-certificate">
|
|
|
|
<div class="wrapper-view">
|
|
${self.body()}
|
|
</div>
|
|
<%include file="_assets-secondary.html" />
|
|
</body>
|
|
</html>
|