gems: remove smart_listing
It was only used in the old design, which we recently removed completely.
This commit is contained in:
parent
5cbf939911
commit
407f46b7de
5 changed files with 0 additions and 114 deletions
1
Gemfile
1
Gemfile
|
@ -76,7 +76,6 @@ gem 'sentry-rails'
|
|||
gem 'sentry-ruby'
|
||||
gem 'sib-api-v3-sdk'
|
||||
gem 'skylight'
|
||||
gem 'smart_listing'
|
||||
gem 'spreadsheet_architect'
|
||||
gem 'typhoeus'
|
||||
gem 'warden'
|
||||
|
|
13
Gemfile.lock
13
Gemfile.lock
|
@ -171,13 +171,6 @@ GEM
|
|||
coderay (1.1.3)
|
||||
coercible (1.0.0)
|
||||
descendants_tracker (~> 0.0.1)
|
||||
coffee-rails (5.0.0)
|
||||
coffee-script (>= 2.2.0)
|
||||
railties (>= 5.2.0)
|
||||
coffee-script (2.4.1)
|
||||
coffee-script-source
|
||||
execjs
|
||||
coffee-script-source (1.12.2)
|
||||
concurrent-ruby (1.1.9)
|
||||
connection_pool (2.2.3)
|
||||
crack (0.4.5)
|
||||
|
@ -690,11 +683,6 @@ GEM
|
|||
tilt (~> 2.0)
|
||||
skylight (5.0.1)
|
||||
activesupport (>= 5.2.0)
|
||||
smart_listing (1.2.3)
|
||||
coffee-rails
|
||||
jquery-rails
|
||||
kaminari (>= 0.17)
|
||||
rails (>= 3.2)
|
||||
spreadsheet_architect (4.1.0)
|
||||
axlsx_styler (>= 1.0.0, < 2)
|
||||
caxlsx (>= 2.0.2, < 4)
|
||||
|
@ -885,7 +873,6 @@ DEPENDENCIES
|
|||
sib-api-v3-sdk
|
||||
simple_xlsx_reader
|
||||
skylight
|
||||
smart_listing
|
||||
spreadsheet_architect
|
||||
spring
|
||||
spring-commands-rspec
|
||||
|
|
|
@ -1,75 +0,0 @@
|
|||
SmartListing.configure do |config|
|
||||
config.global_options({
|
||||
# :param_names => { # param names
|
||||
# :page => :page,
|
||||
# :per_page => :per_page,
|
||||
# :sort => :sort,
|
||||
# },
|
||||
# :array => false, # controls whether smart list should be using arrays or AR collections
|
||||
# :max_count => nil, # limit number of rows
|
||||
# :unlimited_per_page => false, # allow infinite page size
|
||||
# :paginate => true, # allow pagination
|
||||
# :memorize_per_page => false, # save per page settings in the cookie
|
||||
:page_sizes => [10, 20, 50, 100] # set available page sizes array
|
||||
# :kaminari_options => {:theme => "smart_listing"}, # Kaminari's paginate helper options
|
||||
})
|
||||
|
||||
config.constants :classes, {
|
||||
#:main => "smart-listing",
|
||||
#:editable => "editable",
|
||||
#:content => "content",
|
||||
#:loading => "loading",
|
||||
#:status => "smart-listing-status",
|
||||
#:item_actions => "actions",
|
||||
#:new_item_placeholder => "new-item-placeholder",
|
||||
#:new_item_action => "new-item-action",
|
||||
#:new_item_button => "btn",
|
||||
#:hidden => "hidden",
|
||||
#:autoselect => "autoselect",
|
||||
#:callback => "callback",
|
||||
#:pagination_per_page => "pagination-per-page text-center",
|
||||
#:pagination_count => "count",
|
||||
#:inline_editing => "info",
|
||||
#:no_records => "no-records",
|
||||
#:limit => "smart-listing-limit",
|
||||
#:limit_alert => "smart-listing-limit-alert",
|
||||
#:controls => "smart-listing-controls",
|
||||
#:controls_reset => "reset",
|
||||
#:filtering => "filter",
|
||||
#:filtering_search => "glyphicon-search",
|
||||
#:filtering_cancel => "glyphicon-remove",
|
||||
#:filtering_disabled => "disabled",
|
||||
#:sortable => "sortable",
|
||||
#:icon_new => "glyphicon glyphicon-plus",
|
||||
#:icon_edit => "glyphicon glyphicon-pencil",
|
||||
#:icon_trash => "glyphicon glyphicon-trash",
|
||||
#:icon_inactive => "glyphicon glyphicon-circle",
|
||||
#:icon_show => "glyphicon glyphicon-share-alt",
|
||||
#:icon_sort_none => "glyphicon glyphicon-resize-vertical",
|
||||
#:icon_sort_up => "glyphicon glyphicon-chevron-up",
|
||||
#:icon_sort_down => "glyphicon glyphicon-chevron-down",
|
||||
}
|
||||
|
||||
config.constants :data_attributes, {
|
||||
# :main => "smart-listing",
|
||||
# :confirmation => "confirmation",
|
||||
# :id => "id",
|
||||
# :href => "href",
|
||||
# :callback_href => "callback-href",
|
||||
# :max_count => "max-count",
|
||||
# :inline_edit_backup => "smart-listing-edit-backup",
|
||||
# :params => "params",
|
||||
# :observed => "observed",
|
||||
# :href => "href",
|
||||
# :autoshow => "autoshow",
|
||||
# :popover => "slpopover",
|
||||
}
|
||||
|
||||
config.constants :selectors, {
|
||||
# :item_action_destroy => "a.destroy",
|
||||
# :edit_cancel => "button.cancel",
|
||||
# :row => "tr",
|
||||
# :head => "thead",
|
||||
# :filtering_icon => "i"
|
||||
}
|
||||
end
|
|
@ -1,15 +0,0 @@
|
|||
fr:
|
||||
smart_listing:
|
||||
msgs:
|
||||
destroy_confirmation: Destroy?
|
||||
no_items: No items
|
||||
actions:
|
||||
destroy: Destroy
|
||||
edit: Edit
|
||||
show: Show
|
||||
new: New item
|
||||
views:
|
||||
pagination:
|
||||
per_page: Par page
|
||||
unlimited: Unlimited
|
||||
total: Total
|
|
@ -1,10 +0,0 @@
|
|||
include SmartListing::Helper
|
||||
include SmartListing::Helper::ControllerExtensions
|
||||
|
||||
module SmartListing
|
||||
module Helper
|
||||
def view_context
|
||||
'mock'
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue