Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/layout.html
{% comment %} | {% comment %} | ||||
Copyright (C) 2015-2021 The Software Heritage developers | Copyright (C) 2015-2022 The Software Heritage developers | ||||
See the AUTHORS file at the top-level directory of this distribution | See the AUTHORS file at the top-level directory of this distribution | ||||
License: GNU Affero General Public License version 3, or any later version | License: GNU Affero General Public License version 3, or any later version | ||||
See top-level LICENSE file for more information | See top-level LICENSE file for more information | ||||
{% endcomment %} | {% endcomment %} | ||||
<!DOCTYPE html> | <!DOCTYPE html> | ||||
{% load js_reverse %} | {% load js_reverse %} | ||||
Show All 11 Lines | <head> | ||||
{% render_bundle 'vendors' %} | {% render_bundle 'vendors' %} | ||||
{% render_bundle 'webapp' %} | {% render_bundle 'webapp' %} | ||||
{% render_bundle 'guided_tour' %} | {% render_bundle 'guided_tour' %} | ||||
<script> | <script> | ||||
/* | /* | ||||
@licstart The following is the entire license notice for the JavaScript code in this page. | @licstart The following is the entire license notice for the JavaScript code in this page. | ||||
Copyright (C) 2015-2021 The Software Heritage developers | Copyright (C) 2015-2022 The Software Heritage developers | ||||
This program is free software: you can redistribute it and/or modify | This program is free software: you can redistribute it and/or modify | ||||
it under the terms of the GNU Affero General Public License as | it under the terms of the GNU Affero General Public License as | ||||
published by the Free Software Foundation, either version 3 of the | published by the Free Software Foundation, either version 3 of the | ||||
License, or (at your option) any later version. | License, or (at your option) any later version. | ||||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | ||||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
Show All 15 Lines | */ | ||||
<script src="{% url 'js_reverse' %}" type="text/javascript"></script> | <script src="{% url 'js_reverse' %}" type="text/javascript"></script> | ||||
<script> | <script> | ||||
swh.webapp.setSwhObjectIcons({{ swh_object_icons|jsonify }}); | swh.webapp.setSwhObjectIcons({{ swh_object_icons|jsonify }}); | ||||
</script> | </script> | ||||
{{ request.user.is_authenticated|json_script:"swh_user_logged_in" }} | {{ request.user.is_authenticated|json_script:"swh_user_logged_in" }} | ||||
{% block header %}{% endblock %} | {% include "includes/favicon.html" %} | ||||
<link rel="icon" href="{% static 'img/icons/swh-logo-32x32.png' %}" sizes="32x32" /> | {% block header %}{% endblock %} | ||||
<link rel="icon" href="{% static 'img/icons/swh-logo-archive-192x192.png' %}" sizes="192x192" /> | |||||
<link rel="apple-touch-icon-precomposed" href="{% static 'img/icons/swh-logo-archive-180x180.png' %}" /> | |||||
<link rel="search" type="application/opensearchdescription+xml" title="Software Heritage archive of public source code" href="{% static 'xml/swh-opensearch.xml' %}"> | |||||
<meta name="msapplication-TileImage" content="{% static 'img/icons/swh-logo-archive-270x270.png' %}" /> | |||||
{% if not swh_web_dev and not swh_web_staging %} | {% if not swh_web_dev and not swh_web_staging %} | ||||
<!-- Matomo --> | <!-- Matomo --> | ||||
<script type="text/javascript"> | <script type="text/javascript"> | ||||
var _paq = window._paq = window._paq || []; | var _paq = window._paq = window._paq || []; | ||||
_paq.push(['trackPageView']); | _paq.push(['trackPageView']); | ||||
(function() { | (function() { | ||||
▲ Show 20 Lines • Show All 239 Lines • Show Last 20 Lines |