_layouts/batch.html in appscms-tools-theme-3.8.0 vs _layouts/batch.html in appscms-tools-theme-3.8.1

- old
+ new

@@ -3,30 +3,58 @@ --- <div class="container-fluid"> {%- assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%} <div class="custom-box" style="padding-bottom: 250px; padding-top: 0px;" data-color="{{boxColor}}"> <div style="display:none;" id="file-loader"> - <img src="/assets/images/spinner.gif" alt="loading..."> + <img src="/assets/images/spinner.gif" alt="loading..." {%- + if + site.crossorigin + -%} + crossorigin + {%- + endif + -%}> <p>Please Wait ,Loading Your file </p> </div> <div class="file-input"> <div class="d-flex justify-content-center align-items-center "> <div id="Inputbox" class="boxes"> <img height="21px" width="21px" - src="/assets/images/add.svg"> + src="/assets/images/add.svg" {%- + if + site.crossorigin + -%} + crossorigin + {%- + endif + -%}> <span class='ml-1'>CHOOSE FILE</span> </div> <div class="file-pick-dropdown"> <i class="fas arrow-sign fa-angle-down"></i> <div class="file-picker-dropdown" style="display: none;"> <button id='filepicker'> - <img width="18px" height="18px" src="/assets/images/google-drive.png" + <img width="18px" height="18px" src="/assets/images/google-drive.png" {%- + if + site.crossorigin + -%} + crossorigin + {%- + endif + -%} alt="google-drive-icon"> </button> <button id="dropbox"> - <img width="18px" height="18px" src="/assets/images/dropbox.png" alt="dropbox-icon"> + <img {%- + if + site.crossorigin + -%} + crossorigin + {%- + endif + -%} width="18px" height="18px" src="/assets/images/dropbox.png" alt="dropbox-icon"> </button> </div> </div> </div> @@ -36,11 +64,18 @@ <div class="workspace" style="display: none;"> <div class="row"> <div class="col-md-8"> <div class="files-panel d-none"> <div id="saving-data" style="display: none;"> - <img loading="lazy" src="/img/save.gif" alt="saving"> <span class="ml-2">Saving your + <img {%- + if + site.crossorigin + -%} + crossorigin + {%- + endif + -%} loading="lazy" src="/img/save.gif" alt="saving"> <span class="ml-2">Saving your images...</span> </div> <!-- <label> <p class="inputfiles-label"> Input files</p> --> @@ -52,10 +87,17 @@ <div class="files-container-box"> <div class="add-more-files"> <button class="btn add-more-files-button"> <input style="display: none;" onchange="fileOnChange2()" type="file" id="file2" multiple /> - <img src="/assets/images/add.png" alt="add-more-files"> + <img {%- + if + site.crossorigin + -%} + crossorigin + {%- + endif + -%} src="/assets/images/add.png" alt="add-more-files"> Add more files </button> </div> <table class="table files-processing-list m-0"></table> </div> \ No newline at end of file