mirror of
https://github.com/catdevnull/transicion-desordenada-diablo
synced 2024-11-15 10:31:38 +00:00
nuevo dump 9 de dic
This commit is contained in:
parent
c4a86419fb
commit
489934583e
3 changed files with 36 additions and 23 deletions
|
@ -27,7 +27,22 @@
|
||||||
<ul
|
<ul
|
||||||
class="divide-y divide-gray-100 border-y border-y-gray-100 dark:divide-gray-700 dark:border-y-gray-700"
|
class="divide-y divide-gray-100 border-y border-y-gray-100 dark:divide-gray-700 dark:border-y-gray-700"
|
||||||
>
|
>
|
||||||
<Dump />
|
<!-- nPortales: find . -maxdepth 1 -mindepth 1 -type d | wc -l -->
|
||||||
|
<!-- nDatasets: jq '.dataset | length' */data.json | awk '{s+=$1} END {print s}' -->
|
||||||
|
<!-- size: du -sh -->
|
||||||
|
<Dump
|
||||||
|
dumpUrl="https://archivos.nulo.ar/portales-de-datos/dump-2023-12-09/"
|
||||||
|
nPortales={50}
|
||||||
|
nDatasets={4098}
|
||||||
|
size="147 GB"
|
||||||
|
glow>9 de diciembre de 2023</Dump
|
||||||
|
>
|
||||||
|
<Dump
|
||||||
|
dumpUrl="https://archivos.nulo.ar/dump-2023-12-08/"
|
||||||
|
nPortales={43}
|
||||||
|
nDatasets={3277}
|
||||||
|
size="100 GB">8 de diciembre de 2023</Dump
|
||||||
|
>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -2,40 +2,33 @@
|
||||||
import ArrowForward from "eva-icons/outline/svg/arrow-forward-outline.svg?component";
|
import ArrowForward from "eva-icons/outline/svg/arrow-forward-outline.svg?component";
|
||||||
import { inject } from "regexparam";
|
import { inject } from "regexparam";
|
||||||
import { routes } from "../../router";
|
import { routes } from "../../router";
|
||||||
|
import DumpBadge from "./DumpBadge.svelte";
|
||||||
|
|
||||||
|
export let dumpUrl: string;
|
||||||
|
export let nPortales: number;
|
||||||
|
export let nDatasets: number;
|
||||||
|
export let size: string;
|
||||||
|
export let glow: boolean = false;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
class="flex justify-between px-6 py-5 shadow-glow shadow-blue-300 hover:bg-gray-50 dark:hover:bg-gray-700"
|
class="flex justify-between px-6 py-5 shadow-blue-300 hover:bg-gray-50 dark:hover:bg-gray-700"
|
||||||
|
class:shadow-glow={glow}
|
||||||
href={inject(routes.Dump, {
|
href={inject(routes.Dump, {
|
||||||
dumpUrl: encodeURIComponent("https://archivos.nulo.ar/dump-2023-12-08/"),
|
dumpUrl: encodeURIComponent(dumpUrl),
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<h3 class="text-lg">8 de diciembre de 2023</h3>
|
<h3 class="text-lg"><slot /></h3>
|
||||||
<span
|
<DumpBadge>{nPortales} portales</DumpBadge>
|
||||||
class="relative ml-1 inline-flex items-center rounded-full border border-current px-2 py-1 text-xs font-semibold text-blue-800 dark:text-blue-400"
|
<DumpBadge>{nDatasets} datasets</DumpBadge>
|
||||||
>
|
<DumpBadge>{size}</DumpBadge>
|
||||||
<!-- find . -maxdepth 1 -mindepth 1 -type d | wc -l -->
|
|
||||||
<span>43 portales</span>
|
|
||||||
</span>
|
|
||||||
<span
|
|
||||||
class="relative ml-1 inline-flex items-center rounded-full border border-current px-2 py-1 text-xs font-semibold text-blue-800 dark:text-blue-400"
|
|
||||||
>
|
|
||||||
<!-- jq '.dataset | length' */data.json | awk '{s+=$1} END {print s}' -->
|
|
||||||
<span>3277 datasets</span>
|
|
||||||
</span>
|
|
||||||
<span
|
|
||||||
class="relative ml-1 inline-flex items-center rounded-full border border-current px-2 py-1 text-xs font-semibold text-blue-800 dark:text-blue-400"
|
|
||||||
>
|
|
||||||
<!-- du -sh -->
|
|
||||||
<span>100 GB</span>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
<ArrowForward
|
<ArrowForward
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
class="w-6 shrink-0 text-gray-600 dark:text-gray-400 "
|
class="w-6 shrink-0 text-gray-600 dark:text-gray-400"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
5
frontend/src/lib/routes/Home/DumpBadge.svelte
Normal file
5
frontend/src/lib/routes/Home/DumpBadge.svelte
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<span
|
||||||
|
class="relative ml-1 inline-flex items-center rounded-full border border-current px-2 py-1 text-xs font-semibold text-blue-800 dark:text-blue-400"
|
||||||
|
>
|
||||||
|
<span><slot /></span>
|
||||||
|
</span>
|
Loading…
Reference in a new issue