Two new templates for the IPR search function
- Legacy-Id: 391
This commit is contained in:
parent
56b33c8dec
commit
a8ee5fdbf6
16
ietf/templates/ipr/search_list.html
Normal file
16
ietf/templates/ipr/search_list.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<html>
|
||||||
|
<head><title>IPR Search Engine </title></head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<center>
|
||||||
|
<h2>IPR Disclosures</h2></center>
|
||||||
|
<hr width="100%">
|
||||||
|
<blockquote>
|
||||||
|
|
||||||
|
<h3>Please select one of following I-Ds</h3>
|
||||||
|
<ul>
|
||||||
|
{% for doc in docs %}
|
||||||
|
<li> <a href="?option=document_search&id_document_tag={{ doc.id_document_tag }}">{{ doc.filename }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</body>
|
58
ietf/templates/ipr/search_result.html
Normal file
58
ietf/templates/ipr/search_result.html
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
{% load ietf_filters %}
|
||||||
|
<html>
|
||||||
|
<head><title>IPR Search Engine </title></head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<center>
|
||||||
|
<h2>IPR Disclosures</h2></center>
|
||||||
|
<hr width="100%">
|
||||||
|
<blockquote>
|
||||||
|
<table cellpadding="1" cellspacing="0" border="0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<tr><td colspan="3">Total number of IPR disclosures found: {{ iprs|length }} </td></tr>
|
||||||
|
{% for ipr in iprs|dictsort:"submitted_date" %}
|
||||||
|
<tr valign="top" bgcolor="#dadada">
|
||||||
|
<td width="100">{{ ipr.submitted_date }}</td>
|
||||||
|
<td width="90"><li>ID # {{ ipr.ipr_id }}</li></td>
|
||||||
|
<td><a href="{% url ietf.ipr.views.show ipr_id=ipr.ipr_id %}">"{{ ipr.document_title }}"</a></td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
<tr><td colspan="3"><hr>Total number of documents searched: {{ docs|length}}</td></tr>
|
||||||
|
{% for doc in docs %}
|
||||||
|
<tbody bgcolor="#{% cycle dadada,eaeaea as bgcolor %}">
|
||||||
|
<tr >
|
||||||
|
<td colspan="3">
|
||||||
|
Search result on {{ doc }}, "{{ doc.title }}"{% ifnotequal doc first %}{% if doc.related %}, {{ doc.relation }} {{ doc.related }}, "{{ doc.related.title }}"{% endif %}
|
||||||
|
{% endifnotequal %}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{% if doc.iprs %}
|
||||||
|
{% for ipr in doc.iprs %}
|
||||||
|
<tr valign="top">
|
||||||
|
<td width="100">{{ ipr.submitted_date }}</td>
|
||||||
|
<td width="90"><li>ID # {{ ipr.ipr_id }}</li></td>
|
||||||
|
<td><a href="{% url ietf.ipr.views.show %}{{ ipr.ipr_id }}">"{{ ipr.document_title }}"</a></td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td colspan="2"><b>No IPR disclosures related to <i>{{ doc|rfcspace }}</i> have been submitted</b></td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
|
</tbody>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<hr><br>
|
||||||
|
|
||||||
|
<a href="{% url ietf.ipr.views.search %}"><img src="http://www.ietf.org/images/blue.gif" hspace="3" border="0">IPR Search Main Page</a><br>
|
||||||
|
<a href="{% url ietf.ipr.views.list %}"><img src="http://www.ietf.org/images/blue.gif" hspace="3" border="0">IPR Disclosure Page</a>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
|
||||||
|
</body></html>
|
Loading…
Reference in a new issue