Skip to content
Snippets Groups Projects
Commit cec65bbb authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Modify parameter & variable pages. Reorganize components.

parent d89a5ca5
No related branches found
No related tags found
No related merge requests found
Showing
with 12 additions and 3 deletions
......@@ -2,3 +2,9 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
a.link {
@apply text-blue-500 hover:underline;
}
}
File moved
......@@ -104,7 +104,9 @@
</div>
{/if}
{#if parameter.source !== undefined}
<div>Source : <a href={parameter.source}>{parameter.source}</a></div>
<div>
Source : <a class="link" href={parameter.source}>{parameter.source}</a>
</div>
{/if}
{#if parameter.class === ParameterClass.Parameter}
{#if parameter.values !== undefined}
......@@ -128,7 +130,8 @@
<td class="border p-1 text-center">{value ?? ""}</td>
<td class="border p-1 text-center">{unit ?? ""}</td>
<td class="border p-1 text-center"
>{#if source !== undefined}<a href={source}>source</a
>{#if source !== undefined}<a class="link" href={source}
>source</a
>{/if}</td
>
</tr>
......
<script lang="ts">
import { scaleBand } from "d3-scale"
import { LayerCake, Svg } from "$lib/components/layercake"
import type { Decomposition } from "$lib/decompositions"
import { walkDecomposition } from "$lib/decompositions"
import { LayerCake, Svg } from "$lib/layercake"
import AxisX from "./AxisX.svelte"
import AxisY from "./AxisY.svelte"
import Column from "./Column.svelte"
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment