diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index 37c04e6..42cac3a 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -86,8 +86,8 @@ footer ul li { } .avatar{ - height: 190px; - width: 190px; + height: 150px; + width: 150px; } } diff --git a/app/models/user.rb b/app/models/user.rb index b916bbd..d48a642 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -31,7 +31,7 @@ class User < ActiveRecord::Base has_paper_trail only: [:balance, :admin, :orders_count, :koelkast] - has_attached_file :avatar, styles: { large: "190x190>", medium: "100x100>" }, default_style: :medium, default_url: "http://lorempixel.com/70/70/" + has_attached_file :avatar, styles: { large: "150x150>", medium: "100x100>" }, default_style: :medium, default_url: "http://lorempixel.com/70/70/" has_many :orders, -> { includes :products } has_many :products, through: :orders diff --git a/app/views/orders/overview.html.erb b/app/views/orders/overview.html.erb index 95aa1bb..c9239e8 100644 --- a/app/views/orders/overview.html.erb +++ b/app/views/orders/overview.html.erb @@ -1,4 +1,5 @@ <%= render partial: 'flash' %> +<%= text_field_tag :search %>
<% @users.each do |user| %>