Add more data in pages
This commit is contained in:
parent
1aae2311d3
commit
e26d4879e8
2 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
<h1>Welcome to the City Portal</h1>
|
<h1>Welcome to the City Portal!</h1>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="datasets/">List of datasets</a></li>
|
<li><a href="datasets/">List of datasets</a></li>
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,8 @@
|
||||||
const recordData = JSON.parse(data.record.data);
|
const recordData = JSON.parse(data.record.data);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<h1>Data for record id: {data.record.id}</h1>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{#each Object.entries(recordData) as [key, value]}
|
{#each Object.entries(recordData) as [key, value]}
|
||||||
<li>{key}: {value}</li>
|
<li>{key}: {value}</li>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue