mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-25 07:06:25 -08:00
prob should use sveltekit for this but whatever
i'm lazy so
This commit is contained in:
parent
e98795af1a
commit
4089de0e2e
24
src/svelte/elem/UploadWindow.svelte
Normal file
24
src/svelte/elem/UploadWindow.svelte
Normal file
|
@ -0,0 +1,24 @@
|
|||
<script>
|
||||
|
||||
// stats
|
||||
|
||||
let ServerStats = {}
|
||||
|
||||
fetch("/server").then(async (data) => {
|
||||
ServerStats = await data.json()
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<div id="uploadWindow">
|
||||
<h1>monofile</h1>
|
||||
<p style:color="#999999">
|
||||
<span class="number">{ServerStats.version ? `v${ServerStats.version}` : "•••"}</span>  — Discord based file sharing
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<p style:color="#999999" style:text-align="center">
|
||||
Hosting <span class="number" style:font-weight="600">{ServerStats.files || "•••"}</span> files
|
||||
</p>
|
||||
</div>
|
Loading…
Reference in a new issue