commentato bottone Opzioni della ricerca semplice e relativo codice html

e js
This commit is contained in:
nicola 2024-11-19 16:40:03 +01:00
parent 41024d5d41
commit f5456d2dff
2 changed files with 6 additions and 6 deletions

View File

@ -557,13 +557,13 @@
id="simpleSearchDiv" style="display: d-flex"> id="simpleSearchDiv" style="display: d-flex">
<div class="btn-group flex-nowrap p-0 pr-1" role="group" <div class="btn-group flex-nowrap p-0 pr-1" role="group"
aria-label="Bottoni Ricerca Semplice"> aria-label="Bottoni Ricerca Semplice">
<button class="btn btn-sm btn-outline-secondary bg-light" <!-- <button class="btn btn-sm btn-outline-secondary bg-light"
style="height: 32px; width: 78px;" style="height: 32px; width: 78px;"
type="button" id="showOptions" data-toggle="collapse" type="button" id="showOptions" data-toggle="collapse"
data-target="#collapseOptions" aria-expanded="false" data-target="#collapseOptions" aria-expanded="false"
aria-controls="collapseOptions"> aria-controls="collapseOptions">
<span class="text-muted">Opzioni</span> <span class="text-muted">Opzioni</span>
</button> </button> -->
<button class="btn btn-sm btn-outline-secondary bg-light ml-1" <button class="btn btn-sm btn-outline-secondary bg-light ml-1"
type="button" id='cleanresult' aria-expanded="false" type="button" id='cleanresult' aria-expanded="false"
aria-controls="collapseExample"> aria-controls="collapseExample">
@ -620,7 +620,7 @@
<div id="displayOptions" class="col-12 px-0"> <div id="displayOptions" class="col-12 px-0">
<div class="collapse" id="collapseOptions"> <!-- <div class="collapse" id="collapseOptions">
<div class="col-12 p-0"> <div class="col-12 p-0">
<div class="card card-body bg-lida08 p-2"> <div class="card card-body bg-lida08 p-2">
<div class="form-inline input-group px-1 py-2"> <div class="form-inline input-group px-1 py-2">
@ -987,7 +987,7 @@
</div> </div>
</div> </div>
</div> </div> -->
<div class="collapse" id="collapseAdvanced"> <div class="collapse" id="collapseAdvanced">

View File

@ -104,7 +104,7 @@ $(document).ready(function() {
$("#showLogic").html('<span class="font-weight-bold text-muted">Nascondi</span>'); $("#showLogic").html('<span class="font-weight-bold text-muted">Nascondi</span>');
$("#collapseAdvanced").collapse('show'); $("#collapseAdvanced").collapse('show');
}) })
/*
$('#collapseOptions').on('hidden.bs.collapse', function (e) { $('#collapseOptions').on('hidden.bs.collapse', function (e) {
if (e.target.id == "collapseOptions") { if (e.target.id == "collapseOptions") {
$("#showOptions").html('<span class="text-muted">Opzioni</span>'); $("#showOptions").html('<span class="text-muted">Opzioni</span>');
@ -113,7 +113,7 @@ $(document).ready(function() {
$('#collapseOptions').on('shown.bs.collapse', function () { $('#collapseOptions').on('shown.bs.collapse', function () {
$("#showOptions").html('<span class="font-weight-bold text-muted">Opzioni</span>'); $("#showOptions").html('<span class="font-weight-bold text-muted">Opzioni</span>');
}) })*/
$('.collapse').on('hide.bs.collapse', function (e) { $('.collapse').on('hide.bs.collapse', function (e) {
if (e.target.id.substr(0,11) == "collapseCla") { if (e.target.id.substr(0,11) == "collapseCla") {