Cambiata gestione icone, aggiunto codice per stampa (ancora incompleto)
This commit is contained in:
parent
265a6097d9
commit
31fda84b3d
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 1.4 MiB |
Binary file not shown.
Binary file not shown.
|
@ -18,7 +18,7 @@
|
|||
<link rel="stylesheet" id="style2-Custom" href="./css/custom2_4.3.css">
|
||||
<link rel="stylesheet" href="./css/collapsemod.css">
|
||||
<link rel="stylesheet" href="./css/bootstrap-slider.css">
|
||||
|
||||
<link rel="stylesheet" href="./css/ionicons.css">
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
|
||||
<script
|
||||
|
@ -199,7 +199,7 @@
|
|||
<div class="btn-group btn-group-sm my-1" role="group">
|
||||
<label
|
||||
class="input-group-text border-top border-bottom border-right-0 border-left rounded"
|
||||
style="border-radius: 0;"><ion-icon name="print"></ion-icon></label>
|
||||
style="border-radius: 0;"><i class="icon-print"></i></label>
|
||||
<button id="stampa1" type="submit" data-toggle="dropdown"
|
||||
class=" btn btn-sm btn-outline-primary border border-left-0 rounded">
|
||||
<span class="h6 font-weight-bold">Stampa</span>
|
||||
|
@ -218,8 +218,8 @@
|
|||
Ricerca
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right mt-2" aria-labelledby="navbarDropdown">
|
||||
<a class="dropdown-item my-2 disabled" href="#" id="searchSimple"><ion-icon name="checkmark-outline" id="checkmarkSimple" style="opacity: 1;"></ion-icon> Semplice</a>
|
||||
<a class="dropdown-item my-2" href="#" id="searchAdvanced"><ion-icon name="checkmark-outline" id="checkmarkAdvanced" style="opacity: 0;"></ion-icon> Avanzata</a>
|
||||
<a class="dropdown-item my-2 disabled" href="#" id="searchSimple"><i class="icon-checkmark-outline" id="checkmarkSimple" style="opacity: 1;"></i> Semplice</a>
|
||||
<a class="dropdown-item my-2" href="#" id="searchAdvanced"><i class="icon-checkmark-outline" id="checkmarkAdvanced" style="opacity: 0;"></i> Avanzata</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item my-2" href="./sparql/" target="_blank" id="searchSPARQL">SPARQL editor</a>
|
||||
</div>
|
||||
|
@ -562,11 +562,11 @@
|
|||
|
||||
<ul class="nav nav-tabs" id="tab-list" role="tablist">
|
||||
<li class="nav-item" role="presentation">
|
||||
<a class="nav-link py-1 active" id="vis0-tab" data-toggle="tab" href="#vis0" role="tab" aria-controls="vis0" aria-selected="true"><span class=" btn-link"><ion-icon name="document-attach"></ion-icon></span>
|
||||
<a class="nav-link py-1 active" id="vis0-tab" data-toggle="tab" href="#vis0" role="tab" aria-controls="vis0" aria-selected="true"><span class=" btn-link"><i class="icon-document-attach"></i></span>
|
||||
<span class="h6 btn-link" id="tabRiferimenti"> Riferimenti</span></a>
|
||||
</li>
|
||||
<li class="nav-item" role="presentation">
|
||||
<a class="nav-link py-1" id="vis1-tab" data-toggle="tab" href="#vis1" role="tab" aria-controls="vis1" aria-selected="true"><span class=" btn-link"><ion-icon name="analytics"></ion-icon></span>
|
||||
<a class="nav-link py-1" id="vis1-tab" data-toggle="tab" href="#vis1" role="tab" aria-controls="vis1" aria-selected="true"><span class=" btn-link"><i class="icon-analytics"></i></span>
|
||||
<span class="h6 btn-link"> Periodo</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -604,7 +604,7 @@
|
|||
<div class="d-flex flex-wrap-reverse ml-auto align-items-center justify-content-end px-1 pt-1 pb-0">
|
||||
<button id="closeStruct0"
|
||||
class="btn btn-sm btn-outline-warning btn-outline-warning-mod closeStruct rounded text-warning align-self-end noPrintA px-1 pb-0 ml-1 mb-1">
|
||||
<ion-icon name="close-circle"></ion-icon>
|
||||
<i class="icon-close-circle"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -656,7 +656,7 @@
|
|||
</div>
|
||||
<button class="btn btn-sm btn-secondary" type="submit"
|
||||
id='searchcomm'>
|
||||
<ion-icon name="search"></ion-icon>
|
||||
<i class="icon-search"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -667,9 +667,10 @@
|
|||
class="text-left pr-3 pl-1 pt-1 d-sm-inline flex-nowrap align-text-bottom">
|
||||
<input style="display: none;" type="file" id="apriFile">
|
||||
<span
|
||||
class="border border-success rounded bg-light p-1 mb-1 align-text-bottom"><ion-icon
|
||||
name="save-outline" class="curPoint"></ion-icon> <ion-icon
|
||||
name="folder-open-outline" class="curPoint"></ion-icon> </span>
|
||||
class="border border-success rounded bg-light p-1 mb-1 align-text-bottom">
|
||||
<i class="icon-save-outline curPoint"></i>
|
||||
<i class="icon-folder-open-outline curPoint"></i> </span>
|
||||
|
||||
</div>
|
||||
<div class="btn-group d-sm-inline flex-nowrap p-0 pr-1" role="group"
|
||||
aria-label="Bottoni Ricerca Avanzata">
|
||||
|
@ -688,7 +689,7 @@
|
|||
</div>
|
||||
<button class="btn btn-sm btn-success border ml-2 mr-1" type="submit"
|
||||
id='searchcomm2'>
|
||||
<ion-icon name="search" class="px-2"></ion-icon>
|
||||
<i class="icon-search" class="px-2"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
@ -715,8 +716,7 @@
|
|||
<div class="input-group input-group-sm px-1 pt-1" style="max-width: 150px;">
|
||||
<div class="input-group-prepend">
|
||||
<label
|
||||
class="input-group-text border-right-0 border-success"><ion-icon
|
||||
name="receipt-outline"></ion-icon></label>
|
||||
class="input-group-text border-right-0 border-success"><i class="icon-receipt-outline"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="custom-select text-muted bg-light border border-success btn-outline-success "
|
||||
|
@ -751,8 +751,7 @@
|
|||
</button>
|
||||
<label
|
||||
class="input-group-text border-top border-bottom border-right-0 border-left-0 border-success"
|
||||
style="border-radius: 0;"><ion-icon
|
||||
name="extension-puzzle"></ion-icon></label>
|
||||
style="border-radius: 0;"><i class="icon-extension-puzzle"></i></label>
|
||||
<button id="btnAddCond" type="button"
|
||||
class="addCCbtn btn btn-sm btn-outline-success bg-light">
|
||||
<span class="text-muted">AND/OR</span>
|
||||
|
@ -814,8 +813,7 @@
|
|||
</button>
|
||||
<label
|
||||
class="input-group-text border-top border-bottom border-right-0 border-left-0 border-success"
|
||||
style="border-radius: 0;"><ion-icon
|
||||
name="extension-puzzle"></ion-icon></label>
|
||||
style="border-radius: 0;"><i class="icon-extension-puzzle"></i></label>
|
||||
<button id="btnAddRifCond" type="button"
|
||||
class="addCCbtn btn btn-sm btn-outline-success bg-light">
|
||||
<span class="text-muted">AND/OR</span>
|
||||
|
@ -889,8 +887,7 @@
|
|||
<div class="form-group form-inline input-group pt-3 px-2 m-0"
|
||||
action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon
|
||||
name="document-text"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-document-text"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -917,7 +914,7 @@
|
|||
grammaticale:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon name="options"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-options"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm catgram monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -969,7 +966,7 @@
|
|||
sintattico:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon name="options"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-options"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -1553,7 +1550,7 @@
|
|||
subordinazione:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon name="options"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-options"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -1925,7 +1922,7 @@
|
|||
<button id="trashClaCont-xX0"
|
||||
class="btn btn-sm btn-outline-secondary bg-light trashClaCont border rounded text-secondary px-1 pb-0"
|
||||
style="z-index: 90">
|
||||
<ion-icon name="refresh-circle"></ion-icon>
|
||||
<i class="icon-refresh-circle"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1965,15 +1962,15 @@
|
|||
class="col-auto pb-0 pl-2 pr-1 pt-1 align-top flex-grow-1 align-self-start justify-content-end text-right bd-highlight text-success editCla"
|
||||
id="headingCxX1Xx">
|
||||
<div style="height: 32px; width: 40px;"
|
||||
class="custom-switch p-0 align-self-end text-right text-success">
|
||||
class="custom-switch p-0 align-self-end text-right text-success noPrintA">
|
||||
<input type="checkbox" class="custom-control-input claAct align-self-end text-success border-success btn-success curPoint"
|
||||
name="cla-attiva" aria-label="attiva" id="actiClaSWxX3Xx"><label class="custom-control-label form-control-sm text-success p-0 curPoint"
|
||||
for="actiClaSWxX3Xx"></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-auto p-0 m-0 text-right text-success">
|
||||
<button class="btn btn-sm removeCla text-success border rounded px-1 pb-0" style="z-index: 90" id="removeClaxX3Xx">
|
||||
<ion-icon name="close-circle"></ion-icon>
|
||||
<button class="btn btn-sm removeCla noPrintA text-success border rounded px-1 pb-0" style="z-index: 90" id="removeClaxX3Xx">
|
||||
<i class="icon-close-circle"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1988,7 +1985,7 @@
|
|||
class="btn btn-sm btn-link claCollBtn collapsed px-4 pb-0 border text-success btn-outline-success bg-light"
|
||||
data-toggle="collapse" data-target="#collapseClaxX1Xx"
|
||||
aria-expanded="false" aria-controls="collapseClaxX1Xx">
|
||||
<ion-icon name="pencil"></ion-icon>
|
||||
<i class="icon-pencil"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2022,7 +2019,7 @@
|
|||
class="col-auto pb-0 pl-2 pr-1 pt-1 align-top flex-grow-1 align-self-start justify-content-end text-right bd-highlight text-success editCla"
|
||||
id="headingCxR1Rx">
|
||||
<div style="height: 32px; width: 40px;"
|
||||
class="custom-switch p-0 align-self-end text-right text-success">
|
||||
class="custom-switch p-0 align-self-end text-right text-success noPrintA">
|
||||
<input type="checkbox"
|
||||
class="custom-control-input claAct align-self-end text-success border-success btn-success curPoint"
|
||||
name="cla-attiva" aria-label="attiva" id="actiRifSWxR3Rx"><label
|
||||
|
@ -2032,9 +2029,9 @@
|
|||
</div>
|
||||
<div class="col-md-auto p-0 m-0 text-right text-success">
|
||||
<button
|
||||
class="btn btn-sm removeCla text-success border rounded px-1 pb-0"
|
||||
class="btn btn-sm removeCla noPrintA text-success border rounded px-1 pb-0"
|
||||
style="z-index: 90" id="removeRifxR3Rx">
|
||||
<ion-icon name="close-circle"></ion-icon>
|
||||
<i class="icon-close-circle"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2049,7 +2046,7 @@
|
|||
class="btn btn-sm btn-link claCollBtn collapsed px-4 pb-0 border text-success btn-outline-success bg-light"
|
||||
data-toggle="collapse" data-target="#collapseClaxR1Rx"
|
||||
aria-expanded="false" aria-controls="collapseClaxR1Rx">
|
||||
<ion-icon name="pencil"></ion-icon>
|
||||
<i class="icon-pencil"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2073,8 +2070,7 @@
|
|||
class="text-muted control-label small pl-2 pt-2 m-0">Commentatore:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon
|
||||
name="options"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-options"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm catgram monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -2090,8 +2086,7 @@
|
|||
class="text-muted control-label small pl-2 pt-2 m-0">Fonte:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon
|
||||
name="options"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-options"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm catgram monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -2107,8 +2102,7 @@
|
|||
della fonte:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon
|
||||
name="options"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-options"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm catgram monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -2125,8 +2119,7 @@
|
|||
tematica:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon
|
||||
name="options"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-options"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm catgram monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -2143,8 +2136,7 @@
|
|||
della fonte:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon
|
||||
name="document-text"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-document-text"></i></label>
|
||||
</div>
|
||||
<input type="text" class="form-control form-control-sm monMe"
|
||||
id="Testo_FontexR1Rx"
|
||||
|
@ -2159,8 +2151,7 @@
|
|||
riferimento:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon
|
||||
name="options"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-options"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm catgram monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -2201,8 +2192,7 @@
|
|||
del riferimento:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon
|
||||
name="options"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-options"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm catgram monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -2226,8 +2216,7 @@
|
|||
testo/fonte:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon
|
||||
name="options"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-options"></i></label>
|
||||
</div>
|
||||
<select
|
||||
class="form-control custom-select custom-select-sm catgram monMe bg-light text-muted border btn-outline-success"
|
||||
|
@ -2247,8 +2236,7 @@
|
|||
della nota:</label>
|
||||
<div class="form-inline input-group px-1 pt-1" action="">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text"><ion-icon
|
||||
name="document-text"></ion-icon></label>
|
||||
<label class="input-group-text"><i class="icon-document-text"></i></label>
|
||||
</div>
|
||||
<input type="text" class="form-control form-control-sm monMe"
|
||||
id="Testo_NotaxR1Rx"
|
||||
|
@ -2288,7 +2276,7 @@
|
|||
</div>
|
||||
<div class="col-md-auto p-0 mr-2 mt-0 text-right text-success">
|
||||
<button class="btn btn-sm btn-outline-success iconClClass removeCond text-success border rounded px-1 pb-0" style="z-index: 90">
|
||||
<ion-icon name="close-circle"></ion-icon>
|
||||
<i class="icon-close-circle"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2309,8 +2297,6 @@
|
|||
<div id="printArea" style="display: none">
|
||||
</div>
|
||||
|
||||
<script type="module" src="https://cdn.jsdelivr.net/npm/ionicons@latest/dist/ionicons/ionicons.esm.js"></script>
|
||||
<script nomodule src="https://cdn.jsdelivr.net/npm/ionicons@latest/dist/ionicons/ionicons.js"></script>
|
||||
<script src="./js/lib/jquery.popuplayer.js"></script>
|
||||
</body>
|
||||
|
||||
|
|
|
@ -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 = '<ion-icon name="expand-outline"></ion-icon>';
|
||||
var expandIcon = '<i class="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 = '<ion-icon name="contract-outline"></ion-icon>';
|
||||
var reduceIcon = '<i class="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">' +
|
||||
'<ion-icon name="close-circle"></ion-icon>');
|
||||
'<i class="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 + '">' +
|
||||
'<ion-icon name="archive"></ion-icon>');
|
||||
'<i class="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">'+
|
||||
// '<ion-icon name="close-circle"></ion-icon>');
|
||||
// '<i class="icon-close-circle"></i>');
|
||||
collapseButton.appendTo(buttons);
|
||||
//closeButton.appendTo(buttons);
|
||||
|
||||
|
@ -1389,6 +1389,7 @@ $(document).ready(function() {
|
|||
} else {
|
||||
rigaNota.append('<b>Autore della fonte:</b> <i>' + nomeAutore + '</i>');
|
||||
}
|
||||
console.log(nomeAutore);
|
||||
if (comments.TitoloFonteCitazione == null) {
|
||||
titoloFonte = "riferimento";
|
||||
} else {
|
||||
|
@ -1879,7 +1880,7 @@ $(document).ready(function() {
|
|||
$("#vistaFrasi").attr('style', 'display: d-flex;');
|
||||
cantoDisplayed = "#vistaFrasi";
|
||||
}
|
||||
var listIcon = ' <ion-icon name="list-outline"></ion-icon>';
|
||||
var listIcon = ' <i class="icon-list-outline"></i>';
|
||||
if (listaRisultatiCommenti.length > 0) {
|
||||
$("#headingZero").closest('.card').attr('style', 'display: d-flex;')
|
||||
var spanbadgelista = $('<span />');
|
||||
|
@ -1903,12 +1904,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 = '<ion-icon name="funnel"></ion-icon>';
|
||||
var filterIcon1 = '<ion-icon name="funnel"></ion-icon>';
|
||||
var filterIcon = '<i class="icon-funnel"></i>';
|
||||
var filterIcon1 = '<i class="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 = '<ion-icon name="close"></ion-icon>';
|
||||
var removeFilter = '<i class="icon-close"></i>';
|
||||
filterButton1.append(filterIcon1)
|
||||
filterButton1.append(removeFilter)
|
||||
|
||||
|
@ -2246,7 +2247,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 = '<ion-icon name="document-attach"></ion-icon>';
|
||||
var commentIcon = '<i class="icon-document-attach"></i>';
|
||||
|
||||
proemiooccorrenza.append(commentIcon)
|
||||
|
||||
|
@ -2266,9 +2267,9 @@ $(document).ready(function() {
|
|||
|
||||
}
|
||||
if (numberOfComments > 1) {
|
||||
var commentIcon = '<ion-icon name="document-attach"></ion-icon><ion-icon name="add-circle-outline"></ion-icon>';
|
||||
var commentIcon = '<i class="icon-document-attach"></i><i class="icon-add-circle-outline"></i>';
|
||||
} else {
|
||||
var commentIcon = '<ion-icon name="document-attach"></ion-icon>';
|
||||
var commentIcon = '<i class="icon-document-attach"></i>';
|
||||
}
|
||||
|
||||
spanoccorrenza.append(commentIcon)
|
||||
|
@ -2707,7 +2708,7 @@ $(document).ready(function() {
|
|||
var totResultN = showBadgeInCantica(resultsInCantica)
|
||||
|
||||
//aggiunge badge con totale risultati nel bottone lista risultati
|
||||
var listIcon = ' <ion-icon name="list-outline"></ion-icon>';
|
||||
var listIcon = ' <i class="icon-list-outline"></i>';
|
||||
if (totResultN > 0) {
|
||||
$("#headingZero").closest('.card').attr('style', 'display: d-flex;')
|
||||
var spanbadgelista = $('<span />');
|
||||
|
@ -2755,7 +2756,7 @@ $(document).ready(function() {
|
|||
|
||||
function showBadgeInCantica(resultsInCantica) {
|
||||
var i = 0, totResultN = 0
|
||||
//var listIcon = '<ion-icon name="list-outline"></ion-icon>';
|
||||
//var listIcon = '<i class="icon-list-outline"></i>';
|
||||
for (var cantica of cantiche) {
|
||||
i += 1
|
||||
let count = resultsInCantica.reduce((n, x) => n + (x === cantica), 0);
|
||||
|
|
|
@ -10,7 +10,8 @@ const minimapviewerId = '#minimapviewer';
|
|||
const displayminimapId = '#displayminimap';
|
||||
const visCantoClass = '.visCanto';
|
||||
const fillerClass = '.filler';
|
||||
const bodyScript = '<script type="module" src="https://cdn.jsdelivr.net/npm/ionicons@latest/dist/ionicons/ionicons.esm.js"></script> <script nomodule src="https://cdn.jsdelivr.net/npm/ionicons@latest/dist/ionicons/ionicons.js"></script>'
|
||||
//const bodyScript = '<script type="module" src="./ionicons-master/ionicons.esm.js"></script> <script nomodule src="./ionicons-master/ionicons.js"></script>'
|
||||
const bodyScript = ''
|
||||
const cssTableMainHeightBis = 0.95;
|
||||
|
||||
let minimap = document.createElement('div');
|
||||
|
|
|
@ -461,7 +461,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
// Evento: click sull'icona di save local
|
||||
$('#advancedSearchDiv').on('click', 'ion-icon[name="save-outline"]', function() {
|
||||
$('#advancedSearchDiv').on('click', 'i.icon-save-outline', function() {
|
||||
var fileA = document.createElement("a");
|
||||
fileA.href = window.URL.createObjectURL(new Blob([JSON.stringify(queryJson)], {type: "text/plain;charset=utf-8"}));
|
||||
fileA.download = "LiDaQuery.txt";
|
||||
|
@ -470,7 +470,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
// Evento: click sull'icona di load local
|
||||
$('#advancedSearchDiv').on('click', 'ion-icon[name="folder-open-outline"]', function() {
|
||||
$('#advancedSearchDiv').on('click', 'i.icon-folder-open-outline', function() {
|
||||
$('#apriFile').click();
|
||||
});
|
||||
|
||||
|
@ -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;"> \
|
||||
<ion-icon name="refresh-circle"></ion-icon></button></div>';
|
||||
const iconCloseCond = '<div class="p-0 mr-3 mt-0 text-right text-success"><span class="iconClClass removeCond"><ion-icon name="close-circle"></ion-icon></span></div>';
|
||||
<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>';
|
||||
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>';
|
||||
|
@ -807,6 +807,7 @@ $(document).ready(function() {
|
|||
case "cantoCorrente":
|
||||
element = $('.canto[style*="display: d-flex"]')
|
||||
content = $(element).clone(true);
|
||||
$(content).addClass("blog-main");
|
||||
if (needSeparator > 0){
|
||||
//insert separator
|
||||
}
|
||||
|
@ -863,6 +864,15 @@ $(document).ready(function() {
|
|||
content = $(element).clone(true);
|
||||
$(content).find('.noPrintA').remove()
|
||||
$(content).find('.noPrintB').removeClass('show')
|
||||
var srcVal = $("#rigaRicerca #unitaRicerca")[0].options[$("#rigaRicerca #unitaRicerca")[0].selectedIndex].value;
|
||||
var dstSelect = $(content).find("#unitaRicerca");
|
||||
$(dstSelect).val(srcVal);
|
||||
var srcSelects = $('#rigaRicerca').find("select.condType");
|
||||
$(srcSelects).each(function(i) {
|
||||
srcVal = $(this)[0].options[$(this)[0].selectedIndex].value;
|
||||
dstSelect = $(content).find("select.condType").eq(i)[0];
|
||||
$(dstSelect).val(srcVal)
|
||||
});
|
||||
if (needSeparator > 0){
|
||||
//insert separator
|
||||
};
|
||||
|
@ -885,7 +895,8 @@ $(document).ready(function() {
|
|||
if (needSeparator > 0){
|
||||
//insert separator
|
||||
};
|
||||
showRiferimentiFrasi(1, numeroContesti, div2print)
|
||||
console.log(numeroContesti)
|
||||
showRiferimentiFrasi(0, numeroContesti, div2print)
|
||||
//$(div2print).find('.noPrintA').remove()
|
||||
$(div2print).find('.noPrintA').css({display:'none'});
|
||||
result = 1;
|
||||
|
@ -1525,7 +1536,7 @@ $(document).ready(function() {
|
|||
});
|
||||
$(placeholderID).fadeTo(100, 0.9).fadeTo(300, 0.6);
|
||||
};
|
||||
$(iconBtn).attr("class", "btn btn-sm iconClClass NOremoveCond text-muted border rounded px-1 pb-0");
|
||||
$(iconBtn).attr("class", "btn btn-sm iconClClass NOremoveCond noPrintA text-muted border rounded px-1 pb-0");
|
||||
$(iconBtn).prop("disabled", true);
|
||||
$(iconDiv).attr("class", "col-md-auto p-0 mr-2 mt-0 text-right text-muted");
|
||||
break;
|
||||
|
@ -1535,7 +1546,7 @@ $(document).ready(function() {
|
|||
$(placeholderID).remove();
|
||||
});
|
||||
};
|
||||
$(iconBtn).attr("class", "btn btn-sm iconClClass NOremoveCond text-muted border rounded px-1 pb-0");
|
||||
$(iconBtn).attr("class", "btn btn-sm iconClClass NOremoveCond noPrintA text-muted border rounded px-1 pb-0");
|
||||
$(iconBtn).prop("disabled", true);
|
||||
$(iconDiv).attr("class", "col-md-auto p-0 mr-2 mt-0 text-right text-muted");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue