mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +00:00
Add css app loading page
This commit is contained in:
parent
6ce9957694
commit
d5e5879340
@ -18,6 +18,32 @@ body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.loaderCenter{
|
||||
margin:0 auto;
|
||||
position: absolute;
|
||||
left:50%;
|
||||
top:50%;
|
||||
margin-left:-76px;
|
||||
margin-top:-60px;
|
||||
width:170px;
|
||||
height:120px;
|
||||
}
|
||||
.loaderSpinner {
|
||||
position: relative;
|
||||
border: 16px solid #f3f3f3;
|
||||
border-top: 16px solid #1976d2;
|
||||
border-bottom: 16px solid #9c27b0;
|
||||
border-radius: 50%;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
animation: spin 4s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.appCenter {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
@ -23,7 +23,13 @@
|
||||
</div>
|
||||
</noscript>
|
||||
<div id="main">
|
||||
<div id="app"></div>
|
||||
<div id="app">
|
||||
<div class="loaderCenter">
|
||||
<div class="loaderSpinner"></div>
|
||||
<br/>
|
||||
<div>Fetching robot parts ...</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="{% static "frontend/main.js" %}"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user