diff --git a/Gemfile b/Gemfile index 85b8fc3..0d23045 100644 --- a/Gemfile +++ b/Gemfile @@ -5,10 +5,10 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby '3.4.1' -gem 'blacklight', '~> 7.38' -gem 'blacklight_oai_provider' +gem 'blacklight', '~> 8.12.3' +gem 'blacklight_oai_provider', github: 'projectblacklight/blacklight_oai_provider', ref: '69795b0' gem 'bootsnap', require: false -gem 'bootstrap', '~> 4.0' +gem 'bootstrap', '~> 5.1.3' gem 'bot_challenge_page', '~> 0.3.0' gem 'cancancan' gem 'devise' diff --git a/Gemfile.lock b/Gemfile.lock index da6e8de..b12ecf3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,13 @@ +GIT + remote: https://github.com/projectblacklight/blacklight_oai_provider.git + revision: 69795b06cc37150386b6d9732be027d200412598 + ref: 69795b0 + specs: + blacklight_oai_provider (7.0.2) + blacklight (>= 7.0, < 9) + oai (~> 1.2) + rexml + GEM remote: https://rubygems.org/ specs: @@ -91,26 +101,21 @@ GEM smart_properties bigdecimal (3.3.1) bindex (0.8.1) - blacklight (7.40.0) - deprecation + blacklight (8.12.3) globalid - hashdiff i18n (>= 1.7.0) jbuilder (~> 2.7) kaminari (>= 0.15) ostruct (>= 0.3.2) - rails (>= 6.1, < 7.3) - view_component (>= 2.74, < 4) + rails (>= 6.1, < 9) + view_component (>= 2.74, < 5) zeitwerk - blacklight_oai_provider (7.0.2) - blacklight (~> 7.0) - oai (~> 1.2) - rexml bootsnap (1.18.4) msgpack (~> 1.2) - bootstrap (4.6.2.1) + bootstrap (5.1.3) autoprefixer-rails (>= 9.1.0) - popper_js (>= 1.16.1, < 2) + popper_js (>= 2.9.3, < 3) + sassc-rails (>= 2.0.0) bot_challenge_page (0.3.0) http (~> 5.2) rack-attack (~> 6.7) @@ -137,8 +142,6 @@ GEM rexml crass (1.0.6) date (3.5.1) - deprecation (1.1.0) - activesupport devise (4.9.4) bcrypt (~> 3.0) orm_adapter (~> 0.1) @@ -275,10 +278,11 @@ GEM racc (~> 1.4) nokogiri (1.18.10-x86_64-linux-gnu) racc (~> 1.4) - oai (1.2.1) + oai (1.3.0) builder (>= 3.1.0) faraday (< 3) faraday-follow_redirects (>= 0.3.0, < 2) + rexml okcomputer (1.19.0) orm_adapter (0.5.0) ostruct (0.6.1) @@ -286,7 +290,7 @@ GEM parser (3.3.10.0) ast (~> 2.4.1) racc - popper_js (1.16.1) + popper_js (2.11.8) pp (0.6.3) prettyprint prettyprint (0.2.0) @@ -527,10 +531,10 @@ PLATFORMS x86_64-linux DEPENDENCIES - blacklight (~> 7.38) - blacklight_oai_provider + blacklight (~> 8.12.3) + blacklight_oai_provider! bootsnap - bootstrap (~> 4.0) + bootstrap (~> 5.1.3) bot_challenge_page (~> 0.3.0) byebug cancancan diff --git a/app/assets/config/manifest.js b/app/assets/config/manifest.js index 2261605..19c5f10 100644 --- a/app/assets/config/manifest.js +++ b/app/assets/config/manifest.js @@ -3,4 +3,14 @@ //= link_tree ../../javascript .js //= link_tree ../../../vendor/javascript .js -//= link application.js \ No newline at end of file +//= link application.js +//= link blacklight/bookmark_toggle.js +//= link blacklight/button_focus.js +//= link blacklight/checkbox_submit.js +//= link blacklight/core.js +//= link blacklight/debounce.js +//= link blacklight/facet_suggest.js +//= link blacklight/index.js +//= link blacklight/modal.js +//= link blacklight/modalForm.js +//= link blacklight/search_context.js \ No newline at end of file diff --git a/app/assets/stylesheets/custom.scss b/app/assets/stylesheets/custom.scss index 717c1e8..4d9920f 100644 --- a/app/assets/stylesheets/custom.scss +++ b/app/assets/stylesheets/custom.scss @@ -18,6 +18,7 @@ $theme-colors: ( margin-left: 30px; padding-left: 1rem; padding-right: 0; + text-decoration: none; &:hover { text-decoration: none; @@ -45,3 +46,25 @@ $theme-colors: ( text-decoration: none; } } + +.container { + max-width: 1140px; +} + +a { + text-decoration: none; + + &:hover, + &:focus { + text-decoration: underline; + } +} + +.btn { + &:hover, + &:focus { + text-decoration: none; + } +} + + diff --git a/app/views/errors/_error_contact_links.html.erb b/app/views/errors/_error_contact_links.html.erb index f1c36bb..f539995 100644 --- a/app/views/errors/_error_contact_links.html.erb +++ b/app/views/errors/_error_contact_links.html.erb @@ -1,4 +1,4 @@ <%= link_to 'reporting this errors', I18n.t('libraries_help_link'), target: '_blank' %> - this link will open in a new tab + this link will open in a new tab diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb index 1b073cc..2676a4d 100644 --- a/app/views/shared/_footer.html.erb +++ b/app/views/shared/_footer.html.erb @@ -1,9 +1,9 @@ diff --git a/app/views/shared/_header_navbar.html.erb b/app/views/shared/_header_navbar.html.erb index c7e4dda..887ed0f 100644 --- a/app/views/shared/_header_navbar.html.erb +++ b/app/views/shared/_header_navbar.html.erb @@ -1,12 +1,12 @@