Merge branch 'master' of https://gitea-s2i2s.isti.cnr.it/concordia/LiDa_Search.git
This commit is contained in:
commit
ce1c6d783d
|
@ -241,12 +241,10 @@
|
||||||
|
|
||||||
<div class="row bg-lida10 border mx-0 p-2">
|
<div class="row bg-lida10 border mx-0 p-2">
|
||||||
|
|
||||||
<div class="col-10" style="display: flex">
|
<div class="col-10" id="simpleSearchDiv" style="display: flex">
|
||||||
<div class="form-inline input-group bg-lida10 pt-1" action="" style="display: flex">
|
<div class="form-inline input-group bg-lida10 pt-1" action="" style="display: flex">
|
||||||
<form class="form-inline">
|
|
||||||
<input class="form-control-sm mr-sm-2" type="text" id="queryText" placeholder="Cerca">
|
<input class="form-control-sm mr-sm-2" type="text" id="queryText" placeholder="Cerca">
|
||||||
<button class="btn btn-sm btn-lida4 my-2 my-sm-0" type="submit" id='searchcomm'>Cerca</button>
|
<button class="btn btn-sm btn-lida4 my-2 my-sm-0" type="submit" id='searchcomm'>Cerca</button>
|
||||||
</form>
|
|
||||||
<button class="btn btn-sm btn-outline-lida4 m-2 my-sm-0" type="button" data-toggle="collapse" data-target="#collapseOptions" aria-expanded="false" aria-controls="collapseExample">
|
<button class="btn btn-sm btn-outline-lida4 m-2 my-sm-0" type="button" data-toggle="collapse" data-target="#collapseOptions" aria-expanded="false" aria-controls="collapseExample">
|
||||||
Opzioni
|
Opzioni
|
||||||
</button>
|
</button>
|
||||||
|
@ -256,10 +254,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-10" style="display: none">
|
<div class="col-10" id="advancedSearchDiv" style="display: none">
|
||||||
|
<div class="btn-group pt-1 mx-2 " role="group" aria-label="Bottoni menu clausole">
|
||||||
<div class="btn-group pt-1 my-2 " role="group" aria-label="Bottoni menu clausole">
|
|
||||||
<label class="input-group-text"><ion-icon name="filter-circle"></ion-icon></label>
|
|
||||||
<div class="btn-group dropright" role="group">
|
<div class="btn-group dropright" role="group">
|
||||||
<button id="btnGroupDrop1" type="button" class="btn btn-sm btn-outline-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Aggiungi clausola di tipo: </button>
|
<button id="btnGroupDrop1" type="button" class="btn btn-sm btn-outline-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Aggiungi clausola di tipo: </button>
|
||||||
<div class="dropdown-menu" aria-labelledby="btnGroupDrop1">
|
<div class="dropdown-menu" aria-labelledby="btnGroupDrop1">
|
||||||
|
@ -269,8 +265,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group pt-1 my-2" role="group" aria-label="Bottoni menu logiche">
|
<div class="btn-group pt-1 mx-2" role="group" aria-label="Bottoni menu logiche">
|
||||||
<label class="input-group-text"><ion-icon name="cog"></ion-icon></label>
|
|
||||||
<div class="btn-group dropright" role="group">
|
<div class="btn-group dropright" role="group">
|
||||||
<button id="btnGroupDrop2" type="button" class="btn btn-sm btn-outline-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Aggiungi condizione logica: </button>
|
<button id="btnGroupDrop2" type="button" class="btn btn-sm btn-outline-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Aggiungi condizione logica: </button>
|
||||||
<div class="dropdown-menu" aria-labelledby="btnGroupDrop2" style="">
|
<div class="dropdown-menu" aria-labelledby="btnGroupDrop2" style="">
|
||||||
|
@ -279,9 +274,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<form class="form-inline">
|
|
||||||
<button class="btn btn-sm btn-lida4 m-2 my-sm-0" type="submit" id='searchcomm2'>Cerca</button>
|
<button class="btn btn-sm btn-lida4 m-2 my-sm-0" type="submit" id='searchcomm2'>Cerca</button>
|
||||||
</form>
|
|
||||||
<button class="btn btn-sm btn-outline-lida4 m-2 my-sm-0" type="submit" id='cleanresult2' aria-expanded="false" aria-controls="collapseExample">
|
<button class="btn btn-sm btn-outline-lida4 m-2 my-sm-0" type="submit" id='cleanresult2' aria-expanded="false" aria-controls="collapseExample">
|
||||||
Reset
|
Reset
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -10,6 +10,17 @@ require("../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js");
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
$("#advanSW").on('change', function() {
|
||||||
|
if ($(this).prop('checked')) {
|
||||||
|
$("#simpleSearchDiv").attr('style', "display: none;");
|
||||||
|
$("#collapseOptions").collapse('hide');
|
||||||
|
$("#advancedSearchDiv").attr('style', "display: flex;");
|
||||||
|
} else {
|
||||||
|
$("#simpleSearchDiv").attr('style', "display: flex;");
|
||||||
|
$("#advancedSearchDiv").attr('style', "display: none;");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
$("#copiaTesto").prop("disabled", true);
|
$("#copiaTesto").prop("disabled", true);
|
||||||
|
|
||||||
// Evento: click sul bottone di copia dei risultati testuali
|
// Evento: click sul bottone di copia dei risultati testuali
|
||||||
|
|
Loading…
Reference in New Issue