Improvements on the news app. It's not nearly done yet, don't bother playing with it for a while unless you're really curious and want to see ugly, un-refined code :)
This commit is contained in:
parent
9db148f98c
commit
648bee599e
8 changed files with 160 additions and 13 deletions
19
webtemplates/prosimii/news/search_form.html
Normal file
19
webtemplates/prosimii/news/search_form.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block header_ext %}
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{{sidebar}}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1 id="alt-layout">Search News</h1>
|
||||
<p>Enter a search term or phrase to search by. Matches will be made against
|
||||
news titles and their contents.</p>
|
||||
<form method="GET">
|
||||
{{search_form.as_p}}
|
||||
<button type="Submit">Submit</button>
|
||||
</form>
|
||||
{{debug}}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue