127 lines
5.1 KiB
HTML
127 lines
5.1 KiB
HTML
{% extends "base.html" %}
|
|
{% comment %}
|
|
Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
All rights reserved. Contact: Pasi Eronen <pasi.eronen@nokia.com>
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions
|
|
are met:
|
|
|
|
* Redistributions of source code must retain the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
* Redistributions in binary form must reproduce the above
|
|
copyright notice, this list of conditions and the following
|
|
disclaimer in the documentation and/or other materials provided
|
|
with the distribution.
|
|
|
|
* Neither the name of the Nokia Corporation and/or its
|
|
subsidiary(-ies) nor the names of its contributors may be used
|
|
to endorse or promote products derived from this software
|
|
without specific prior written permission.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
{% endcomment %}
|
|
|
|
{% load ietf_filters %}
|
|
{% block morecss %}
|
|
.metabox { width: 99%; margin-top:8px; padding:4px; margin-bottom:1em; }
|
|
#metatable { border: 0; border-spacing: 0; }
|
|
#metatable tr { vertical-align:top ;}
|
|
#metatable .post-rfc { font-style: italic; color: #004000; }
|
|
.comment_toggle { text-decoration: underline; color: blue; }
|
|
.comment_date { white-space: nowrap; }
|
|
|
|
div.diffTool { padding: 8px 4px; margin: 8px 0;}
|
|
.diffTool label { float:left; width:50px; }
|
|
|
|
.markup_draft pre {line-height: 1.2em; margin: 0; }
|
|
.m_hdr, .m_ftr { color: #808080; }
|
|
.m_ftr { border-bottom: 1px solid #a0a0a0; }
|
|
.m_h { font-family: arial; font-weight:bold;}
|
|
|
|
a.editlink {
|
|
background-image: url("/images/pencil.png");
|
|
background-size:10px;
|
|
background-position: right top;
|
|
background-attachment: scroll;
|
|
background-repeat: no-repeat;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
a.editlink:link {text-decoration:none; color:inherit;}
|
|
a.editlink:visited {text-decoration:none; color:inherit;}
|
|
a.editlink:hover {text-decoration:underline;}
|
|
a.editlink:active {text-decoration:underline;}
|
|
|
|
{% endblock %}
|
|
|
|
{% block pagehead %}
|
|
{% if doc.in_ietf_process %}
|
|
<link rel="alternate" type="application/atom+xml" href="/feed/comments/{% if info.is_rfc %}rfc{{doc.rfc_number}}{% else %}{{doc.draft_name}}{% endif %}/" />
|
|
{% endif %}
|
|
<meta name="description" content="{% include "idrfc/doc_description.html" %}" />
|
|
{% comment %}
|
|
## See ticket #545 -- this is commented out because the versions
|
|
## that we currently serve is not sufficiently cachable, so the
|
|
## prefetched version is actually thrown away.
|
|
## Once the content becomes cacheable, these links should
|
|
## be reinserted into the document.
|
|
{% ifequal tab "document" %}
|
|
{% if doc.in_ietf_process and doc.ietf_process.has_iesg_ballot %}
|
|
<link rel="prefetch" href="ballot/" />
|
|
<link rel="prefetch" href="writeup/" />
|
|
{% endif %}
|
|
<link rel="prefetch" href="history/" />
|
|
{% endifequal %}
|
|
{% endcomment %}
|
|
{% endblock %}
|
|
|
|
{% block title %}{% include "idrfc/doc_title.html" %}{% endblock title %}
|
|
|
|
{% block content %}
|
|
<h1>{{ doc.title }}<br/>{% include "idrfc/doc_title.html" %}</h1>
|
|
|
|
<div id="mytabs" class="yui-navset">
|
|
<ul class="yui-nav">
|
|
<li{% ifequal tab "document" %} class="selected"{% endifequal %}><a href="{{ doc.get_absolute_url }}"><em>Document</em></a></li>
|
|
<li{% if doc.in_ietf_process and doc.ietf_process.has_iesg_ballot %}{% ifequal tab "ballot" %} class="selected"{% endifequal %}{%else%} class="disabled"{%endif%}><a href="{{ doc.get_absolute_url }}ballot/"><em>IESG Evaluation Record</em></a></li>
|
|
<li{% if doc.in_ietf_process and doc.ietf_process.has_iesg_ballot %}{% ifequal tab "writeup" %} class="selected"{% endifequal %}{%else%} class="disabled"{%endif%}><a href="{{ doc.get_absolute_url }}writeup/"><em>IESG Writeups</em></a></li>
|
|
<li{% ifequal tab "history" %} class="selected"{% endifequal %}><a href="{{ doc.get_absolute_url }}history/"><em>History</em></a></li>
|
|
</ul>
|
|
<div class="yui-content">
|
|
|
|
{% block tab_content %}{% endblock %}
|
|
|
|
</div> <!-- yui-content -->
|
|
</div> <!-- mytabs -->
|
|
|
|
{% endblock content %}
|
|
|
|
{% block scripts %}
|
|
function toggleComment(n) {
|
|
var el = document.getElementById("commentF"+n);
|
|
var el2 = document.getElementById("commentS"+n);
|
|
var el3 = document.getElementById("commentT"+n);
|
|
if (el.style.display == 'none') {
|
|
el.style.display = 'block';
|
|
el2.style.display = 'none';
|
|
el3.innerHTML = ""; //[hide]";
|
|
} else {
|
|
el.style.display = 'none';
|
|
el2.style.display= 'block';
|
|
el3.innerHTML = "[show all]";
|
|
}
|
|
}
|
|
{% endblock scripts %}
|