remove splash screen
This commit is contained in:
parent
4fd5dbe695
commit
c18a39eab4
5 changed files with 3 additions and 49 deletions
|
|
@ -56,7 +56,6 @@ function applyI18n() {
|
|||
if (el.refresh) el.refresh()
|
||||
})
|
||||
document.title = t('app.title')
|
||||
qs('#loadingstatus').textContent = t('common.loading')
|
||||
}
|
||||
|
||||
function setButtonIcons() {
|
||||
|
|
@ -916,7 +915,7 @@ async function boot() {
|
|||
applyI18n()
|
||||
wireEvents()
|
||||
wireRealtime()
|
||||
qs('#loading').style.display = 'none'
|
||||
qs('#loading').remove()
|
||||
qs('#main').style.display = 'flex'
|
||||
showView('library')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,12 +7,8 @@
|
|||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<loading id="loading">
|
||||
<div class="loading-inner">
|
||||
<div class="loading-logo">PLWL</div>
|
||||
<p id="loadingstatus"></p>
|
||||
</div>
|
||||
</loading>
|
||||
<!-- empty on purpose: while booting the user sees just the background color -->
|
||||
<loading id="loading" style="display:block"></loading>
|
||||
|
||||
<main id="main" style="display:none">
|
||||
<sidebar>
|
||||
|
|
|
|||
|
|
@ -57,21 +57,6 @@ body {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.loading-inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.loading-logo {
|
||||
font-family: 'Nunito Black', 'Nunito', sans-serif;
|
||||
font-size: 4rem;
|
||||
letter-spacing: 0.3rem;
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue