corretto path errato

This commit is contained in:
Luca Trupiano 2025-04-01 18:22:08 +02:00
parent d3659c9401
commit 1c466de115
4 changed files with 16 additions and 5303 deletions

File diff suppressed because it is too large Load Diff

View File

@ -468,10 +468,10 @@ $(document).ready(function() {
comandiGrp.attr('role', "group")
var spanBadgeExpand = $('<button class="btn btn-sm btn-outline-primary espandiFrase noPrintA px-1 pt-1 pb-0"/>');
var expandIcon = '<i class="icon-expand-outline"></i>';
var expandIcon = '<i class="icon icon-expand-outline"></i>';
//spanBadgeExpand.attr('class', 'btn btn-sm btn-outline-primary espandiFrase px-1 pt-1 pb-0');
var spanBadgeReduce = $('<button class="btn btn-sm btn-outline-secondary riduciFrase noPrintA px-1 pt-1 pb-0 ml-1 disabled"/>');
var reduceIcon = '<i class="icon-contract-outline"></i>';
var reduceIcon = '<i class="icon icon-contract-outline"></i>';
//spanBadgeReduce.attr('class', 'btn btn-sm btn-outline-secondary riduciFrase px-1 pt-1 pb-0 ml-1 disabled');
@ -1216,7 +1216,7 @@ $(document).ready(function() {
var buttons = $('<div class="d-flex flex-wrap-reverse ml-auto align-items-center justify-content-end px-1 pt-1 pb-0">')
var closeButton = $('<button id="closeNote' + id + '"' +
'class="btn btn-sm btn-outline-warning btn-outline-warning-mod closeNote rounded text-warning align-self-end noPrintA px-1 pb-0 ml-1 mb-1">' +
'<i class="icon-close-circle"></i>');
'<i class="icon icon-close-circle"></i>');
closeButton.appendTo(buttons);
if (len > 1) {
var commentiSP = " commenti su "
@ -1366,10 +1366,10 @@ $(document).ready(function() {
'class="btn btn-sm btn-outline-primary bg-light collapseNote border rounded text-primary align-self-end noPrintA px-1 pb-0"' +
'data-toggle="collapse" data-target="#collapseNote' + id + '_' + pos + '"' +
'aria-expanded="true" aria-controls="collapseNote' + id + '_' + pos + '">' +
'<i class="icon-archive"></i>');
'<i class="icon icon-archive"></i>');
//var closeButton = $('<button id="closeNote'+id+ '_' + pos +'"'+
// 'class="btn btn-sm btn-outline-primary bg-light closeNote border rounded text-primary align-self-end px-1 pb-0 ml-1 mb-1">'+
// '<i class="icon-close-circle"></i>');
// '<i class="icon icon-close-circle"></i>');
collapseButton.appendTo(buttons);
//closeButton.appendTo(buttons);
@ -1389,7 +1389,6 @@ $(document).ready(function() {
} else {
rigaNota.append('<b>Autore della fonte:</b> <i>' + nomeAutore + '</i>');
}
console.log(nomeAutore);
if (comments.TitoloFonteCitazione == null) {
titoloFonte = "riferimento";
} else {
@ -1880,7 +1879,7 @@ $(document).ready(function() {
$("#vistaFrasi").attr('style', 'display: d-flex;');
cantoDisplayed = "#vistaFrasi";
}
var listIcon = ' <i class="icon-list-outline"></i>';
var listIcon = ' <i class="icon icon-list-outline"></i>';
if (listaRisultatiCommenti.length > 0) {
$("#headingZero").closest('.card').attr('style', 'display: d-flex;')
var spanbadgelista = $('<span />');
@ -1904,12 +1903,12 @@ $(document).ready(function() {
var filterButton = $('<button />');
filterButton.attr('id', 'filterRiferimentiOn')
filterButton.attr('class', 'btn btn-sm btn-outline-primary filterRiferimentiOn showcomments border-0 rounded text-primary px-1 pt-1 pb-0 ml-1');
var filterIcon = '<i class="icon-funnel"></i>';
var filterIcon1 = '<i class="icon-funnel"></i>';
var filterIcon = '<i class="icon icon-funnel"></i>';
var filterIcon1 = '<i class="icon icon-funnel"></i>';
var filterButton1 = $('<button />');
filterButton1.attr('id', 'filterRiferimentiOff')
filterButton1.attr('class', 'btn btn-sm btn-outline-primary filterRiferimentiOff showcomments border-0 rounded text-primary px-1 pt-1 pb-0 ml-1');
var removeFilter = '<i class="icon-close"></i>';
var removeFilter = '<i class="icon icon-close"></i>';
filterButton1.append(filterIcon1)
filterButton1.append(removeFilter)
@ -2247,7 +2246,7 @@ $(document).ready(function() {
proemiooccorrenza.attr('class', 'btn btn-sm btn-outline-primary showcomments bg-light border-0 rounded text-primary px-1 pt-1 pb-0 ml-1');
var commentIcon = '<i class="icon-document-attach"></i>';
var commentIcon = '<i class="icon icon-document-attach"></i>';
proemiooccorrenza.append(commentIcon)
@ -2267,9 +2266,9 @@ $(document).ready(function() {
}
if (numberOfComments > 1) {
var commentIcon = '<i class="icon-document-attach"></i><i class="icon-add-circle-outline"></i>';
var commentIcon = '<i class="icon icon-document-attach"></i><i class="icon icon-add-circle-outline"></i>';
} else {
var commentIcon = '<i class="icon-document-attach"></i>';
var commentIcon = '<i class="icon icon-document-attach"></i>';
}
spanoccorrenza.append(commentIcon)
@ -2708,7 +2707,7 @@ $(document).ready(function() {
var totResultN = showBadgeInCantica(resultsInCantica)
//aggiunge badge con totale risultati nel bottone lista risultati
var listIcon = ' <i class="icon-list-outline"></i>';
var listIcon = ' <i class="icon icon-list-outline"></i>';
if (totResultN > 0) {
$("#headingZero").closest('.card').attr('style', 'display: d-flex;')
var spanbadgelista = $('<span />');
@ -2756,7 +2755,7 @@ $(document).ready(function() {
function showBadgeInCantica(resultsInCantica) {
var i = 0, totResultN = 0
//var listIcon = '<i class="icon-list-outline"></i>';
//var listIcon = '<i class="icon icon-list-outline"></i>';
for (var cantica of cantiche) {
i += 1
let count = resultsInCantica.reduce((n, x) => n + (x === cantica), 0);

View File

@ -757,8 +757,8 @@ $(document).ready(function() {
// Variabili testuali per compattezza
const iconReset = '<div class="p-0 align-self-start align-items-start justify-content-end text-right"> \
<button class="btn btn-sm btn-outline-success bg-light radioReset border rounded text-success px-1 pb-0" style="margin-top: 1px !important;margin-right: 1px !important;"> \
<i class="icon-refresh-circle"></i></button></div>';
const iconCloseCond = '<div class="p-0 mr-3 mt-0 text-right text-success"><span class="iconClClass removeCond"><i class="icon-close-circle"></i></span></div>';
<i class="icon icon-refresh-circle"></i></button></div>';
const iconCloseCond = '<div class="p-0 mr-3 mt-0 text-right text-success"><span class="iconClClass removeCond"><i class="icon icon-close-circle"></i></span></div>';
const emptyClaList = '<li id="li-cla0" class="list-group-item align-items-center my-1 ui-state-default ui-state-disabled border text-muted bg-white ui-state-disabled-opacity-06 small">Nessuna clausola aggiunta.</li>';
const emptyRifList = '<li id="li-rif0" class="list-group-item align-items-center my-1 ui-state-default ui-state-disabled border text-muted bg-white ui-state-disabled-opacity-06 small">Nessuna clausola aggiunta.</li>';
const defaultCond = '<div id="cla-defaultCond" class="col-12 p-1 small font-weight-bold text-muted"> Clausole e condizioni in AND di default</div>';

File diff suppressed because it is too large Load Diff