Commit b4fa6a5c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

uploading of the page with low internet connection speed produced empty screen...

uploading of the page with low internet connection speed produced empty screen for several seconds/minutes
parent 4b5a0194
Pipeline #17293 failed with stage
in 11 minutes and 28 seconds
......@@ -5,6 +5,9 @@ minerva (14.0.5) stable; urgency=medium
(#1029)
* Bug fix: uploading a map that breaks postgres constraints hung upload of
the project (#1028)
* Bug fix: uploading of the page with low internet connection speed could
produce empty screen for several seconds/minutes - now the loading icon is
present (#1025)
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 02 Dec 2019 16:00:00 +0200
......
......@@ -3,25 +3,24 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
>
xmlns:f="http://java.sun.com/jsf/core">
<f:view contentType="text/html">
<h:head>
<h:outputStylesheet library="css" name="minerva.css" />
<h:outputStylesheet library="css" name="style.css"/>
<h:outputStylesheet library="css" name="style.css" />
<link rel="shortcut icon" href="./resources/images/favicon.png" type="image/png" />
<link rel="shortcut icon" href="./resources/images/favicon.png"
type="image/png" />
<h:outputScript library="js" name="BrowserCheck.js" />
<h:outputScript library="js" name="minerva.js" />
<h:outputScript library="js" name="minerva.js" target="body" />
<script type="text/javascript">
//<![CDATA[
function initMap(){
BrowserCheck();
var element = document.getElementById('minervaAppDiv');
......@@ -38,9 +37,14 @@
//]]>
</script>
</h:head>
<h:body onload="initMap();" >
<div id="minervaAppDiv" style="height: 100%;width: 100%;margin: 0;"></div>
<h:body onload="initMap();">
<div id="minervaAppDiv" style="height: 100%; width: 100%; margin: 0;">
<div style='position: relative; width: 100%; height: 100%'>
<img src='resources/images/icons/ajax-loader.gif'
style='position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto;' />
</div>
</div>
</h:body>
</f:view>
</html>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment