inserimento parentesi

This commit is contained in:
nicola 2025-01-27 19:06:20 +01:00
parent a68d31bea9
commit e64e856f30
2 changed files with 19 additions and 1 deletions

View File

@ -1994,6 +1994,10 @@
class="addCCbtn btn btn-md bg-secondary text-white">
<span class="text-white">OR</span>
</button>
<button id="btnParentesi" type="button"
class="addCCbtn btn btn-md bg-secondary text-white">
<span class="text-white">( )</span>
</button>
</div>
</div>
</div>
@ -2021,18 +2025,25 @@
<!-- LI CLAUSOLA -->
<li id="li-claxX1Xx" style="display: none;"
class="claLI card mx-0 my-1 py-1 px-0 list-group-item align-items-center border text-muted bg-lida-vis">
<h3 class="text-primary " id="parentesiApertaxX1Xx" style="display: none;">(</h3>
<div class="handle container p-0 pl-1">
<div
class="row no-gutters flex-nowrap align-items-start justify-content-between">
<div class="col-md-auto pl-0 pr-1 align-self-start">
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span>
</div>
<div style="min-height: 64px;"
class="col-md-auto pl-0 pr-2 pb-2 flex-fill align-self-start">
<span class="small clatext">xX2Xx<br> <br></span>
</div>
<div
class="col-md-auto px-1 align-self-start justify-content-end">
<div class="row no-gutters flex-nowrap justify-content-end">
<div
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"
@ -2054,8 +2065,11 @@
</button>
</div>
</div>
</div>
</div>
<h3 class="text-primary " id="parentesiChiusaxX1Xx" style="display: none;">)<br></h3>
<div
class="row no-gutters flex-nowrap align-items-start justify-content-end">
<div class="col-auto flex-fill align-self-start"></div>
@ -2067,6 +2081,7 @@
aria-expanded="false" aria-controls="collapseClaxX1Xx">
<ion-icon name="pencil"></ion-icon>
</button>
</div>
</div>
</div>

View File

@ -67,7 +67,10 @@ $(document).ready(function() {
var newStyle = $(this)[0].id;
setStyle(newStyle);
});
$('#btnParentesi').on('click', function() {
$("#parentesiAperta1").attr('style', "display: d-flex;");
$("#parentesiChiusa2").attr('style', "display: d-flex;");
});
// Evento: click sulla voce about del menu info
$("#visAbout").PopupLayer({