blacklight-spotlight 3.6.0.beta10 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/spotlight/spotlight.esm.js +30 -30
- data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
- data/app/assets/javascripts/spotlight/spotlight.js +30 -30
- data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
- data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +0 -8
- data/app/assets/stylesheets/spotlight/_blacklight_overrides.scss +2 -1
- data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +0 -5
- data/app/assets/stylesheets/spotlight/_catalog.scss +6 -3
- data/app/assets/stylesheets/spotlight/_mixins.scss +2 -1
- data/app/assets/stylesheets/spotlight/_pages.scss +2 -1
- data/app/assets/stylesheets/spotlight/_report_a_problem.scss +2 -1
- data/app/assets/stylesheets/spotlight/_translations.scss +0 -6
- data/app/assets/stylesheets/spotlight/_utilities.scss +0 -4
- data/app/components/spotlight/document_component.rb +1 -1
- data/app/javascript/spotlight/admin/block_mixins/plustextable.js +1 -1
- data/app/javascript/spotlight/admin/blocks/browse_block.js +2 -2
- data/app/javascript/spotlight/admin/blocks/browse_group_categories_block.js +1 -1
- data/app/javascript/spotlight/admin/blocks/oembed_block.js +1 -1
- data/app/javascript/spotlight/admin/blocks/resources_block.js +3 -3
- data/app/javascript/spotlight/admin/blocks/solr_documents_carousel_block.js +5 -5
- data/app/javascript/spotlight/admin/blocks/solr_documents_features_block.js +5 -5
- data/app/javascript/spotlight/admin/blocks/uploaded_items_block.js +5 -5
- data/app/javascript/spotlight/admin/users.js +2 -2
- data/app/javascript/spotlight/user/report_a_problem.js +1 -1
- data/app/javascript/spotlight/user/zpr_links.js +3 -3
- data/app/models/sir_trevor_rails/blocks/solr_documents_carousel_block.rb +5 -2
- data/app/models/spotlight/resources/upload.rb +2 -2
- data/app/views/catalog/_add_tags.html.erb +4 -4
- data/app/views/catalog/_bulk_actions.html.erb +2 -2
- data/app/views/catalog/_change_visibility.html.erb +3 -3
- data/app/views/catalog/_remove_tags.html.erb +5 -5
- data/app/views/catalog/_save_search.html.erb +5 -5
- data/app/views/shared/_curated_features_navbar.html.erb +1 -1
- data/app/views/shared/_exhibit_navbar.html.erb +1 -1
- data/app/views/shared/_header_navbar.html.erb +1 -1
- data/app/views/shared/_user_util_links.html.erb +2 -2
- data/app/views/spotlight/admin_users/index.html.erb +6 -6
- data/app/views/spotlight/appearances/edit.html.erb +4 -4
- data/app/views/spotlight/browse/_search_box.html.erb +2 -2
- data/app/views/spotlight/browse/index.html.erb +1 -1
- data/app/views/spotlight/browse/show.html.erb +1 -1
- data/app/views/spotlight/bulk_updates/_download.html.erb +2 -2
- data/app/views/spotlight/bulk_updates/_upload.html.erb +17 -7
- data/app/views/spotlight/bulk_updates/edit.html.erb +3 -3
- data/app/views/spotlight/catalog/_admin_header.html.erb +1 -1
- data/app/views/spotlight/catalog/_curation_mode_toggle_default.html.erb +1 -1
- data/app/views/spotlight/catalog/_document_visibility_control.html.erb +1 -1
- data/app/views/spotlight/catalog/_edit_default.html.erb +1 -1
- data/app/views/spotlight/contacts/_form.html.erb +3 -3
- data/app/views/spotlight/custom_fields/_form.html.erb +2 -2
- data/app/views/spotlight/custom_fields/form_group/_text.html.erb +3 -3
- data/app/views/spotlight/custom_fields/form_group/_vocab.html.erb +3 -3
- data/app/views/spotlight/custom_search_fields/_form.html.erb +1 -1
- data/app/views/spotlight/dashboards/_analytics.html.erb +2 -2
- data/app/views/spotlight/exhibits/_contact.html.erb +1 -1
- data/app/views/spotlight/exhibits/_exhibit_card.html.erb +1 -1
- data/app/views/spotlight/exhibits/_form.html.erb +4 -4
- data/app/views/spotlight/exhibits/_import.html.erb +1 -1
- data/app/views/spotlight/exhibits/_languages.html.erb +1 -1
- data/app/views/spotlight/exhibits/edit.html.erb +6 -6
- data/app/views/spotlight/exhibits/index.html.erb +3 -3
- data/app/views/spotlight/featured_images/_form.html.erb +4 -4
- data/app/views/spotlight/featured_images/_upload_form.html.erb +3 -3
- data/app/views/spotlight/home_pages/_edit_page_link.html.erb +1 -1
- data/app/views/spotlight/job_trackers/show.html.erb +3 -3
- data/app/views/spotlight/locks/_lock.html.erb +1 -1
- data/app/views/spotlight/metadata_configurations/_metadata_field.html.erb +6 -2
- data/app/views/spotlight/pages/_edit_page_link.html.erb +1 -1
- data/app/views/spotlight/pages/_form.html.erb +8 -8
- data/app/views/spotlight/pages/_order_pages.html.erb +1 -1
- data/app/views/spotlight/pages/_view_type_group.html.erb +1 -1
- data/app/views/spotlight/resources/_external_resources_form.html.erb +1 -0
- data/app/views/spotlight/resources/_form.html.erb +1 -1
- data/app/views/spotlight/resources/csv_upload/_form.html.erb +1 -1
- data/app/views/spotlight/resources/iiif/_form.html.erb +1 -1
- data/app/views/spotlight/resources/json_upload/_form.html.erb +1 -1
- data/app/views/spotlight/resources/new.html.erb +1 -0
- data/app/views/spotlight/resources/upload/_form.html.erb +1 -1
- data/app/views/spotlight/roles/index.html.erb +4 -4
- data/app/views/spotlight/search_configurations/_default_per_page.html.erb +1 -1
- data/app/views/spotlight/search_configurations/_document_index_view_types.html.erb +7 -2
- data/app/views/spotlight/search_configurations/_facets.html.erb +1 -1
- data/app/views/spotlight/search_configurations/edit.html.erb +3 -3
- data/app/views/spotlight/searches/_form.html.erb +6 -6
- data/app/views/spotlight/searches/index.html.erb +4 -4
- data/app/views/spotlight/shared/_dd3_item.html.erb +2 -2
- data/app/views/spotlight/shared/_exhibit_sidebar.html.erb +1 -1
- data/app/views/spotlight/shared/_locale_picker.html.erb +1 -1
- data/app/views/spotlight/shared/_report_a_problem.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_browse_group_categories_block.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_search_results_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +4 -4
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +1 -1
- data/app/views/spotlight/sites/_exhibit.html.erb +4 -4
- data/app/views/spotlight/sites/edit.html.erb +2 -2
- data/app/views/spotlight/sites/edit_exhibits.html.erb +4 -4
- data/app/views/spotlight/tags/index.html.erb +1 -1
- data/app/views/spotlight/translations/_browse_categories.html.erb +8 -8
- data/app/views/spotlight/translations/_general.html.erb +18 -18
- data/app/views/spotlight/translations/_groups.html.erb +1 -1
- data/app/views/spotlight/translations/_import.html.erb +31 -18
- data/app/views/spotlight/translations/_metadata.html.erb +6 -6
- data/app/views/spotlight/translations/_page.html.erb +1 -1
- data/app/views/spotlight/translations/_search_fields.html.erb +9 -9
- data/app/views/spotlight/translations/edit.html.erb +6 -6
- data/config/locales/spotlight.en.yml +7 -2
- data/lib/generators/spotlight/templates/catalog_controller.rb +4 -0
- data/lib/spotlight/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-tagsinput.js +1 -1
- data/vendor/assets/javascripts/sir-trevor.js +1 -1
- metadata +17 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fc52e049da8686762d5f9755ab41238d51106834ba849e0bac4b2fcce07d73f
|
4
|
+
data.tar.gz: 960be72555edc6d08de8bfb7dd0085cec5a8ae4d89766743c4925829278cf7d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 724d3939b9780ec47eb616ed580e8e832c8d01192113c7d20321af85237704bd04f7aea9fab1594d4941fd067337d451cedb940c244797702e52a27e87b357de
|
7
|
+
data.tar.gz: d1f469073ca74df4352dad644938894a2260eef5f8a3980c26c5fa01b04c49569eff108294bcef1ae33bbdb6a9788e8b5423eef66ebad3ad60c5a49f561dcd4b
|
@@ -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>
|