Skip to content

Commit ec8a75d

Browse files
committed
Revised search templates, now extending the base template.
- Legacy-Id: 578
1 parent 6dbe4ed commit ec8a75d

2 files changed

Lines changed: 21 additions & 17 deletions

File tree

ietf/templates/ipr/search_doc_result.html

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1+
{% extends "ipr/search_result.html" %}
12
{% load ietf_filters %}
2-
<html>
3-
<head><title>IPR Search Engine </title></head>
4-
<body>
5-
6-
<center>
7-
<h2>IPR Disclosures</h2></center>
8-
<hr width="100%">
9-
<blockquote>
3+
{% block search_result %}
104
<table cellpadding="1" cellspacing="0" border="0">
115

126

@@ -47,12 +41,4 @@ <h2>IPR Disclosures</h2></center>
4741
{% endfor %}
4842

4943
</table>
50-
51-
<hr><br>
52-
53-
<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>
54-
<a href="{% url ietf.ipr.views.list %}"><img src="http://www.ietf.org/images/blue.gif" hspace="3" border="0">IPR Disclosure Page</a>
55-
<br>
56-
57-
58-
</body></html>
44+
{% endblock %}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{% extends "base.html"}
2+
{% block doctype %}{% endblock %}
3+
{% block content %}
4+
<center>
5+
<h2>IPR Disclosures</h2>
6+
</center>
7+
<hr>
8+
<blockquote>
9+
{% block search_result %}
10+
{% endblock %}
11+
<hr><br>
12+
13+
<a href="{% url ietf.ipr.search.search %}"><img src="http://www.ietf.org/images/blue.gif" hspace="3" border="0">IPR Search Main Page</a><br>
14+
<a href="{% url ietf.ipr.views.showlist %}"><img src="http://www.ietf.org/images/blue.gif" hspace="3" border="0">IPR Disclosure Page</a>
15+
<br>
16+
</blockquote>
17+
{% endblock %}
18+

0 commit comments

Comments
 (0)