alcune cambiamenti grafici

This commit is contained in:
nicola 2022-11-02 17:57:51 +01:00
parent 3eef2afeba
commit 957911c635
2 changed files with 29 additions and 9 deletions

View File

@ -168,10 +168,16 @@
</div>
<div class="fl w-100 ph0">
<input id="searchValue"
class="input-reset ba b--black-20 pa2 mb2 db w-100"
class="input-reset ba b--black-20 pa1 mb2 db w-100"
type="text" aria-describedby="name-desc" name="query"
value="">
</div>
<br>
<div style="width: 100%; display: none" id="quitGoButton" class="pa2" >
<button id="searchQuit" type="button" style="width: 88px;">Annulla</button>
<br>
<button id="searchGo" type="button" style="width: 88px;">Vai !</button>
</div>
</div>
<div class="availability f3 b">
@ -190,11 +196,11 @@
src="./images/settingsSintattico.png"></a>
<span>Tipo Sintattico</span>
</div>
<div style="width: 100%;">
<br>
<button id="searchQuit" type="button" style="width: 88px;">Annulla</button>
<button id="searchGo" type="button" style="width: 88px;">Vai !</button>
</div>
<!-- <div style="width: 100%;" class="pb2"> -->
<!-- <br> -->
<!-- <button id="searchQuit" type="button" style="width: 88px;">Annulla</button> -->
<!-- <button id="searchGo" type="button" style="width: 88px;">Vai !</button> -->
<!-- </div> -->
</div>
</div>
<div class="flex flex-wrap" id='dettaglifiltri'></div>
@ -331,6 +337,10 @@
</p>
</div>
<div style="width: 100%; display: none" id="quitGoButton" >
<button id="searchQuit" type="button" style="width: 88px;">Annulla</button>
<button id="searchGo" type="button" style="width: 88px;">Vai !</button>
</div>
</div>
<!-- <div class="fl w-100 w-20-ns pa4" id='tuttiFiltri'> -->

View File

@ -1021,7 +1021,9 @@ $(document).ready(function() {
e.preventDefault();
$('.labelVai span').html("Vai a:");
$('.searchCosa').attr('style', "display:none;")
$('#grammarbutton').prop('disabled', false);
$('#grammarbutton').attr('style', "display:block; width: 51px; height: 51px;");
$('#quitGoButton').attr('style', "display:none;");
});
jQuery(document).delegate('a.filtraPer', 'click', function(e) {
@ -1052,7 +1054,7 @@ $(document).ready(function() {
condizioniFiltro['filtro-1'] = filtro;
}
//definizione struttura della query
condizioniFiltro = espressioneLogica(condizioniFiltro);
@ -1065,6 +1067,11 @@ $(document).ready(function() {
}
execMySparqlQuery(new sparqlGenerator().stringify(spquery));
$('.labelVai span').html("Vai a:");
$('.searchCosa').attr('style', "display:none;")
$('#grammarbutton').attr('style', "display:block; width: 51px; height: 51px;");
$('#quitGoButton').attr('style', "display:none;");
});
$(':radio[name=lemma_forma]').change(function() {
@ -1096,9 +1103,12 @@ $(document).ready(function() {
$('#lemmaCheck').prop('checked', false);
$('#formaCheck').prop('checked', false);
$('#grammarbutton').attr('style', "display:none;");
$('#quitGoButton').attr('style', "display:block;");
$('#searchValue').val("");
$('#stringaRadio').attr('checked', true).click();
$(this).prop('disabled', true);
//$(this).prop('disabled', true);
$('#FiltriGrafici').attr('style', "display:none;")
filtraPerOpen = false;