2018-11-11 12:41:48 +00:00
|
|
|
{% load static %}
|
|
|
|
{% load i18n %}
|
2020-05-15 08:54:31 +00:00
|
|
|
{% load passbook_utils %}
|
2018-11-11 12:41:48 +00:00
|
|
|
|
|
|
|
<!DOCTYPE html>
|
2019-03-10 01:41:31 +00:00
|
|
|
|
2020-02-21 13:20:16 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2020-09-14 15:34:07 +00:00
|
|
|
<link rel="preload" href="{% static 'passbook/fonts/DINEngschriftStd.woff2' %}" as="font" type="font/woff2" crossorigin>
|
|
|
|
<link rel="preload" href="{% static 'passbook/fonts/DINEngschriftStd.woff' %}" as="font" type="font/woff" crossorigin>
|
2020-02-21 13:20:16 +00:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
2020-09-13 15:52:33 +00:00
|
|
|
<title>{% block title %}{% trans title|default:config.passbook.branding.title %}{% endblock %}</title>
|
2020-02-21 13:20:16 +00:00
|
|
|
<link rel="icon" type="image/png" href="{% static 'passbook/logo.png' %}">
|
|
|
|
<link rel="shortcut icon" type="image/png" href="{% static 'passbook/logo.png' %}">
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static 'node_modules/@patternfly/patternfly/patternfly.css' %}">
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static 'node_modules/@patternfly/patternfly/patternfly-addons.css' %}">
|
2020-02-21 17:00:09 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{% static 'node_modules/@fortawesome/fontawesome-free/css/fontawesome.min.css' %}">
|
2020-11-23 15:42:03 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{% static 'src/passbook.css' %}">
|
2020-11-21 17:34:45 +00:00
|
|
|
<script src="{% static 'dist/main.js' %}" type="module"></script>
|
2020-02-21 13:20:16 +00:00
|
|
|
{% block head %}
|
|
|
|
{% endblock %}
|
|
|
|
</head>
|
|
|
|
<body>
|
2020-09-17 14:24:53 +00:00
|
|
|
{% if 'passbook_impersonate_user' in request.session %}
|
2020-07-01 10:01:58 +00:00
|
|
|
<div class="pf-c-banner pf-m-warning pf-c-alert pf-m-sticky">
|
|
|
|
<div class="pf-l-flex pf-m-justify-content-center pf-m-justify-content-space-between-on-lg pf-m-nowrap" style="height: 100%;">
|
|
|
|
<div class=""></div>
|
|
|
|
<div class="pf-u-display-none pf-u-display-block-on-lg">
|
|
|
|
{% blocktrans with user=user %}You're currently impersonating {{ user }}.{% endblocktrans %}
|
2020-09-17 14:24:53 +00:00
|
|
|
<a href="{% url 'passbook_core:impersonate-end' %}?back={{ request.get_full_path }}" id="acceptMessage">{% trans 'Stop impersonation' %}</a>
|
2020-07-01 10:01:58 +00:00
|
|
|
</div>
|
|
|
|
<div class=""></div>
|
|
|
|
</div>
|
2020-02-21 13:20:16 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% block body %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
|
|
{% endblock %}
|
|
|
|
</body>
|
2018-12-09 20:07:18 +00:00
|
|
|
</html>
|