search.html
This commit is contained in:
parent
623fb97cbb
commit
ac37b0922d
|
@ -650,7 +650,7 @@ box-shadow:2px 3px 16px #252425;}
|
||||||
width:400px; /*SANJ, is it ok to give this width?*/
|
width:400px; /*SANJ, is it ok to give this width?*/
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
font-family:Arial, Helvetica, 'DejaVu Sans', sans-serif;
|
font-family:Arial, Helvetica, 'DejaVu Sans', sans-serif;
|
||||||
font-size:14px;
|
font-size:12px;
|
||||||
color:#666;
|
color:#666;
|
||||||
padding:20px;
|
padding:20px;
|
||||||
}
|
}
|
||||||
|
@ -665,6 +665,18 @@ margin-bottom:12px;
|
||||||
vertical-align:bottom;
|
vertical-align:bottom;
|
||||||
text-align:left;}
|
text-align:left;}
|
||||||
|
|
||||||
|
#searchContent a {
|
||||||
|
color:#FF8400;
|
||||||
|
text-decoration:none;
|
||||||
|
display:block;
|
||||||
|
margin-top:12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#searchContent a:hover, #searchContent a:focus {
|
||||||
|
color:#FF8400;
|
||||||
|
text-decoration:underline;
|
||||||
|
}
|
||||||
|
|
||||||
#id_q {
|
#id_q {
|
||||||
width:150px;
|
width:150px;
|
||||||
height:16px;
|
height:16px;
|
||||||
|
|
|
@ -33,11 +33,9 @@
|
||||||
<h2>YOUR RESULTS:</h2>
|
<h2>YOUR RESULTS:</h2>
|
||||||
|
|
||||||
{% for result in page.object_list %}
|
{% for result in page.object_list %}
|
||||||
<p>
|
<a href="{{ result.object.get_absolute_url }}&search={{ query }}">{{ result.object.title }}</a>
|
||||||
<a href="{{ result.object.get_absolute_url }}&search={{ query }}">{{ result.object.title }}</a> <br />
|
|
||||||
{{ result.text|truncatewords:60|markdown|safe }}
|
{{ result.text|truncatewords:60|markdown|safe }}
|
||||||
|
|
||||||
</p>
|
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<p class="noResults">No results found.</p>
|
<p class="noResults">No results found.</p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user