Trying to improve design
This commit is contained in:
parent
857a2706b0
commit
d7c7488c86
1 changed files with 26 additions and 19 deletions
|
|
@ -1,24 +1,31 @@
|
||||||
<h1>Search for a package/description:</h1>
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||||
|
foo
|
||||||
<%= form_tag(url_for, method: "get", class: "form-search") do %>
|
</div>
|
||||||
<div class="input-append">
|
|
||||||
<%= text_field_tag :search, params[:search], autofocus: true, placeholder: 'What are you looking for...', class: "search-query" %>
|
|
||||||
<button class="btn" type="submit">Search!</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<label class="checkbox">
|
|
||||||
<%= check_box_tag 'with_screenshots', 'yes', params[:with_screenshots] %>
|
|
||||||
Show only packages with screenshots
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<h1>Search for a package/description:</h1>
|
||||||
|
|
||||||
<h1>Search results</h1>
|
<%= form_tag(url_for, method: "get", class: "form-search") do %>
|
||||||
|
<div class="input-append">
|
||||||
|
<%= text_field_tag :search, params[:search], autofocus: true, placeholder: 'What are you looking for...', class: "search-query" %>
|
||||||
|
<button class="btn" type="submit">Search!</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!--<div class="row-fluid">-->
|
|
||||||
<%= render "packages_search_results", object: @packages %>
|
<label class="checkbox">
|
||||||
<!--</div>-->
|
<%= check_box_tag 'with_screenshots', 'yes', params[:with_screenshots] %>
|
||||||
|
Show only packages with screenshots
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
<div class="btn-toolbar">
|
||||||
|
<div class="btn-group">
|
||||||
|
<a class="btn" href="#"><i class="icon-align-left"></i></a>
|
||||||
|
<a class="btn" href="#"><i class="icon-align-center"></i></a>
|
||||||
|
<a class="btn" href="#"><i class="icon-align-right"></i></a>
|
||||||
|
<a class="btn" href="#"><i class="icon-align-justify"></i></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%= render "packages_search_results", object: @packages %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue