WebGitNet
WebGitNet copied to clipboard
Searching from the home page (all repos) should not search in file contents.
We should have a split drop-down button allowing people to check / uncheck search providers.
See Twitter's Button Dropdown for the desired UI. It would be a button with both the rounded search-style and a dropdown list.
It would look something like this:
<form action="" method="get">
<div class="input-append input-prepend">
<span class="add-on"><i class="icon-search"></i></span>
<input name="q" type="text">
<div class="btn-group">
<button class="btn">Search</button>
<button class="btn dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a><label class="checkbox"><input checked="checked" name="search" type="checkbox" value="repoinfo" /> Search in Repo Descriptions</label></a></li>
<li><a><label class="checkbox"><input checked="checked" type="checkbox" name="search" value="filenames" /> Search in File Names</label></a></li>
<li><a><label class="checkbox"><input name="search" type="checkbox" value="files" /> Search in File Contents</label></a></li>
</ul>
</div>
</div>
</form>