Change loading animation

This commit is contained in:
Patrick Jentsch 2021-01-11 14:46:19 +01:00
parent 581fd5bcb5
commit 84ae5fd22a

View File

@ -15,10 +15,28 @@ class RessourceList {
this.user = nopaque.appClient.users.self;
}
this.list = new List(listElement, {...RessourceList.options, ...options});
this.list.list.innerHTML = `<tr class="show-if-only-child">
<td colspan="3">
<span class="card-title"><i class="left material-icons" style="font-size: inherit;">file_download</i>Nothing here...</span>
<p>No ressource available (yet).</p>
this.list.list.innerHTML = `<tr>
<td class="row" colspan="100%">
<div class="col s12">&nbsp;</div>
<div class="col s3 m2 xl1">
<div class="preloader-wrapper active">
<div class="spinner-layer spinner-green-only">
<div class="circle-clipper left">
<div class="circle"></div>
</div>
<div class="gap-patch">
<div class="circle"></div>
</div>
<div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
</div>
</div>
<div class="col s9 m6 xl5">
<span class="card-title">Preparing data...</span>
<p>No ressource available (yet).</p>
</div>
</td>
</tr>`;
}