Commit 67d64bfa authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Remove spaces from HTML class attributes.

parent cd411a85
......@@ -104,9 +104,9 @@ node --experimental-specifier-resolution=node dist/scripts/retrieve_nesstar_ddis
```bash
# ADISP
node --experimental-specifier-resolution=node dist/scripts/repair_adisp_oai-pmh_ddis.mjs --source=../public_data/adisp-oai-pmh-ddi/ ../public_data/adisp-oai-pmh-ddi-repaired/
node --experimental-specifier-resolution=node dist/scripts/repair_adisp_nesstar_ddis.mjs --source=../public_data/adisp-nesstar-ddi/ ../public_data/adisp-nesstar-ddi-repaired/
node --experimental-specifier-resolution=node dist/scripts/repair_ined_nesstar_ddis.mjs --source=../public_data/ined-nesstar-ddi/ ../public_data/ined-nesstar-ddi-repaired/
node --experimental-specifier-resolution=node dist/scripts/repair_adisp_oai-pmh_ddis.mjs --source=../public_data/adisp-oai-pmh-ddi/ ../public_data/adisp-oai-pmh-ddi-repaired/
node --experimental-specifier-resolution=node dist/scripts/repair_adisp_nesstar_ddis.mjs --source=../public_data/adisp-nesstar-ddi/ ../public_data/adisp-nesstar-ddi-repaired/
node --experimental-specifier-resolution=node dist/scripts/repair_ined_nesstar_ddis.mjs --source=../public_data/ined-nesstar-ddi/ ../public_data/ined-nesstar-ddi-repaired/
```
### Indexing DDI files
......
......@@ -48,7 +48,7 @@
{studies.length}
{studies.length <= 1 ? $t("dataset") : $t("datasets")}
</h3>
<p class="mb-6 text-left text-gray-500">
<p class="mb-6 text-left text-gray-500">
provenant
{#if distributorsCount <= 1}
d'un seul diffuseur
......
......@@ -14,7 +14,7 @@
<!-- EXPANDABLE LIST LINE WITH LEFT BORDER ROUNDED IN GRAY COLOR -->
<section
class="w-full border-t border-b border-r bg-white border-gray-200 mb-1 rounded"
class="w-full border-t border-b border-r bg-white border-gray-200 mb-1 rounded"
>
<div class="w-full border-l-4 border-gray-400 rounded">
<!-- Clickable head -->
......
......@@ -39,7 +39,7 @@
]
</script>
<!-- LOGOS - HAUTEUR FIXE -->
<!-- LOGOS - HAUTEUR FIXE -->
<section
class="w-full max-w-xl mb-4 text-slate-600 bg-transparent flex justify-between mx-auto"
>
......
......@@ -14,7 +14,7 @@
{#each asMdastBlockquoteArray(markdownAst?.children ?? []) as blockquote}
<div
id={blockquote.children?.[0]?.chidren?.[0]?.value}
class=" my-2 mx-0 py-8 px-16 text-left bg-white border-gray-400 rounded-lg shadow"
class="my-2 mx-0 py-8 px-16 text-left bg-white border-gray-400 rounded-lg shadow"
>
{#each blockquote.children.slice(1, blockquote.children.length) as element}
{#if element.type == "heading" && element.depth == 1 && element.children[0].type == "text"}
......@@ -31,7 +31,7 @@
</p>
{#each element.children as maybelink}
{#if maybelink.type == "link"}
<a class=" text-xs mx-2 text-gray-400 italic" href={maybelink.url}>
<a class="text-xs mx-2 text-gray-400 italic" href={maybelink.url}>
{maybelink.children[0].value}</a
>
{/if}
......@@ -41,15 +41,12 @@
{element.children[0].value}
</p>
{:else if element.type == "paragraph" && element.children[0].type == "text"}
<p class="{textSize} my-6 text-gray-500">
<p class="{textSize} my-6 text-gray-500">
{element.children[0].value}
{#each element.children as maybelink}
{#if maybelink.type == "link"}
<a
class=" text-xs mx-2 text-gray-400 italic"
href={maybelink.url}
>
<a class="text-xs mx-2 text-gray-400 italic" href={maybelink.url}>
{maybelink.children[0].value}</a
>
{/if}
......
......@@ -53,13 +53,13 @@
</div>
<div class="flex justify-center my-6">
<button
class="bg-white px-10 py-1 mx-6 text-indigo-400 underline hover:bg-gray-100"
class="bg-white px-10 py-1 mx-6 text-indigo-400 underline hover:bg-gray-100"
type="submit">Fichier</button
>
</div>
<div class="flex justify-center my-6">
<button
class="bg-white px-10 py-1 mx-6 text-indigo-400 underline hover:bg-gray-100"
class="bg-white px-10 py-1 mx-6 text-indigo-400 underline hover:bg-gray-100"
type="submit">Annuler</button
>
</div>
......
......@@ -5,7 +5,7 @@
</script>
<header
class="flex flex-row w-auto h-32 items-center justify-between bg-white shadow-lg -mx-2 my-0 py-3 pr-4 top-0 left-0 sticky"
class="flex flex-row w-auto h-32 items-center justify-between bg-white shadow-lg -mx-2 my-0 py-3 pr-4 top-0 left-0 sticky"
style="z-index: 2;"
>
<div class="flex flex-row items-center mx-10 mt-4 h-24 w-80">
......
......@@ -80,7 +80,7 @@
<!--
<li
class="portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class="portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class:~info={pathname === "/about"}
class:active={pathname === "/about"}
>
......@@ -92,7 +92,7 @@
</li>
-->
<li
class="portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class="portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class:~info={pathname === "/studies"}
class:active={pathname === "/studies"}
>
......@@ -103,7 +103,7 @@
>
</li>
<li
class="portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class="portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class:~info={pathname === "/guide"}
class:active={pathname === "/guide"}
>
......@@ -115,7 +115,7 @@
</li>
<!--
<li
class="portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class="portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class:~info={pathname === "/contact"}
class:active={pathname === "/contact"}
>
......@@ -127,7 +127,7 @@
</li>
-->
<li
class="portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class="portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class:~info={pathname === "/me/cart"}
class:active={pathname === "me/cart"}
>
......@@ -148,7 +148,7 @@
</label>
<select
class="border-0 portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
class="border-0 portal mx-2 text-slate-600 hover:bg-gray-100 rounded-lg"
on:blur={setLanguage}
on:change={setLanguage}
value={$locale}
......@@ -179,7 +179,7 @@
</button>
{#if userMenuOpen}
<ul
class="absolute bg-white text-slate-600 pt-1 group-hover:block shadow-sm z-10"
class="absolute bg-white text-slate-600 pt-1 group-hover:block shadow-sm z-10"
>
<li class="text-sm px-4 py-2">
<a href="/me/profile" on:click={() => (userMenuOpen = false)}
......
......@@ -65,10 +65,10 @@
</script>
<section
class="h-auto w-auto border bg-white border-gray-100 mb-2 rounded shadow"
class="h-auto w-auto border bg-white border-gray-100 mb-2 rounded shadow"
>
<div
class=" flex flex-col h-auto w-auto px-4 py-2 border-l-4 border-red-300 rounded"
class="flex flex-col h-auto w-auto px-4 py-2 border-l-4 border-red-300 rounded"
>
<!-- zone top blanche avec le titre en bold-->
<div
......@@ -94,7 +94,7 @@
</div>
<!-- zone middle grise avec une icone et les identifiants en rouge-->
<div
class=" flex flex-row h-14 w-auto mx-10 my-2 px-2 py-2 bg-white rounded-sm"
class="flex flex-row h-14 w-auto mx-10 my-2 px-2 py-2 bg-white rounded-sm"
>
<div>
<img class="h-10 w-12" src="/img/series-red.png" alt="project icon" />
......@@ -123,7 +123,7 @@
</div>
<!-- Zone bottom blanche avec producer-->
<div
class="flex flex-wrap h-auto w-auto mx-10 px-2 my-2 py-2 text-xs text-gray-500"
class="flex flex-wrap h-auto w-auto mx-10 px-2 my-2 py-2 text-xs text-gray-500"
>
{#if producers.length > 0}
<p class="pr-1">
......
......@@ -146,9 +146,9 @@
<!-- grid: bottom left element with some informations-->
<div
class="flex flex-col py-6 pr-12 pl-4 overflow-hidden w-1/4 bg-gray-100 rouded shadow"
class="flex flex-col py-6 pr-12 pl-4 overflow-hidden w-1/4 bg-gray-100 rouded shadow"
>
<ul class=" text-xs text-gray-500">
<ul class="text-xs text-gray-500">
<hr class="sep h-8" />
{#if idSerie != null}
<li>
......
......@@ -12,10 +12,10 @@
]
</script>
<!-- STATISTICS -->
<!-- STATISTICS -->
<section class="container flex items-center justify-center mx-auto text-center">
<!-- STATISTICS WITH PICTOGRAMS -->
<!-- STATISTICS WITH PICTOGRAMS -->
{#each statistics as stat}
{#if stat.value != null}
<div class="px-1 w-1/2 sm:w-1/6">
......@@ -35,7 +35,7 @@
<path d="M20.88 18.09A5 5 0 0018 9h-1.26A8 8 0 103 16.29" />
</svg>
<h2
class="title-font font-bold md:text-xl sm:text-xl text-xl text-slate-600 py-2"
class="title-font font-bold md:text-xl sm:text-xl text-xl text-slate-600 py-2"
>
{numberFormatter.format(stat.value)}
</h2>
......
......@@ -61,10 +61,10 @@
</script>
<section
class="h-auto w-auto border bg-white border-gray-100 mb-2 rounded shadow"
class="h-auto w-auto border bg-white border-gray-100 mb-2 rounded shadow"
>
<div
class=" flex flex-col h-auto w-auto px-4 py-2 border-l-4 border-gray-400 rounded"
class="flex flex-col h-auto w-auto px-4 py-2 border-l-4 border-gray-400 rounded"
>
<!-- zone top blanche avec le titre en bold-->
<div
......@@ -88,7 +88,7 @@
<!-- zone middle grise avec une icone et les identifiants en rouge-->
<div
class=" flex flex-row h-14 w-auto mx-10 px-2 py-2 bg-gray-100 rounded-sm"
class="flex flex-row h-14 w-auto mx-10 px-2 py-2 bg-gray-100 rounded-sm"
>
<div>
<!--<img class="h-10 w-10" src="/img/checklist-gray.png" alt="survey icon" />-->
......@@ -127,7 +127,7 @@
<!-- Zone bottom blanche avec producer-->
<div
class="flex flex-wrap h-auto w-auto mx-10 px-2 py-2 text-xs text-gray-500"
class="flex flex-wrap h-auto w-auto mx-10 px-2 py-2 text-xs text-gray-500"
>
{#if producers.length > 0}
<p class="pr-1">
......
......@@ -11,7 +11,7 @@
</script>
<section class="h-auto w-auto border-t border-b bg-white border-gray-100">
<div class=" flex flex-col h-auto w-auto px-4 py-2">
<div class="flex flex-col h-auto w-auto px-4 py-2">
<div
class="flex justify-between h-auto w-full px-0 py-2 text-xs text-gray-500 text-left"
>
......
......@@ -61,10 +61,10 @@
</script>
<section
class="h-auto w-auto border bg-white border-gray-100 mb-2 rounded shadow"
class="h-auto w-auto border bg-white border-gray-100 mb-2 rounded shadow"
>
<div
class=" flex flex-col h-auto w-auto px-4 py-2 border-l-4 border-gray-400 rounded"
class="flex flex-col h-auto w-auto px-4 py-2 border-l-4 border-gray-400 rounded"
>
<!-- zone top blanche avec le titre en bold-->
<div
......@@ -88,7 +88,7 @@
<!-- zone middle grise avec une icone et les identifiants en rouge-->
<div
class=" flex flex-row h-14 w-auto mx-10 px-2 py-2 bg-gray-100 rounded-sm"
class="flex flex-row h-14 w-auto mx-10 px-2 py-2 bg-gray-100 rounded-sm"
>
<div>
<!--<img class="h-10 w-10" src="/img/checklist-gray.png" alt="survey icon" />-->
......@@ -128,7 +128,7 @@
<!-- Zone bottom blanche avec producer-->
<div
class="flex flex-wrap h-auto w-auto mx-10 px-2 py-2 text-xs text-gray-500"
class="flex flex-wrap h-auto w-auto mx-10 px-2 py-2 text-xs text-gray-500"
>
{#if producers.length > 0}
<p class="pr-1">
......
......@@ -59,10 +59,10 @@
</script>
<section
class="h-auto w-auto border bg-white border-gray-100 mb-2 rounded shadow"
class="h-auto w-auto border bg-white border-gray-100 mb-2 rounded shadow"
>
<div
class=" flex flex-col h-auto w-auto px-4 py-2 border-l-4 border-gray-400 rounded"
class="flex flex-col h-auto w-auto px-4 py-2 border-l-4 border-gray-400 rounded"
>
<!-- zone top blanche avec le titre en bold-->
<div
......@@ -86,7 +86,7 @@
<!-- zone middle grise avec une icone et les identifiants en rouge
<div
class=" flex flex-row h-14 w-auto mx-10 px-2 py-2 bg-gray-100 rounded-sm"
class="flex flex-row h-14 w-auto mx-10 px-2 py-2 bg-gray-100 rounded-sm"
>
<div>
<img class="h-10 w-10" src="/img/checklist-gray.png" alt="survey icon" />
......@@ -106,7 +106,7 @@
-->
<!-- Zone bottom blanche avec producer
<div
class="flex flex-wrap h-auto w-auto mx-10 px-2 py-2 text-xs text-gray-500"
class="flex flex-wrap h-auto w-auto mx-10 px-2 py-2 text-xs text-gray-500"
>
{#if producers.length > 0}
<p class="pr-1">
......
......@@ -126,7 +126,7 @@
<div
class="mb-1 py-4 px-4 overflow-hidden h-40 w-1/4 bg-gray-100 rounded shadow"
>
<div class="flex flex-col h-auto w-auto m-0 px-0 py-0 items-center ">
<div class="flex flex-col h-auto w-auto m-0 px-0 py-0 items-center ">
<img class="h-24 w-24" src={study_icon} alt="project icon" />
<h1 class="font-bold text-base my-4 text-gray-300 uppercase">
......@@ -150,7 +150,7 @@
</button>
</div>
{#if study.version != null}
<h2 class="text-xs text-red-300 ml-0 my-2 pl-0">
<h2 class="text-xs text-red-300 ml-0 my-2 pl-0">
{#if typeof study.version === "string"}
{study.version}
{:else if study.version != null}
......@@ -178,10 +178,10 @@
</div>
<!-- grid: bottom left column with some informations-->
<div
class="flex flex-col py-6 pr-12 pl-4 overflow-hidden w-1/4 bg-gray-100 rouded shadow"
class="flex flex-col py-6 pr-12 pl-4 overflow-hidden w-1/4 bg-gray-100 rouded shadow"
>
<hr class="sep h-8" />
<ul class=" text-xs text-gray-500">
<ul class="text-xs text-gray-500">
<!--
{#if topic != null}
<li>
......
......@@ -10,7 +10,7 @@
</script>
<section>
<!-- EXPANDABLE LIST LINE WITH TOP AND BOTTOM BORDER -->
<!-- EXPANDABLE LIST LINE WITH TOP AND BOTTOM BORDER -->
<section
class="flex flex-col h-auto w-full border-t border-b
bg-white border-gray-100 "
......
......@@ -27,7 +27,7 @@
<!-- MIDDLE -->
<div class="flex flex-col w-96">
<!-- VARIABLE LABEL -->
<p class="text-sm font-bold px-2 py-2">
<p class="text-sm font-bold px-2 py-2">
{variable.title.trim() || "Variable sans libellé"}
</p>
......
......@@ -41,7 +41,7 @@
>
{#each dataViz as xy}
<!-- Attention: Si la valeur de y2 est < 3, (mais pas zero), on la met à 3 pour mieux voir -->
<!-- Si non, le code classique pour calculer y2 serait : y2={maxYearsCount - xy.y} -->
<!-- Si non, le code classique pour calculer y2 serait : y2={maxYearsCount - xy.y} -->
<line
class={xy.year >= yearsRange[0] && xy.year <= yearsRange[1]
? "text-slate-500"
......@@ -109,7 +109,7 @@
bind:values={yearsRange}
/>
<!-- TEXT INPUTS FOR YEARS -->
<!-- TEXT INPUTS FOR YEARS -->
<div class="flex flex-row justify-between bg-gray-100">
<input
class="border-0 p-1 w-14 text-left text-xs font-bold text-slate-600 bg-gray-100 "
......@@ -132,7 +132,7 @@
value={yearsRange[1]}
/>
</div>
<!-- END TEXT INPUTS FOR YEARS -->
<!-- END TEXT INPUTS FOR YEARS -->
</div>
<!-- WHOLE IMAGE-->
</div>
......@@ -8,7 +8,7 @@
</script>
{#if $debugMode}
<p class="py-0 px-20 text-center italic text-gray-300 text-opacity-50">
<p class="py-0 px-20 text-center italic text-gray-300 text-opacity-50">
<a
target="_blank"
href="https://git.nomics.world/progedo/data-catalogue/-/blob/{commit}/{path.replace(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment