Skip to content

Commit

Permalink
hide appstore for now
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Apr 3, 2012
1 parent 520edc7 commit 3532768
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion app/views/search/_find_form.rhtml
Expand Up @@ -72,11 +72,13 @@

</script>

<!--
<div class="box box-shadow pkg-header-box pkg-appstore-box">
<h1><%= link_to "openSUSE Factory<br/>" + _("App Browser"), {:controller => :package, :action => :categories}, :id => "apps-headline" %></h1>
</div>
-->

<div class="box box-shadow pkg-search-box pkg-header-box ">
<div class="box box-shadow pkg-search-box pkg-header-box grid_12 alpha">
<% form_tag( {:controller => 'search', :action => :searchresult}, :method => :get ) do %>
<h1><%= link_to _("Package Search"), {:controller => :search, :action => :find}, :id => "apps-headline" %></h1>
<%= text_field_tag 'q', @search_term, :size => 30, :id => "search-form", :autocomplete => "off", :autofocus => true %>
Expand Down
4 changes: 1 addition & 3 deletions app/views/search/_find_results.rhtml
Expand Up @@ -43,11 +43,9 @@
<% package_name = package
package_name = appdata_pkg.first[:name] unless ( appdata_pkg.blank? || appdata_pkg.first[:name].blank? )
banner_path = "apps/#{package.downcase}.jpg"
banner_app = true if FileTest.exists?( Rails.root.join( "public/images/" + banner_path ) )
%>

<div class="search-result-box box-shadow rounded-corner"
<%= "style=\"background: url('/images/#{banner_path}') no-repeat scroll 0 0;\"" if banner_app %> >
<div class="search-result-box box-shadow rounded-corner">

<div class="app-screenshot-search">
<%= link_to( image_tag( screenshot_thumb_url( package ), :height => 75 ), :controller => :package, :action => :show, :package => package ) %>
Expand Down
6 changes: 3 additions & 3 deletions public/stylesheets/software.css
Expand Up @@ -149,10 +149,10 @@ body {
background: linear-gradient(top, #666 0%,#333 100%); /* W3C */
}

.pkg-search-box {
/* .pkg-search-box {
margin-left: 10px;
width: 615px;
}
} */

.pkg-appstore-box {
width: 310px;
Expand Down Expand Up @@ -187,7 +187,7 @@ body {
#search-options {
color: white;
text-align: left;
margin-left: 50px;
margin-left: 200px;
}

#search-options * {
Expand Down

0 comments on commit 3532768

Please sign in to comment.