adds big ass search bar

rtd2
Bobby Grace 2010-08-15 00:01:24 -05:00
parent c765b1e78d
commit a74c25b01b
4 changed files with 33 additions and 3 deletions

View File

@ -65,6 +65,17 @@ label { display: block; margin-bottom: 4px; font-weight: bold; }
#content { padding-top: 80px; }
/* wide search bar */
.wide-search-bar { width: 100%; margin-bottom: 20px; -moz-border-radius: 5px; -webkit-border-radius: 5px; background: #e6e6e6; }
.wide-search-bar-wrapper { padding: 8px; }
.wide-search-bar input { margin: 0; height: 25px; padding: 10px; -moz-border-radius: 0; -webkit-border-radius: 0; }
.wide-search-bar .text-input-wrapper { width: 70%; float: left; }
.wide-search-bar input[type="text"] { -moz-border-radius-topleft: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-top-left-radius: 3px; -webkit-border-bottom-left-radius: 3px; width: 100%; }
.wide-search-bar .submit-input-wrapper { width: 30%; float: left; }
.wide-search-bar input[type="submit"] { -moz-border-radius-topright: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-top-right-radius: 3px; -webkit-border-bottom-right-radius: 3px; height: 47px; width: 100%; text-align: center; }
/* module */
.module { background: #E6E6E6; margin-bottom: 20px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }

View File

@ -1,3 +1,4 @@
<!-- BEGIN header-->
<div id="rtfd-header">
@ -7,11 +8,10 @@
</div>
<!-- END header title -->
<!-- BEGIN global search -->
<div class="rtfd-header-search">
<form action="{% url search %}">
<input type="text" name="q" value="{{ term }}" placeholder="Search docs">
<form action="{% url search %}">
<input type="text" name="q" value="{{ term }}" placeholder="Search docs">
<input type="submit" value="Go">
</form>
</div>

View File

@ -0,0 +1,18 @@
<!-- BEGIN wide search bar -->
<div class="wide-search-bar">
<div class="wide-search-bar-wrapper clearfix">
<form action="{% url search %}">
<div class="text-input-wrapper">
<input type="text" name="q" value="{{ term }}" placeholder="Search docs">
</div>
<div class="submit-input-wrapper">
<input type="submit" value="Let's do this.">
</div>
</form>
</div>
</div>
<!-- BEGIN wide search bar -->

View File

@ -7,6 +7,7 @@
{% block content %}
{% include "core/widesearchbar.html" %}
{% autopaginate project_list 15 %}
<!-- BEGIN projects list -->