93 lines
4 KiB
HTML
93 lines
4 KiB
HTML
{% comment %}
|
|
Copyright (C) 2009 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 %}
|
|
|
|
<form id="search_form" class="search_form" action="{% url "doc_search" %}" method="get">
|
|
|
|
<div class="search_field">
|
|
<label>Name/number/title:</label> {{ form.name }}
|
|
</div>
|
|
|
|
<div class="search_field">
|
|
<label>Types:</label>
|
|
<table id="search_types">
|
|
<tr><td><label>{{ form.rfcs }} RFCs</label></td></tr>
|
|
<tr><td><label>{{ form.activedrafts }} Internet-Drafts (active)</label></td></tr>
|
|
<tr><td><label>{{ form.olddrafts }} Internet-Drafts (expired/replaced/withdrawn)</label></td></tr>
|
|
</table>
|
|
</div>
|
|
|
|
{{ form.sort }} {# hidden field #}
|
|
|
|
<b class="toggle_advanced"><img src="/images/{% if meta.advanced %}minus{% else %}plus{% endif %}.png" alt="" /> Advanced</b>
|
|
|
|
<div id="search_advanced" style="{% if not meta.advanced %}display:none;{%endif%}">
|
|
|
|
<div class="search_field">
|
|
<label>Additional Document Types:</label>
|
|
<table id="search_types">
|
|
{% for doc_type in form.doctypes %}
|
|
<tr><td><label><input type="checkbox" advdoctype="true" {% if doc_type.slug in meta.checked %}checked="checked"{% endif %}name="include-{{doc_type.slug}}"/>{{doc_type}}</label></td></tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
|
|
Additional search criteria:
|
|
|
|
<div class="search_field">
|
|
<label><input type="radio" class="radio" name="by" value="author" {% if meta.by == "author" %}checked="checked"{% endif %}/> Author:</label> {{ form.author }}
|
|
</div>
|
|
<div class="search_field">
|
|
<label><input type="radio" class="radio" name="by" value="group" {% if meta.by == "group" %}checked="checked"{% endif %}/> WG:</label> {{ form.group }}
|
|
</div>
|
|
<div class="search_field">
|
|
<label><input type="radio" class="radio" name="by" value="area" {% if meta.by == "area" %}checked="checked"{% endif %}/> Area:</label> {{ form.area }}
|
|
</div>
|
|
<div class="search_field">
|
|
<label><input type="radio" class="radio" name="by" value="ad" {% if meta.by == "ad" %}checked="checked"{% endif %}/> Responsible AD:</label> {{ form.ad }}
|
|
</div>
|
|
<div class="search_field">
|
|
<label><input type="radio" class="radio" name="by" value="state" {% if meta.by == "state" %}checked="checked"{% endif %}/> IESG State:</label> {{ form.state }} :: {{ form.substate }}
|
|
</div>
|
|
<div class="search_field">
|
|
<label><input type="radio" class="radio" name="by" value="stream" {% if meta.by == "stream" %}checked="checked"{% endif %}/> Stream:</label> {{ form.stream }}
|
|
</div>
|
|
|
|
</div><!-- end of advanced -->
|
|
|
|
<div class="submit">
|
|
<input type="submit" class="button" value="Search"/>
|
|
</div>
|
|
|
|
</form>
|