Fissato bug , modificata grafica badge risultati
This commit is contained in:
parent
16e8cb98aa
commit
03b79ed91f
|
@ -75,7 +75,7 @@ html, body {
|
|||
border-bottom-style: double !important;
|
||||
}
|
||||
|
||||
.badge-outline-info {
|
||||
.badge-outline-info, .badge-outline-warning {
|
||||
padding: .1rem .15rem;
|
||||
margin-left: .15rem;
|
||||
margin-right: .2rem;
|
||||
|
@ -343,6 +343,10 @@ li::marker {
|
|||
color: #734450;
|
||||
border-color: #734450;
|
||||
}
|
||||
.badge-outline-warning {
|
||||
color: #325a7d;
|
||||
border-color: #325a7d;
|
||||
}
|
||||
.navig-canto:hover, .citazioneFrase:hover {
|
||||
color: #734450 !important;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ $(document).ready(function() {
|
|||
lsid='';
|
||||
removeGraph=false;
|
||||
|
||||
const cantobadgeclass = 'badge badge-outline-info badge-pill'
|
||||
const cantobadgeclass = 'badge badge-outline-warning badge-pill'
|
||||
|
||||
const sparqlGenerator = sparqljs.Generator;
|
||||
const myEngine = new Comunica.QueryEngine();
|
||||
|
@ -775,12 +775,14 @@ function resetFrasi(){
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
function removeHtmlTags(value){
|
||||
var text = value;
|
||||
if (text != null){
|
||||
text = text.replace(/<(.|\n)*?>/g, '');
|
||||
text = text.replace("«","");
|
||||
text = text.replace("»","");
|
||||
text = text.replace(/\ /g, ' ');
|
||||
text = text.replace(/[\r\n]+/gm, ' ');
|
||||
return text;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue