diff --git a/css/custom.css b/css/custom.css index 3f29a4a..3ff0c46 100644 --- a/css/custom.css +++ b/css/custom.css @@ -95,6 +95,13 @@ div.halfOpacity { lida5 #106e7c lida8 #fab37f lida9 #f1924e + + gifsicle --change-color 204,232,159 250,179,127 ajax-loader.gif > 1.gif + gifsicle --change-color 224,128,192 241,146,78 1.gif > 2.gif + gifsicle --change-color 127,127,127 0,150,142 2.gif > 3.gif + gifsicle --change-color 127,204,255 16,110,124 3.gif > 4.gif + gifsicle --change-color 224,255,128 74,189,140 4.gif > lida-loader.gif + */ @@ -1130,4 +1137,34 @@ a.text-lidaBG1:hover, a.text-lidaBG1:focus { background-color: #fef0e5 !important; } +/*------------------------------------ +- spinner-indicator +------------------------------------*/ + +th{ color: white; } +.modal-busy { + position: fixed; + z-index: 999; + height: 100%; + width: 100%; + top: 0; + left: 0; + background-color: Black; + filter: alpha(opacity=60); + opacity: 0.6; + -moz-opacity: 0.8; +} +.center-busy { + z-index: 1000; + margin: 300px auto; + padding: 0px; + width: 130px; + filter: alpha(opacity=100); + opacity: 1; + -moz-opacity: 1; +} +.center-busy img { + height: 128px; + width: 128px; +} diff --git a/index_Luk_Q.html b/index_Luk_Q.html index 0cfd9e0..24325f7 100644 --- a/index_Luk_Q.html +++ b/index_Luk_Q.html @@ -28,6 +28,7 @@ + @@ -64,6 +65,7 @@ @@ -724,7 +726,7 @@ - +
@@ -805,4 +807,9 @@ + \ No newline at end of file diff --git a/js/script_Luk_Q.js b/js/script_Luk_Q.js index 2c582b6..b4334a9 100644 --- a/js/script_Luk_Q.js +++ b/js/script_Luk_Q.js @@ -589,6 +589,7 @@ $(document).ready(function() { async function executeQuery(){ //execQuery = sparqlQuery3; //queryFields = queryFields3; + $("#loader").show(); bindingsStream = await myEngine.queryBindings(execQuery, { sources: [ { type: 'sparql', value: sparqlEndpoint }, ], }); $("#sparqlquery").val(execQuery); $("#copiaQuery").prop("disabled", false); @@ -617,6 +618,7 @@ $(document).ready(function() { }; resultTable = resultTable + resultTablePart4 + ''; $("#risultatitesto").append(binding.toString() + ",\n"); + $("#loader").hide(); //console.log(binding.get('form').value); //console.log(binding.get('form').termType); //console.log(binding.get('pred').value);