diff --git a/src/JsonBrowser/DetailsPrePanel.svelte b/src/JsonBrowser/DetailsPrePanel.svelte
new file mode 100644
index 0000000..3eb68ed
--- /dev/null
+++ b/src/JsonBrowser/DetailsPrePanel.svelte
@@ -0,0 +1,30 @@
+
+
+
+
+{summary}
+
+ {JSON.stringify(jsonData, null, 2)}
{path}
-
- {JSON.stringify(zarray, null, 2)}
{error.message}
{/await} @@ -101,13 +101,6 @@ text-align: center; } - pre { - color: #faebd7; - background-color: #2c3e50; - padding: 10px; - font-size: 14px; - } - table { background-color: white; font-size: 14px; @@ -133,18 +126,4 @@ a:visited { color: #ff512f; } - - details { - font-size: 1.1em; - margin: 0 15px; - text-align: left; - } - pre { - margin-top: 10px; - color: #faebd7; - background-color: #2c3e50; - padding: 10px; - font-size: 14px; - border-radius: 10px; - } diff --git a/src/JsonValidator/RoCrate/index.svelte b/src/JsonValidator/RoCrate/index.svelte new file mode 100644 index 0000000..9a19696 --- /dev/null +++ b/src/JsonValidator/RoCrate/index.svelte @@ -0,0 +1,18 @@ + + +{#await promise} +Loading ro-crate-metadata.json...
+{:then jsonData} + {#if jsonData} +No ro-crate-metadata.json found
+{/await} diff --git a/src/JsonValidator/index.svelte b/src/JsonValidator/index.svelte index 52e008a..75e9778 100644 --- a/src/JsonValidator/index.svelte +++ b/src/JsonValidator/index.svelte @@ -1,6 +1,7 @@