publik-base-theme/templates/portal-agent/combo/page_template.html

39 lines
1.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends "gadjo/base.html" %}
{% load combo gadjo static i18n %}
{% block css %}
<link rel="stylesheet" type="text/css" href="{{site_base}}{% static "" %}includes/gadjo-extra.css">
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}portal-agent/css/agent-portal.css"/>
{% if portal_agent_extra_css|first == '/' %}
<link rel="stylesheet" type="text/css" href="{{ portal_url }}{{ portal_agent_extra_css }}">
{% elif portal_agent_extra_css %}
<link rel="stylesheet" type="text/css" href="{{ portal_agent_extra_css }}">
{% endif %}
{% endblock %}
{% block extrascripts %}
<script src="{% static "js/combo.public.js" %}"></script>
<script src="/__services.js"></script>
<script src="{% static "portal-agent/js/agent-portal.js" %}"></script>
<script src="{% static "portal-agent/js/publik.js" %}"></script>
{% endblock %}
{% block page-title %}{% firstof site_title "Publik" %} - {{ page.title }}{% endblock %}
{% block site-title %}{% firstof site_title "Publik" %}{% endblock %}
{% block footer %}Combo — Copyright © Entrouvert{% endblock %}
{% block logout-url %}{{ logout_url }}{% endblock %}
{% block bodyargs %}
data-api-root="{{ site_base }}/api/"
{% if check_badges %}data-check-badges="true"{% endif %}
class="page-{{ page.slug }} page-template-{{ page.template_name }} {% with pages.0.slug as section %}{% if section %}section-{{section}}{% endif %}{% endwith %}"
{% endblock %}
{% block content %}
<div id="portal-agent-content">
{% block combo-content %}
{% trans "Content" as name %}
{% placeholder "content" name=name %}
{% endblock %}
</div>
{% endblock %}