130 lines
6.7 KiB
HTML
130 lines
6.7 KiB
HTML
{# Copyright The IETF Trust 2015-2021, All Rights Reserved #}
|
|
|
|
<!doctype html>
|
|
|
|
{% load ietf_filters static %}
|
|
{% load origin %}{% origin %}
|
|
{% load django_bootstrap5 %}
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
<title>{% block title %}No title{% endblock title %}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
|
|
{% comment Halloween %}
|
|
<link href='https://fonts.googleapis.com/css?family=IM+Fell+English+SC|IM+Fell+DW+Pica:400,400italic|Nova+Mono|IM+Fell+English:400,400italic&subset=latin-ext,latin' rel='stylesheet' type='text/css'/>
|
|
{% endcomment %}
|
|
|
|
<link rel="stylesheet" href="{% static 'ietf/css/ietf.css' %}"/>
|
|
<style>
|
|
{% block morecss %}{% endblock morecss %}
|
|
.leftmenu { width: 13em; }
|
|
</style>
|
|
|
|
{% block pagehead %}{% endblock pagehead %}
|
|
|
|
{% if server_mode and server_mode == "production" %}
|
|
<link rel="shortcut icon" href="{% static 'ietf/images/ietf-icon-blue3.png' %}"/>
|
|
{% else %}
|
|
<link rel="shortcut icon" href="{% static 'ietf/images/ietf-icon-red3.png' %}"/>
|
|
{% endif %}
|
|
<link rel="apple-touch-icon" href="{% static 'ietf/images/apple-touch-icon.png' %}"/>
|
|
<script src="{% static 'ietf/js/ietf.js' %}"></script>
|
|
</head>
|
|
|
|
<body {% block bodyAttrs %}{% endblock bodyAttrs %} data-group-menu-data-url="{% url 'ietf.group.views.group_menu_data' %}">
|
|
<nav class="navbar navbar-expand-lg {% if server_mode and server_mode != " production" %}navbar-light bg-warning{% else %}navbar-dark bg-secondary{% endif %} {% if navbar_mode %}{{ navbar_mode }}{% else %}fixed-top{% endif %}">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand" href="/">
|
|
<img alt="IETF Logo" src="{% static 'ietf/images/ietflogo-small-transparent.png' %}"/>
|
|
Datatracker
|
|
{% if server_mode and server_mode != "production" %}
|
|
Dev Mode
|
|
{% endif %}
|
|
</a>
|
|
<div class="collapse navbar-collapse" id="navbar-collapse">
|
|
<ul class="nav navbar-nav">
|
|
{% include "base/menu.html" with flavor="top" %}
|
|
</ul>
|
|
</div>
|
|
{% if not user.is_authenticated %}
|
|
<a class="d-none d-sm-block mx-5 btn {% if server_mode and server_mode == " production" %}btn-warning{% else %}btn-info{% endif %}" rel="nofollow" href="/accounts/login/?next={{ request.get_full_path|urlencode }}">Sign
|
|
in</a>
|
|
{% endif %}
|
|
<form class="d-flex d-none d-lg-block" action="/doc/search/">
|
|
<input class="form-control" type="text" name="name" placeholder="Document search" required/>
|
|
<input type="hidden" name="activedrafts" value="on"/>
|
|
<input type="hidden" name="rfcs" value="on"/>
|
|
</form>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-collapse" aria-controls="navbar-collapse" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="pt-3 container-fluid">
|
|
<div class="row">
|
|
{% if request.COOKIES.left_menu == "on" and not hide_menu %}
|
|
<div class="col-1 d-none d-md-block border-end lh-sm leftmenu small">
|
|
<ul class="nav nav-pills flex-column">
|
|
{% include "base/menu.html" with flavor="left" %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
<div class="col mx-3" id="content">
|
|
{% comment %} {% bootstrap_messages %} {% endcomment %}
|
|
{% for message in messages %}
|
|
<div class="alert{% if message.level_tag %} alert-{% if message.level_tag == 'error' %}danger{% else %}{{ message.level_tag }}{% endif %}{% endif %}{% if message.extra_tags %} {{ message.extra_tags }}{% endif %} alert-dismissable fade show">
|
|
<button type="button" class="btn-close float-end" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
{% block content %}{{ content|safe }}{% endblock content %}
|
|
{% block content_end %}{% endblock content_end %}
|
|
</div>
|
|
</div>
|
|
<hr/>
|
|
{% block footer %}
|
|
<footer class="col-md-12 col-sm-12 text-center">
|
|
<a href="https://www.ietf.org/" class="p-3">IETF</a>
|
|
<a href="https://www.ietf.org/iesg/" class="p-3">IESG</a>
|
|
<a href="https://www.iab.org/" class="p-3">IAB</a>
|
|
<a href="https://www.irtf.org/" class="p-3">IRTF</a>
|
|
<a href="https://www.ietf.org/llc/" class="p-3">IETF LLC</a>
|
|
<a href="https://trustee.ietf.org/" class="p-3">IETF Trust</a>
|
|
<a href="https://www.rfc-editor.org/" class="p-3">RFC Editor</a>
|
|
<a href="https://www.iana.org/" class="p-3">IANA</a>
|
|
<a href="https://www.ietf.org/privacy-statement/" class="p-3">Privacy Statement</a>
|
|
|
|
<p class="small text-muted p-3">
|
|
{% if version_num %}
|
|
<a href="/release/about">About</a>
|
|
IETF Datatracker
|
|
<a href="/release/{{ version_num }}/">Version {{ version_num }}</a>
|
|
{{ revision_date }}
|
|
{% endif %}
|
|
|
|
Report a bug:
|
|
<a href="https://trac.ietf.org/trac/ietfdb/newticket">Tracker <span class="bi bi-bug"></span></a>
|
|
{% if bugreport_email %}
|
|
<a href="mailto:{{ bugreport_email }}">Email <span class="bi bi-envelope"></span></a>
|
|
{% endif %}
|
|
<br/>
|
|
{% if python_version %}Python {{ python_version }}{% endif %}
|
|
{% if django_version %}Django {{ django_version }}{% endif %}
|
|
</p>
|
|
</footer>
|
|
{% endblock footer %}
|
|
</div>
|
|
|
|
{% include "debug.html" %}
|
|
|
|
{% block js %}{% endblock js %}
|
|
{% if debug %}
|
|
<script src="{% static 'ietf/js/datatables.js' %}"></script>
|
|
{% endif %}
|
|
</body>
|
|
|
|
</html> |