Skip to content
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.

Commit

Permalink
Add search box to the form on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Edmund von der Burg committed Jun 30, 2011
1 parent 1aff981 commit 3b1b24d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions pylib/pyc/templates/core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ <h1>Make or Sign a Petition to Your Local Council</h1>

<form id="homepage_search" action="{% url core.views.search %}">
<label for="search_query">Postcode or council name</label><br>
<input id="search_query" type="text" name="q" value="" size="14"/>
<input id="search_query" type="text" name="q" value="" size="14"/><br>
<input type="submit" value="Search" />
</form>

<br><br>
<br>

<p>This site has been built to make it really easy to petition your local council using their official online petitions system (if they have one). You can also use this site to browse local petitions around Britain.</p>

Expand Down
3 changes: 2 additions & 1 deletion web/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ p {

#homepage_search input {
font-size: 150%;
text-align: center; }
text-align: center;
margin: 0.25em; }

ul.recent_petitions {
font-size: 80%;
Expand Down
1 change: 1 addition & 0 deletions web/static/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ $top_bar_height: 30px;
input {
font-size: 150%;
text-align: center;
margin: 0.25em;
}
}

Expand Down

0 comments on commit 3b1b24d

Please sign in to comment.