Update field description and adjust seasonal dropzone height in configPage.html

This commit is contained in:
CodeDevMLH
2026-03-11 00:37:02 +01:00
parent 8388463880
commit b9040c20fc

View File

@@ -263,7 +263,7 @@
<i class="material-icons">delete</i> <i class="material-icons">delete</i>
</button> </button>
</div> </div>
<div class="fieldDescription">Uploading an image will save it to the server and automatically update the URL field above.</div> <div class="fieldDescription">Uploading an image will save it to your server and automatically update the URL field above.</div>
</div> </div>
<h2 class="sectionTitle" style="margin-top: 1.2em;">Styles</h2> <h2 class="sectionTitle" style="margin-top: 1.2em;">Styles</h2>
@@ -943,7 +943,7 @@
MediaBarEnhancedConfigurationPage.createSectionElement(container, { MediaBarEnhancedConfigurationPage.createSectionElement(container, {
Name: 'New Season', Name: 'New Season',
StartDay: 1, StartMonth: 1, StartDay: 1, StartMonth: 1,
EndDay: 1, EndMonth: 1, EndDay: 31, EndMonth: 1,
MediaIds: '', MediaIds: '',
OverlayText: '', OverlayText: '',
OverlayImageUrl: '' OverlayImageUrl: ''
@@ -1021,7 +1021,7 @@
' </div>' + ' </div>' +
' </div>' + ' </div>' +
' <div class="inputContainer" style="flex: 1; min-width: 250px; margin: 0; padding-bottom: 5px;">' + ' <div class="inputContainer" style="flex: 1; min-width: 250px; margin: 0; padding-bottom: 5px;">' +
' <div class="seasonal-dropzone" style="border: 2px dashed rgba(255,255,255,0.2); border-radius: 8px; padding: 1em; text-align: center; cursor: pointer; background: rgba(0,0,0,0.2); transition: all 0.2s ease; position: relative; min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center;">' + ' <div class="seasonal-dropzone" style="border: 2px dashed rgba(255,255,255,0.2); border-radius: 8px; padding: 1em; text-align: center; cursor: pointer; background: rgba(0,0,0,0.2); transition: all 0.2s ease; position: relative; min-height: 98px; display: flex; flex-direction: column; align-items: center; justify-content: center;">' +
' <i class="material-icons" style="font-size: 24px; color: rgba(255,255,255,0.4); margin-bottom: 4px;">cloud_upload</i>' + ' <i class="material-icons" style="font-size: 24px; color: rgba(255,255,255,0.4); margin-bottom: 4px;">cloud_upload</i>' +
' <span style="font-size: 0.85em; color: rgba(255,255,255,0.7);">Upload seasonal image</span>' + ' <span style="font-size: 0.85em; color: rgba(255,255,255,0.7);">Upload seasonal image</span>' +
' <input type="file" class="seasonal-file-input" accept="image/png, image/jpeg, image/gif, image/webp" style="display: none;">' + ' <input type="file" class="seasonal-file-input" accept="image/png, image/jpeg, image/gif, image/webp" style="display: none;">' +