Skip to content

Commit

Permalink
Merge pull request #402 from coopdevs/remove_jquery_ui
Browse files Browse the repository at this point in the history
Remove jquery-ui
  • Loading branch information
enricostano authored Aug 16, 2018
2 parents 50f930d + 009250e commit 4320971
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 41 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ gem 'rufus-scheduler', '~> 3.4.2'

# Assets
gem 'jquery-rails', '>= 4.2.0'
gem 'jquery-ui-rails'
gem 'bootstrap-sass'
gem 'sass-rails', '~> 5.0.7'
gem 'coffee-rails'
Expand Down
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ GEM
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.3)
railties (>= 3.2.16)
json (2.1.0)
kaminari (1.1.1)
activesupport (>= 4.1.0)
Expand Down Expand Up @@ -423,7 +421,6 @@ DEPENDENCIES
hstore_translate
http_accept_language (~> 2.1.1)
jquery-rails (>= 4.2.0)
jquery-ui-rails
kaminari (~> 1.1.1)
letter_opener (= 1.4.1)
localeapp (= 2.1.1)
Expand Down
2 changes: 0 additions & 2 deletions app/assets/javascripts/application.js.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#= require_self
#= require datepicker
#= require give_time
#= require tags
#= require mobile_app_libs
Expand Down
20 changes: 0 additions & 20 deletions app/assets/javascripts/datepicker.js.coffee

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/javascripts/libs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require jquery.validate
//= require bootstrap
//= require highcharts
Expand Down
9 changes: 0 additions & 9 deletions app/assets/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
*= require_self
*/

@import "variables";
@import "bootstrap-sprockets";
@import "bootstrap-custom";
Expand Down Expand Up @@ -312,11 +308,6 @@ ul.statistics li{
padding-left: 1.5rem;
}

// if not navbar hidden datepicker in small windows
.ui-datepicker{
z-index: 1000 !important;
}

// fields that contain an error
.field_with_errors{
color: red;
Expand Down
1 change: 0 additions & 1 deletion app/assets/stylesheets/libs.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*
*= require jquery-ui
*= require select2
*/
6 changes: 2 additions & 4 deletions app/views/statistics/statistics_global_activity.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@
<form class="form-inline text-right">
<div class="form-group">
<input class="form-control"
id="datepicker_from"
type="date"
name="ini"
placeholder="<%= t '.ini_date' %>"
value="<%= params[:ini] %>">
<input class="form-control"
id="datepicker_to"
type="date"
name="fin"
placeholder="<%= t '.end_date' %>"
value="<%= params[:fin] %>">
<button class="btn btn-default" type="submit">
<%= t '.show' %>
Expand Down

0 comments on commit 4320971

Please sign in to comment.