This commit is contained in:
Gergő Jedlicska
2024-09-04 02:06:18 +00:00
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -214,8 +214,7 @@ def loading_screen():
:returns: HTTP response
"""
content = render_j2_template(api_.tpl_config, 'loading_screen.html',{})
content = render_j2_template(api_.tpl_config, 'loading_screen.html',{'url': CONFIG["server"]["url"]})
return get_response((request.headers, HTTPStatus.OK, content))
+1 -1
View File
@@ -3,7 +3,7 @@
<body>
<div id="loading_screen" style="position: absolute;top:100px;left:0;right:0;width: fit-content;margin-inline: auto;height:200px;">
<img style="height:200px;width:218.6px" src="{{ config['server']['url'] }}/static/img/speckle_cube_loading.gif" alt="Loading data.." >
<img style="height:200px;width:218.6px" src="{{ data['url'] }}/static/img/speckle_cube_loading.gif" alt="Loading data.." >
<h3 style="margin-bottom: 0px;font-family: 'Verdana'; text-align: center; color:rgb(40, 127, 209);font-size: x-large;">"I'm on my way!"</h3>
<p style="font-family: 'Verdana'; text-align: right; color:rgb(40, 127, 209)">- your data </p>
</div>