blacklight-spotlight 3.6.0.beta10 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/spotlight/spotlight.esm.js +30 -30
  3. data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
  4. data/app/assets/javascripts/spotlight/spotlight.js +30 -30
  5. data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
  6. data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +0 -8
  7. data/app/assets/stylesheets/spotlight/_blacklight_overrides.scss +2 -1
  8. data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +0 -5
  9. data/app/assets/stylesheets/spotlight/_catalog.scss +6 -3
  10. data/app/assets/stylesheets/spotlight/_mixins.scss +2 -1
  11. data/app/assets/stylesheets/spotlight/_pages.scss +2 -1
  12. data/app/assets/stylesheets/spotlight/_report_a_problem.scss +2 -1
  13. data/app/assets/stylesheets/spotlight/_translations.scss +0 -6
  14. data/app/assets/stylesheets/spotlight/_utilities.scss +0 -4
  15. data/app/components/spotlight/document_component.rb +1 -1
  16. data/app/javascript/spotlight/admin/block_mixins/plustextable.js +1 -1
  17. data/app/javascript/spotlight/admin/blocks/browse_block.js +2 -2
  18. data/app/javascript/spotlight/admin/blocks/browse_group_categories_block.js +1 -1
  19. data/app/javascript/spotlight/admin/blocks/oembed_block.js +1 -1
  20. data/app/javascript/spotlight/admin/blocks/resources_block.js +3 -3
  21. data/app/javascript/spotlight/admin/blocks/solr_documents_carousel_block.js +5 -5
  22. data/app/javascript/spotlight/admin/blocks/solr_documents_features_block.js +5 -5
  23. data/app/javascript/spotlight/admin/blocks/uploaded_items_block.js +5 -5
  24. data/app/javascript/spotlight/admin/users.js +2 -2
  25. data/app/javascript/spotlight/user/report_a_problem.js +1 -1
  26. data/app/javascript/spotlight/user/zpr_links.js +3 -3
  27. data/app/models/sir_trevor_rails/blocks/solr_documents_carousel_block.rb +5 -2
  28. data/app/models/spotlight/resources/upload.rb +2 -2
  29. data/app/views/catalog/_add_tags.html.erb +4 -4
  30. data/app/views/catalog/_bulk_actions.html.erb +2 -2
  31. data/app/views/catalog/_change_visibility.html.erb +3 -3
  32. data/app/views/catalog/_remove_tags.html.erb +5 -5
  33. data/app/views/catalog/_save_search.html.erb +5 -5
  34. data/app/views/shared/_curated_features_navbar.html.erb +1 -1
  35. data/app/views/shared/_exhibit_navbar.html.erb +1 -1
  36. data/app/views/shared/_header_navbar.html.erb +1 -1
  37. data/app/views/shared/_user_util_links.html.erb +2 -2
  38. data/app/views/spotlight/admin_users/index.html.erb +6 -6
  39. data/app/views/spotlight/appearances/edit.html.erb +4 -4
  40. data/app/views/spotlight/browse/_search_box.html.erb +2 -2
  41. data/app/views/spotlight/browse/index.html.erb +1 -1
  42. data/app/views/spotlight/browse/show.html.erb +1 -1
  43. data/app/views/spotlight/bulk_updates/_download.html.erb +2 -2
  44. data/app/views/spotlight/bulk_updates/_upload.html.erb +17 -7
  45. data/app/views/spotlight/bulk_updates/edit.html.erb +3 -3
  46. data/app/views/spotlight/catalog/_admin_header.html.erb +1 -1
  47. data/app/views/spotlight/catalog/_curation_mode_toggle_default.html.erb +1 -1
  48. data/app/views/spotlight/catalog/_document_visibility_control.html.erb +1 -1
  49. data/app/views/spotlight/catalog/_edit_default.html.erb +1 -1
  50. data/app/views/spotlight/contacts/_form.html.erb +3 -3
  51. data/app/views/spotlight/custom_fields/_form.html.erb +2 -2
  52. data/app/views/spotlight/custom_fields/form_group/_text.html.erb +3 -3
  53. data/app/views/spotlight/custom_fields/form_group/_vocab.html.erb +3 -3
  54. data/app/views/spotlight/custom_search_fields/_form.html.erb +1 -1
  55. data/app/views/spotlight/dashboards/_analytics.html.erb +2 -2
  56. data/app/views/spotlight/exhibits/_contact.html.erb +1 -1
  57. data/app/views/spotlight/exhibits/_exhibit_card.html.erb +1 -1
  58. data/app/views/spotlight/exhibits/_form.html.erb +4 -4
  59. data/app/views/spotlight/exhibits/_import.html.erb +1 -1
  60. data/app/views/spotlight/exhibits/_languages.html.erb +1 -1
  61. data/app/views/spotlight/exhibits/edit.html.erb +6 -6
  62. data/app/views/spotlight/exhibits/index.html.erb +3 -3
  63. data/app/views/spotlight/featured_images/_form.html.erb +4 -4
  64. data/app/views/spotlight/featured_images/_upload_form.html.erb +3 -3
  65. data/app/views/spotlight/home_pages/_edit_page_link.html.erb +1 -1
  66. data/app/views/spotlight/job_trackers/show.html.erb +3 -3
  67. data/app/views/spotlight/locks/_lock.html.erb +1 -1
  68. data/app/views/spotlight/metadata_configurations/_metadata_field.html.erb +6 -2
  69. data/app/views/spotlight/pages/_edit_page_link.html.erb +1 -1
  70. data/app/views/spotlight/pages/_form.html.erb +8 -8
  71. data/app/views/spotlight/pages/_order_pages.html.erb +1 -1
  72. data/app/views/spotlight/pages/_view_type_group.html.erb +1 -1
  73. data/app/views/spotlight/resources/_external_resources_form.html.erb +1 -0
  74. data/app/views/spotlight/resources/_form.html.erb +1 -1
  75. data/app/views/spotlight/resources/csv_upload/_form.html.erb +1 -1
  76. data/app/views/spotlight/resources/iiif/_form.html.erb +1 -1
  77. data/app/views/spotlight/resources/json_upload/_form.html.erb +1 -1
  78. data/app/views/spotlight/resources/new.html.erb +1 -0
  79. data/app/views/spotlight/resources/upload/_form.html.erb +1 -1
  80. data/app/views/spotlight/roles/index.html.erb +4 -4
  81. data/app/views/spotlight/search_configurations/_default_per_page.html.erb +1 -1
  82. data/app/views/spotlight/search_configurations/_document_index_view_types.html.erb +7 -2
  83. data/app/views/spotlight/search_configurations/_facets.html.erb +1 -1
  84. data/app/views/spotlight/search_configurations/edit.html.erb +3 -3
  85. data/app/views/spotlight/searches/_form.html.erb +6 -6
  86. data/app/views/spotlight/searches/index.html.erb +4 -4
  87. data/app/views/spotlight/shared/_dd3_item.html.erb +2 -2
  88. data/app/views/spotlight/shared/_exhibit_sidebar.html.erb +1 -1
  89. data/app/views/spotlight/shared/_locale_picker.html.erb +1 -1
  90. data/app/views/spotlight/shared/_report_a_problem.html.erb +1 -1
  91. data/app/views/spotlight/sir_trevor/blocks/_browse_group_categories_block.html.erb +2 -2
  92. data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +1 -1
  93. data/app/views/spotlight/sir_trevor/blocks/_search_results_block.html.erb +1 -1
  94. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +1 -1
  95. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +4 -4
  96. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +1 -1
  97. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb +2 -2
  98. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +1 -1
  99. data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +1 -1
  100. data/app/views/spotlight/sites/_exhibit.html.erb +4 -4
  101. data/app/views/spotlight/sites/edit.html.erb +2 -2
  102. data/app/views/spotlight/sites/edit_exhibits.html.erb +4 -4
  103. data/app/views/spotlight/tags/index.html.erb +1 -1
  104. data/app/views/spotlight/translations/_browse_categories.html.erb +8 -8
  105. data/app/views/spotlight/translations/_general.html.erb +18 -18
  106. data/app/views/spotlight/translations/_groups.html.erb +1 -1
  107. data/app/views/spotlight/translations/_import.html.erb +31 -18
  108. data/app/views/spotlight/translations/_metadata.html.erb +6 -6
  109. data/app/views/spotlight/translations/_page.html.erb +1 -1
  110. data/app/views/spotlight/translations/_search_fields.html.erb +9 -9
  111. data/app/views/spotlight/translations/edit.html.erb +6 -6
  112. data/config/locales/spotlight.en.yml +7 -2
  113. data/lib/generators/spotlight/templates/catalog_controller.rb +4 -0
  114. data/lib/spotlight/version.rb +1 -1
  115. data/vendor/assets/javascripts/bootstrap-tagsinput.js +1 -1
  116. data/vendor/assets/javascripts/sir-trevor.js +1 -1
  117. metadata +12 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17ba7063f03c11f47d55df8f497db57b89933eca4040b9991eb285eb66877223
4
- data.tar.gz: a9c201deeb7ebcb3d4f4481f5ed5903a6126b02ddb589a64096ac3472c99814d
3
+ metadata.gz: 298c3b01aef4018f5a6c45bf557fbaa257f61f7c9530e65ceb7d30584031864a
4
+ data.tar.gz: 2ec50e9b9196204d1f524a6863c709f5e62f66fb4f382b672c7a18b488d15e7b
5
5
  SHA512:
6
- metadata.gz: 54f956d04742f327214c88d2f9a188038c60e9bc24bb3f1e4f0ba4d1a05f0467b7b59bcdd5bf7d58df42b33b5f6aee003dfe8b82d51efc6850b3e94d8243d4da
7
- data.tar.gz: 38b464e845bdf8d043b851d91d00773f93a8e02bb5d9b3960ffa32f083f0d5222ba564344cc2e872bb5f07f49145999df70864b49ddf31959a48fe8b91d448a0
6
+ metadata.gz: 8e9531c6a7861bda250017a97d5dd722ae2c76c0f60922efa0ec095f3ad8788a8d731ef2b3d8fddbd13df2ba0c61373beadd0fb187f5a3694a210e14af17834f
7
+ data.tar.gz: ea3cae3309239290979e60eded1d9adf0d7a3ee006bbba076282ba57bf78de2ad2028102c9317a7f7445fccec131d91f6fb74b19f36b97a58492c26bc985247b
@@ -84,7 +84,7 @@ class ReportProblem {
84
84
  var container, target;
85
85
 
86
86
  function init() {
87
- const target_val = container.attr('data-target');
87
+ const target_val = container.attr('data-target') || container.attr('data-bs-target');
88
88
  if (!target_val)
89
89
  return
90
90
 
@@ -119,10 +119,10 @@ class ZprLinks {
119
119
  modalDialog.addClass('modal-xl');
120
120
  modalContent.html('<div id="osd-modal-container"></div>');
121
121
  var controls = `<div class="controls d-flex justify-content-center justify-content-md-end">
122
- <div class="custom-close-controls pr-3 pt-3">
123
- <button type="button" class="btn btn-dark" data-dismiss="modal" aria-hidden="true">${Spotlight.ZprLinks.close}</button>
122
+ <div class="custom-close-controls pr-3 pe-3 pt-3">
123
+ <button type="button" class="btn btn-dark" data-dismiss="modal" data-bs-dismiss="modal" aria-hidden="true">${Spotlight.ZprLinks.close}</button>
124
124
  </div>
125
- <div class="zoom-controls mb-3 mr-md-3">
125
+ <div class="zoom-controls mb-3 mr-md-3 me-md-3">
126
126
  <button id="osd-zoom-in" type="button" class="btn btn-dark">${Spotlight.ZprLinks.zoomIn}</button>
127
127
  <button id="osd-zoom-out" type="button" class="btn btn-dark">${Spotlight.ZprLinks.zoomOut}</button>
128
128
  </div>
@@ -935,7 +935,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
935
935
 
936
936
  var defaultOptions = {
937
937
  tagClass: function(item) {
938
- return 'badge badge-info';
938
+ return 'badge badge-info bg-info';
939
939
  },
940
940
  itemValue: function(item) {
941
941
  return item ? item.toString() : item;
@@ -5579,7 +5579,7 @@ class Users {
5579
5579
  function edit_user(event) {
5580
5580
  event.preventDefault();
5581
5581
  $(this).closest('tr').hide();
5582
- const id = $(this).attr('data-target');
5582
+ const id = $(this).attr('data-target') || $(this).attr('data-bs-target');
5583
5583
  const edit_view = $("[data-edit-for='"+id+"']", container).show();
5584
5584
  $.each(edit_view.find('input[type="text"], select'), function() {
5585
5585
  // Cache original values incase editing is canceled
@@ -5610,7 +5610,7 @@ class Users {
5610
5610
  }
5611
5611
 
5612
5612
  function destroy_user(event) {
5613
- const id = $(this).attr('data-target');
5613
+ const id = $(this).attr('data-target') || $(this).attr('data-bs-target');
5614
5614
  $("[data-destroy-for='"+id+"']", container).val('1');
5615
5615
  }
5616
5616
 
@@ -5814,7 +5814,7 @@ class Users {
5814
5814
  return `
5815
5815
  <div class="row">
5816
5816
  <div class="col-md-8">
5817
- <div class="form-group">
5817
+ <div class="form-group mb-3">
5818
5818
  ${this.heading()}
5819
5819
  <div class="field">
5820
5820
  <label for="${this.formId(this.text_key)}" class="col-form-label">${i18n.t("blocks:textable:text")}</label>
@@ -5923,7 +5923,7 @@ Spotlight$1.Block.Resources = (function(){
5923
5923
  <div class="checkbox">
5924
5924
  <input name="item[${index}][display]" type="hidden" value="false" />
5925
5925
  <input name="item[${index}][display]" id="${this.formId(this.display_checkbox + '_' + data.id)}" type="checkbox" ${checked} class="item-grid-checkbox" value="true" />
5926
- <label class="sr-only" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label>
5926
+ <label class="sr-only visually-hidden" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label>
5927
5927
  </div>
5928
5928
  <div class="pic">
5929
5929
  <img class="img-thumbnail" src="${(data.thumbnail_image_url || ((data.iiif_tilesource || "").replace("/info.json", "/full/!100,100/0/default.jpg")))}" />
@@ -5932,7 +5932,7 @@ Spotlight$1.Block.Resources = (function(){
5932
5932
  <div class="title card-title">${data.title}</div>
5933
5933
  <div>${(data.slug || data.id)}</div>
5934
5934
  </div>
5935
- <div class="remove float-right">
5935
+ <div class="remove float-right float-end">
5936
5936
  <a data-item-grid-panel-remove="true" href="#">${i18n.t("blocks:resources:panel:remove")}</a>
5937
5937
  </div>
5938
5938
  </div>
@@ -5984,7 +5984,7 @@ Spotlight$1.Block.Resources = (function(){
5984
5984
  items_selector: function() { return [
5985
5985
  '<div class="row">',
5986
5986
  '<div class="col-md-8">',
5987
- '<div class="form-group">',
5987
+ '<div class="form-group mb-3">',
5988
5988
  '<div class="panels dd nestable-item-grid" data-behavior="nestable" data-max-depth="1"><ol class="dd-list"></ol></div>',
5989
5989
  this.autocomplete_control(),
5990
5990
  '</div>',
@@ -6067,7 +6067,7 @@ SirTrevor.Blocks.Browse = (function(){
6067
6067
  <div class="checkbox">
6068
6068
  <input name="item[${index}][display]" type="hidden" value="false" />
6069
6069
  <input name="item[${index}][display]" id="${this.formId(this.display_checkbox + '_' + data.id)}" type="checkbox" ${checked} class="item-grid-checkbox" value="true" />
6070
- <label class="sr-only" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label>
6070
+ <label class="sr-only visually-hidden" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label>
6071
6071
  </div>
6072
6072
  <div class="pic">
6073
6073
  <img class="img-thumbnail" src="${(data.thumbnail_image_url || ((data.iiif_tilesource || "").replace("/info.json", "/full/!100,100/0/default.jpg")))}" />
@@ -6076,7 +6076,7 @@ SirTrevor.Blocks.Browse = (function(){
6076
6076
  <div class="title card-title">${(data.full_title || data.title)}</div>
6077
6077
  <div>${(data.slug || data.id)}</div>
6078
6078
  </div>
6079
- <div class="remove float-right">
6079
+ <div class="remove float-right float-end">
6080
6080
  <a data-item-grid-panel-remove="true" href="#">${i18n.t("blocks:resources:panel:remove")}</a>
6081
6081
  </div>
6082
6082
  </div>
@@ -6164,7 +6164,7 @@ SirTrevor.Blocks.BrowseGroupCategories = (function(){
6164
6164
  <div class="checkbox">
6165
6165
  <input name="item[${index}][display]" type="hidden" value="false" />
6166
6166
  <input name="item[${index}][display]" id="${this.formId(this.display_checkbox + '_' + data.id)}" type="checkbox" ${checked} class="item-grid-checkbox" value="true" />
6167
- <label class="sr-only" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label>
6167
+ <label class="sr-only visually-hidden" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label>
6168
6168
  </div>
6169
6169
  <div class="main">
6170
6170
  <div class="title card-title">${data.title}</div>
@@ -6278,7 +6278,7 @@ SirTrevor.Blocks.Oembed = (function(){
6278
6278
  ${this.description()}
6279
6279
  </div>
6280
6280
  <div class="row">
6281
- <div class="form-group col-md-8">
6281
+ <div class="form-group mb-3 col-md-8">
6282
6282
  <label for="${this.formId(id_key)}">${i18n.t("blocks:oembed:url")}</label>
6283
6283
  <input name="${id_key}" class="form-control col-md-6" type="text" id="${this.formId(id_key)}" />
6284
6284
  </div>
@@ -6595,15 +6595,15 @@ SirTrevor.Blocks.SolrDocumentsCarousel = (function(){
6595
6595
  afterPreviewLoad: function(options) {
6596
6596
  $(this.inner).find('.carousel').carousel();
6597
6597
 
6598
- // the bootstrap carousel only initializes data-slide widgets on page load, so we need
6598
+ // the bootstrap carousel only initializes data-bs-slide widgets on page load, so we need
6599
6599
  // to initialize them ourselves..
6600
6600
  var clickHandler = function (e) {
6601
6601
  var href;
6602
6602
  var $this = $(this);
6603
- var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')); // strip for ie7
6603
+ var $target = $($this.attr('data-target') || $this.attr('data-bs-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')); // strip for ie7
6604
6604
  if (!$target.hasClass('carousel')) return
6605
6605
  var options = $.extend({}, $target.data(), $this.data());
6606
- var slideIndex = $this.attr('data-slide-to');
6606
+ var slideIndex = $this.attr('data-slide-to') || $this.attr('data-bs-slide-to');
6607
6607
  if (slideIndex) options.interval = false;
6608
6608
 
6609
6609
  $.fn.carousel.call($target, options);
@@ -6616,8 +6616,8 @@ SirTrevor.Blocks.SolrDocumentsCarousel = (function(){
6616
6616
  };
6617
6617
 
6618
6618
  $(this.inner).find('.carousel')
6619
- .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)
6620
- .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler);
6619
+ .on('click.bs.carousel.data-api', '[data-slide], [data-bs-slide]', clickHandler)
6620
+ .on('click.bs.carousel.data-api', '[data-slide-to], [data-bs-slide-to]', clickHandler);
6621
6621
  }
6622
6622
 
6623
6623
  });
@@ -6655,15 +6655,15 @@ SirTrevor.Blocks.SolrDocumentsFeatures = (function(){
6655
6655
  afterPreviewLoad: function(options) {
6656
6656
  $(this.inner).find('.carousel').carousel();
6657
6657
 
6658
- // the bootstrap carousel only initializes data-slide widgets on page load, so we need
6658
+ // the bootstrap carousel only initializes data-bs-slide widgets on page load, so we need
6659
6659
  // to initialize them ourselves..
6660
6660
  var clickHandler = function (e) {
6661
6661
  var href;
6662
6662
  var $this = $(this);
6663
- var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')); // strip for ie7
6663
+ var $target = $($this.attr('data-target') || $this.attr('data-bs-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')); // strip for ie7
6664
6664
  if (!$target.hasClass('carousel')) return
6665
6665
  var options = $.extend({}, $target.data(), $this.data());
6666
- var slideIndex = $this.attr('data-slide-to');
6666
+ var slideIndex = $this.attr('data-slide-to') || $this.attr('data-bs-slide-to');
6667
6667
  if (slideIndex) options.interval = false;
6668
6668
 
6669
6669
  $.fn.carousel.call($target, options);
@@ -6676,8 +6676,8 @@ SirTrevor.Blocks.SolrDocumentsFeatures = (function(){
6676
6676
  };
6677
6677
 
6678
6678
  $(this.inner).find('.carousel')
6679
- .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)
6680
- .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler);
6679
+ .on('click.bs.carousel.data-api', '[data-slide], [data-bs-slide]', clickHandler)
6680
+ .on('click.bs.carousel.data-api', '[data-slide-to], [data-bs-slide-to]', clickHandler);
6681
6681
  }
6682
6682
 
6683
6683
  });
@@ -6779,23 +6779,23 @@ SirTrevor.Blocks.UploadedItems = (function(){
6779
6779
  <div class="checkbox">
6780
6780
  <input name="item[${index}][display]" type="hidden" value="false" />
6781
6781
  <input name="item[${index}][display]" id="${this.formId(this.display_checkbox + '_' + dataId)}" type="checkbox" ${checked} class="item-grid-checkbox" value="true" />
6782
- <label class="sr-only" for="${this.formId(this.display_checkbox + '_' + dataId)}">${i18n.t("blocks:resources:panel:display")}</label>
6782
+ <label class="sr-only visually-hidden" for="${this.formId(this.display_checkbox + '_' + dataId)}">${i18n.t("blocks:resources:panel:display")}</label>
6783
6783
  </div>
6784
6784
  <div class="pic">
6785
6785
  <img class="img-thumbnail" src="${dataUrl}" />
6786
6786
  </div>
6787
6787
  <div class="main form-horizontal">
6788
6788
  <div class="title card-title">${dataTitle}</div>
6789
- <div class="field row mr-3">
6789
+ <div class="field row mr-3 me-3">
6790
6790
  <label for="${this.formId('caption_' + dataId)}" class="col-form-label col-md-3">${i18n.t("blocks:uploaded_items:caption")}</label>
6791
6791
  <input type="text" class="form-control col" id="${this.formId('caption_' + dataId)}" name="item[${index}][caption]" data-field="caption"/>
6792
6792
  </div>
6793
- <div class="field row mr-3">
6793
+ <div class="field row mr-3 me-3">
6794
6794
  <label for="${this.formId('link_' + dataId)}" class="col-form-label col-md-3">${i18n.t("blocks:uploaded_items:link")}</label>
6795
6795
  <input type="text" class="form-control col" id="${this.formId('link_' + dataId)}" name="item[${index}][link]" data-field="link"/>
6796
6796
  </div>
6797
6797
  </div>
6798
- <div class="remove float-right">
6798
+ <div class="remove float-right float-end">
6799
6799
  <a data-item-grid-panel-remove="true" href="#">${i18n.t("blocks:resources:panel:remove")}</a>
6800
6800
  </div>
6801
6801
  </div>
@@ -6823,7 +6823,7 @@ SirTrevor.Blocks.UploadedItems = (function(){
6823
6823
  ${this.description()}
6824
6824
  </div>
6825
6825
  <div class="row">
6826
- <div class="form-group col-md-8">
6826
+ <div class="form-group mb-3 col-md-8">
6827
6827
  <div class="panels dd nestable-item-grid" data-behavior="nestable" data-max-depth="1">
6828
6828
  <ol class="dd-list">
6829
6829
  </ol>