This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
// the name to use for the internal file input
|
||||
let name = "filepond";
|
||||
function handleInit() {
|
||||
console.log("FilePond has initialised");
|
||||
// console.log("FilePond has initialised");
|
||||
}
|
||||
function handleAddFile(err, fileItem) {
|
||||
console.log("A file has been added", fileItem);
|
||||
// console.log("A file has been added", fileItem);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -2,19 +2,16 @@
|
||||
import { StatsService } from "@odit/lfk-client-js";
|
||||
import { _ } from "svelte-i18n";
|
||||
const stats_promise = StatsService.statsControllerGet();
|
||||
stats_promise.then((res) => {
|
||||
console.log(res);
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- -->
|
||||
<h1>Allgemeine Statistiken</h1>
|
||||
<h1>{$_('general-stats')}</h1>
|
||||
{#await stats_promise}
|
||||
<div
|
||||
class="bg-teal-lightest border-t-4 border-teal rounded-b text-teal-darkest px-4 py-3 shadow-md my-2"
|
||||
role="alert">
|
||||
<p class="font-bold">stats are being loaded...</p>
|
||||
<p class="text-sm">This might take a moment 👀</p>
|
||||
<p class="font-bold">{$_('stats-are-being-loaded')}</p>
|
||||
<p class="text-sm">{$_('this-might-take-a-moment')}</p>
|
||||
</div>
|
||||
{:then stats}
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user