Skip to content

Commit

Permalink
aligned mobile search form for issue #83
Browse files Browse the repository at this point in the history
  • Loading branch information
Marga Keuvelaar authored and rjmackay committed Apr 19, 2012
1 parent f3ac330 commit 4de5f78
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion views/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
html,
body {
font:12px/14px "Trebuchet MS",sans-serif;
font: 12px/14px "Trebuchet MS",sans-serif;
margin:0;
padding:0;
height:100%;
Expand Down Expand Up @@ -153,6 +153,13 @@ div#page{
}
.report_list .filter label{
margin-left: 10px;
display:block;
float:left;
width:80px;
}
.report_list .filter .searchbtn{
margin-left: 90px;
margin-top: 5px;
}

/* Report View Page */
Expand Down
3 changes: 2 additions & 1 deletion views/mobile/reports.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<form action=<?php echo url::site() . '/mobile/reports/search' ?> method="get" accept-charset="utf-8">
<div><label for="town">Your Area</label>
<input type="text" name="town" value="<?php echo isset($_GET['town']) ? $_GET['town'] : ''; ?>"></div>

<div><label for="distance">Distance</label>
<select name="distance" id="distance">
<?php
Expand Down Expand Up @@ -66,7 +67,7 @@
}
?>
</select></div>
<input type="submit" value="Search &rarr;">
<input class="searchbtn" type="submit" value="Search &rarr;">
</form>
<?php } ?>
</div>
Expand Down

0 comments on commit 4de5f78

Please sign in to comment.