forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.html
More file actions
173 lines (159 loc) · 7.81 KB
/
base.html
File metadata and controls
173 lines (159 loc) · 7.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html> {% load ietf_filters static %}
{# Copyright The IETF Trust 2015-2021, All Rights Reserved #}
{% load origin %}{% origin %}
{% load bootstrap3 %}
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{% block title %}No title{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="{% static 'ptmono/stylesheet.css' %}" rel='stylesheet' type='text/css'>
<link href="{% static 'ptsans/stylesheet.css' %}" rel='stylesheet' type='text/css'>
<link href="{% static 'ptserif/stylesheet.css' %}" rel='stylesheet' type='text/css'>
{% 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 'font-awesome/css/font-awesome.min.css' %}">
<link rel="stylesheet" href="{% static 'ietf/font-datatracker/css/font-datatracker.css' %}">
<link rel="stylesheet" href="{% static 'ietf/bootstrap/css/bootstrap.min.css' %}">
<link rel="stylesheet" href="{% static 'ietf/bootstrap/css/bootstrap-theme.min.css' %}">
<link rel="stylesheet" href="{% static 'ietf/css/ietf.css' %}">
{% if debug %}
<link rel="stylesheet" href="{% static 'jquery.tablesorter/css/theme.bootstrap.min.css' %}">
{% endif %}
<style>
{% block morecss %}{% endblock %}
</style>
{% block pagehead %}{% endblock %}
{% 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' %}">
</head>
<body {% block bodyAttrs %}{%endblock%} data-group-menu-data-url="{% url 'ietf.group.views.group_menu_data' %}">
<nav class="navbar {% if server_mode and server_mode != "production" %}navbar-default{% else %}navbar-inverse{% endif %} {% if navbar_mode %}{{ navbar_mode }}{% else %}navbar-fixed-top{% endif %}">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<img alt="IETF Logo" src="{% static 'ietf/images/ietflogo-small-transparent.png' %}">
{% if not user.is_authenticated %}
{% if server_mode and server_mode != "production" %}
<b><i><small>Development mode</small></i></b>
{% else %}
Datatracker
{% endif %}
{% endif %}
</a>
</div>
<noscript>
<p class="navbar-text"><small>Enable Javascript for full functionality.</small></p>
</noscript>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="hidden-nojs nav navbar-nav">
{% include "base/menu.html" with flavor="top" %}
</ul>
{% if not user.is_authenticated %}
<p class="navbar-text"></p>
<a class="btn {% if server_mode and server_mode == "production" %}btn-warning{% else %}btn-default{% endif %} btn-sm navbar-btn" rel="nofollow" href="/accounts/login/?next={{request.get_full_path|removesuffix:"accounts/logout/"|urlencode}}">Sign in</a>
{% endif %}
<form class="navbar-form navbar-right hidden-xs" action="/doc/search/">
<div class="form-group">
<input class="form-control input-sm" type="text" name="name" placeholder="Document search" required>
<input type="hidden" name="activedrafts" value="on">
<input type="hidden" name="rfcs" value="on">
</div>
</form>
</div>
</div>
</nav>
<div class="container-fluid-narrow">
{% 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"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>{{ message }}</div>
{% endfor %}
{% if request.COOKIES.left_menu == "on" and not hide_menu %} {# ugly hack for the more or less unported meeting agenda edit pages #}
<div class="row">
<div class="col-md-2 visible-md visible-lg leftmenu">
<ul class="nav nav-pills nav-stacked panel panel-default panel-body">
{% include "base/menu.html" with flavor="left" %}
</ul>
</div>
<div class="col-md-10" id="content">
{% else %}
<div class="col-md-12 col-sm-12" id="content">
{% endif %}
{% block content %}{{ content|safe }}{% endblock %}
{% block content_end %}{% endblock %}
{% if request.COOKIES.left_menu == "on" and not hide_menu %}
</div>
</div>
{% else %}
</div>
{% endif %}
{% block footer %}
<hr>
<div class="col-md-12 col-sm-12">
<div class="text-center padded">
<a href="https://www.rfc-editor.org/" class="padded">RFC Editor</a>
<a href="https://www.ietf.org/llc/" class="padded">IASA & IETF LLC</a>
<a href="https://trustee.ietf.org/" class="padded">IETF Trust</a>
<a href="https://www.irtf.org/" class="padded">IRTF</a>
<a href="https://www.ietf.org/" class="padded">IETF</a>
<a href="https://www.ietf.org/iesg/" class="padded">IESG</a>
<a href="https://www.iab.org/" class="padded">IAB</a>
<a href="https://www.iana.org/" class="padded">IANA</a>
<a href="https://www.ietf.org/privacy-statement/" class="padded">Privacy Statement</a>
</div>
</div>
<footer class="col-md-12 col-sm-12">
<div class="col-md-12">
<div class="text-center">
<p class="small text-muted">
{% 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="fa fa-bug"></span></a>
{% if bugreport_email %}
<a href="mailto:{{ bugreport_email }}">Email:<span class="fa fa-envelope"></span></a>
{% endif %}
<br>
{% if python_version %}Python {{ python_version }}{% endif %} |
{% if django_version %}Django {{ django_version }}{% endif %}
</p>
</div>
</div>
</footer>
{% endblock %}
</div>
{% include "debug.html" %}
<script src="{% static 'jquery/jquery.min.js' %}"></script>
{% comment %}
<!-- Remove the *-nojs attributes if we are running js. This depends on jQuery's removeClass(): -->
<!-- Do this as early as possible (after loading the page and jQuery) to avoid rendering changes -->
{% endcomment %}
<script>$(".visible-nojs").removeClass("visible-nojs");</script>
<script>$(".hidden-nojs").removeClass("hidden-nojs");</script>
<script src="{% static 'js-cookie/src/js.cookie.js' %}"></script>
<script src="{% static 'ietf/bootstrap/js/bootstrap.min.js' %}"></script>
<script src="{% static 'ietf/js/ietf.js' %}"></script>
{% block js %}{% endblock %}
{% if debug %}
<script src="{% static 'jquery.tablesorter/js/jquery.tablesorter.combined.min.js' %}"></script>
{% endif %}
</body>
</html>