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

View File

@ -1021,7 +1021,9 @@ $(document).ready(function() {
e.preventDefault(); e.preventDefault();
$('.labelVai span').html("Vai a:"); $('.labelVai span').html("Vai a:");
$('.searchCosa').attr('style', "display:none;") $('.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) { jQuery(document).delegate('a.filtraPer', 'click', function(e) {
@ -1065,6 +1067,11 @@ $(document).ready(function() {
} }
execMySparqlQuery(new sparqlGenerator().stringify(spquery)); 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() { $(':radio[name=lemma_forma]').change(function() {
@ -1096,9 +1103,12 @@ $(document).ready(function() {
$('#lemmaCheck').prop('checked', false); $('#lemmaCheck').prop('checked', false);
$('#formaCheck').prop('checked', false); $('#formaCheck').prop('checked', false);
$('#grammarbutton').attr('style', "display:none;");
$('#quitGoButton').attr('style', "display:block;");
$('#searchValue').val(""); $('#searchValue').val("");
$('#stringaRadio').attr('checked', true).click(); $('#stringaRadio').attr('checked', true).click();
$(this).prop('disabled', true); //$(this).prop('disabled', true);
$('#FiltriGrafici').attr('style', "display:none;") $('#FiltriGrafici').attr('style', "display:none;")
filtraPerOpen = false; filtraPerOpen = false;