mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-23 11:47:48 +01:00
Replace bootstrap3-datetimepicker with a BS4 equivalent
This commit is contained in:
parent
1cc49cf03c
commit
501a2cce42
4 changed files with 15 additions and 6 deletions
3
Gemfile
3
Gemfile
|
@ -34,7 +34,8 @@ gem 'fog-core'
|
||||||
gem 'fog-aws'
|
gem 'fog-aws'
|
||||||
gem 'fog-local'
|
gem 'fog-local'
|
||||||
gem 'momentjs-rails', '>= 2.9.0'
|
gem 'momentjs-rails', '>= 2.9.0'
|
||||||
gem 'bootstrap3-datetimepicker-rails', '~> 4.7.14'
|
gem 'moment-timezone-rails', '~> 1.0'
|
||||||
|
gem 'bootstrap4-datetime-picker-rails'
|
||||||
gem 'tiny-color-rails'
|
gem 'tiny-color-rails'
|
||||||
gem 'jquery-minicolors-rails'
|
gem 'jquery-minicolors-rails'
|
||||||
gem 'colorize'
|
gem 'colorize'
|
||||||
|
|
11
Gemfile.lock
11
Gemfile.lock
|
@ -80,8 +80,10 @@ GEM
|
||||||
autoprefixer-rails (>= 9.1.0)
|
autoprefixer-rails (>= 9.1.0)
|
||||||
popper_js (>= 1.14.3, < 2)
|
popper_js (>= 1.14.3, < 2)
|
||||||
sassc-rails (>= 2.0.0)
|
sassc-rails (>= 2.0.0)
|
||||||
bootstrap3-datetimepicker-rails (4.7.14)
|
bootstrap4-datetime-picker-rails (0.3.1)
|
||||||
momentjs-rails (>= 2.8.1)
|
jquery-rails (~> 4.2, >= 4.2.0)
|
||||||
|
moment-timezone-rails (~> 1.0)
|
||||||
|
momentjs-rails (>= 2.10.5, <= 3.0.0)
|
||||||
bootstrap_form (4.4.0)
|
bootstrap_form (4.4.0)
|
||||||
actionpack (>= 5.0)
|
actionpack (>= 5.0)
|
||||||
activemodel (>= 5.0)
|
activemodel (>= 5.0)
|
||||||
|
@ -268,6 +270,8 @@ GEM
|
||||||
mini_mime (1.0.2)
|
mini_mime (1.0.2)
|
||||||
mini_portile2 (2.4.0)
|
mini_portile2 (2.4.0)
|
||||||
minitest (5.14.0)
|
minitest (5.14.0)
|
||||||
|
moment-timezone-rails (1.0.0)
|
||||||
|
momentjs-rails (>= 2.10.5, <= 3.0.0)
|
||||||
momentjs-rails (2.20.1)
|
momentjs-rails (2.20.1)
|
||||||
railties (>= 3.1)
|
railties (>= 3.1)
|
||||||
multi_json (1.14.1)
|
multi_json (1.14.1)
|
||||||
|
@ -512,7 +516,7 @@ DEPENDENCIES
|
||||||
bcrypt (~> 3.1.7)
|
bcrypt (~> 3.1.7)
|
||||||
better_errors
|
better_errors
|
||||||
bootstrap (~> 4.4, >= 4.4.1)
|
bootstrap (~> 4.4, >= 4.4.1)
|
||||||
bootstrap3-datetimepicker-rails (~> 4.7.14)
|
bootstrap4-datetime-picker-rails
|
||||||
bootstrap_form
|
bootstrap_form
|
||||||
brakeman
|
brakeman
|
||||||
byebug
|
byebug
|
||||||
|
@ -542,6 +546,7 @@ DEPENDENCIES
|
||||||
jquery-rails
|
jquery-rails
|
||||||
jquery-turbolinks
|
jquery-turbolinks
|
||||||
letter_opener
|
letter_opener
|
||||||
|
moment-timezone-rails (~> 1.0)
|
||||||
momentjs-rails (>= 2.9.0)
|
momentjs-rails (>= 2.9.0)
|
||||||
newrelic_rpm
|
newrelic_rpm
|
||||||
nprogress-rails
|
nprogress-rails
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#= require moment
|
#= require moment
|
||||||
#= require bootstrap-datetimepicker
|
#= require tempusdominus-bootstrap-4
|
||||||
#= require_tree ./moderation
|
#= require_tree ./moderation
|
||||||
|
|
||||||
|
$('.datetimepicker-input').datetimepicker();
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
@import
|
@import
|
||||||
"bootstrap",
|
"bootstrap",
|
||||||
"bootstrap-datetimepicker",
|
"tempusdominus-bootstrap-4",
|
||||||
"font-awesome",
|
"font-awesome",
|
||||||
"nprogress",
|
"nprogress",
|
||||||
"nprogress-bootstrap";
|
"nprogress-bootstrap";
|
||||||
|
@ -76,6 +76,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import
|
@import
|
||||||
|
"components/announcements",
|
||||||
"components/answerbox",
|
"components/answerbox",
|
||||||
"components/avatars",
|
"components/avatars",
|
||||||
"components/buttons",
|
"components/buttons",
|
||||||
|
|
Loading…
Reference in a new issue