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
163 lines (151 loc) · 7.27 KB
/
base.html
File metadata and controls
163 lines (151 loc) · 7.27 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
<!DOCTYPE html> {% load ietf_filters staticfiles %}
{# Copyright The IETF Trust 2015, 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/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' %}">
<style>
{% block morecss %}{% endblock %}
</style>
<!--[if lt IE 9]>
<script src="{% static 'html5shiv/html5shiv.min.js' %}"></script>
<script src="{% static 'respond/dest/respond.min.js' %}"></script>
<![endif]-->
{% 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 "group_menu_data" %}">
{% with debug_server_mode="production" %}
<nav class="navbar {% if server_mode and server_mode == "production" %}navbar-inverse{% else %}navbar-default{% endif %} navbar-fixed-top">
<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" %}
Datatracker
{% else %}
<b><i>Development mode</i></b>
{% 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>
<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">
<input type="hidden" name="activedrafts" value="on">
<input type="hidden" name="rfcs" value="on">
</div>
</form>
</div>
</div>
</nav>
{% endwith %}
<div class="container-fluid">
{% 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 != "off" 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">
<!--[if lt IE 8]>
<p id="browsehappy" class="collapse alert alert-warning alert-dismissible">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<b>You are using an outdated browser.</b> Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.
</p>
<![endif]-->
{% endif %}
{% block content %}{% endblock %}
{% block content_end %}{% endblock %}
{% if request.COOKIES.left_menu != "off" and not hide_menu %}
</div>
</div>
{% endif %}
<hr>
<div class="col-md-12">
<div class="text-center padded">
<a href="https://www.internetsociety.org/" class="padded">ISOC</a>
<a href="https://trustee.ietf.org/" class="padded">IETF Trust</a>
<a href="https://www.rfc-editor.org/" class="padded">RFC Editor</a>
<a href="https://www.irtf.org/" class="padded">IRTF</a>
<a href="https://www.ietf.org/iesg/" class="padded">IESG</a>
<a href="https://www.ietf.org/" class="padded">IETF</a>
<a href="https://www.iab.org/" class="padded">IAB</a>
<a href="https://iaoc.ietf.org" class="padded">IASA & IAOC</a>
<a href="https://tools.ietf.org/" class="padded">IETF Tools</a>
<a href="https://www.iana.org/" class="padded">IANA</a>
</div>
</div>
<footer class="row">
<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 %}
<a href="https://tools.ietf.org/tools/ietfdb/newticket">Report a bug <span class="fa fa-bug"></span></a>
</p>
</div>
</div>
</footer>
{% include "debug.html" %}
</div>
<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 'jquery.cookie/jquery.cookie.js' %}"></script>
<script src="{% static 'ietf/bootstrap/js/bootstrap.min.js' %}"></script>
<script src="{% static 'ietf/js/ietf.js' %}"></script>
{% block js %}{% endblock %}
</body>
</html>