accomplishment-base.html 1.17 KB
Newer Older
1
<%namespace name='static' file='/static_content.html'/>
2
<%! from django.utils.translation import ugettext as _ %>
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

<%
# set doc language direction
from django.utils.translation import get_language_bidi
dir_rtl = 'rtl' if get_language_bidi() else 'ltr'
course_mode_class = course_mode if course_mode 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>

    <%static:css group='style-certificates'/>
</head>

23
<body class="layout-accomplishment view-valid-accomplishment ${dir_rtl} certificate certificate-${course_mode_class}" data-view="valid-accomplishment">
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38

    <div class="wrapper-view" dir="${dir_rtl}">

        <%include file="_accomplishment-header.html" />

        <hr class="divider sr-only">

        ${self.body()}

        <hr class="divider sr-only">

        <%include file="_accomplishment-footer.html" />
    </div>

    <%include file="_assets-secondary.html" />
39 40 41
    %if badge:
        <%include file="_badges-modal.html" />
    %endif
42 43
</body>
</html>