Skip to content

Commit

Permalink
Log,NAME lOGO fIX
Browse files Browse the repository at this point in the history
  • Loading branch information
AbubakarBhatti2022 committed Aug 10, 2023
1 parent 834347e commit 21e8309
Show file tree
Hide file tree
Showing 11 changed files with 68 additions and 50 deletions.
Binary file added backend/app/assets/images/bookarley-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,12 @@ body.admin-nav-hidden .admin-nav:not(.fits) {
overflow: hidden;

img {
max-height: 100%;
max-width: 100%;
max-height: 70%;
max-width: 70%;
}
}

.product_varient span {
background: none !important;
color: white !important;
}
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/option_types/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% admin_breadcrumb(link_to plural_resource_name(Spree::Product), spree.admin_products_path) %>
<% admin_breadcrumb(link_to plural_resource_name(Spree::OptionType), spree.admin_option_types_path) %>
<% admin_breadcrumb(link_to 'Product Variants', spree.admin_option_types_path) %>
<% admin_breadcrumb(@option_type.name) %>
<% content_for :page_actions do %>
Expand Down
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/option_types/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% admin_breadcrumb(link_to plural_resource_name(Spree::Product), spree.admin_products_path) %>
<% admin_breadcrumb(plural_resource_name(Spree::OptionType)) %>
<% admin_breadcrumb("Product Variants") %>
<% content_for :page_actions do %>
<% if can?(:create, Spree::OptionType) %>
Expand Down
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/properties/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% admin_breadcrumb(link_to plural_resource_name(Spree::Product), spree.admin_products_path) %>
<% admin_breadcrumb(plural_resource_name(Spree::Property)) %>
<% admin_breadcrumb("Product Fields") %>
<% content_for :page_actions do %>
<% if can?(:create, Spree::Property) %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<header class="admin-nav-header">
<%= link_to spree.admin_path, class: 'brand-link' do %>
<%= image_tag(Spree::Config[:admin_interface_logo]) %>
<%- end %>
<%= link_to spree.admin_path, class: 'brand-link admin_logo' do %>
<%= image_tag('bookarley-logo.png', alt: 'Bookarley-Logo') %>
<% end %>
</header>
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/taxonomies/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% admin_breadcrumb(link_to plural_resource_name(Spree::Product), spree.admin_products_path) %>
<% admin_breadcrumb(link_to plural_resource_name(Spree::Taxonomy), spree.admin_taxonomies_path) %>
<% admin_breadcrumb(link_to "Categories", spree.admin_taxonomies_path) %>
<% admin_breadcrumb(@taxonomy.name) %>
<% content_for :page_actions do %>
Expand Down
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/taxonomies/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% admin_breadcrumb(link_to plural_resource_name(Spree::Product), spree.admin_products_path) %>
<% admin_breadcrumb(plural_resource_name(Spree::Taxonomy)) %>
<% admin_breadcrumb("Categories") %>
<% content_for :page_actions do %>
<% if can?(:create, Spree::Taxonomy) %>
Expand Down
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/taxonomies/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% admin_breadcrumb(link_to plural_resource_name(Spree::Product), spree.admin_products_path) %>
<% admin_breadcrumb(link_to plural_resource_name(Spree::Taxonomy), spree.admin_taxonomies_path) %>
<% admin_breadcrumb(link_to 'Categories', spree.admin_taxonomies_path) %>
<% admin_breadcrumb(t('spree.new_taxonomy')) %>
<% content_for :page_actions do %>
Expand Down
12 changes: 6 additions & 6 deletions backend/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
resources :tax_categories

resources :products do
resources :product_properties do
resources :product_properties, path: "product_fields" do
collection do
post :update_positions
end
Expand Down Expand Up @@ -57,7 +57,7 @@
end
get '/products/:product_slug/stock', to: "stock_items#index", as: :product_stock

resources :option_types do
resources :option_types, path: 'product_variants' do
collection do
post :update_positions
post :update_values_positions
Expand All @@ -66,7 +66,7 @@

delete '/option_values/:id', to: "option_values#destroy", as: :option_value

resources :properties
resources :properties, path: "Product_Fields"

delete '/product_properties/:id', to: "product_properties#destroy", as: :product_property

Expand Down Expand Up @@ -123,16 +123,16 @@

resources :return_items, only: [:update]

resources :taxonomies do
resources :taxonomies, path: "categories" do
collection do
post :update_positions
end
resources :taxons do
resources :taxons, path: "orders" do
resource :attachment, controller: 'taxons/attachment', only: [:destroy]
end
end

resources :taxons, only: [:index, :show] do
resources :taxons, only: [:index, :show], path: "orders" do
collection do
get :search
end
Expand Down
79 changes: 46 additions & 33 deletions backend/solidus_backend.gemspec

Large diffs are not rendered by default.

0 comments on commit 21e8309

Please sign in to comment.