Format share table
This commit is contained in:
parent
34f1887e10
commit
e9faa09614
@ -21,7 +21,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<table class="table-auto">
|
||||
<table class="table-auto m-4">
|
||||
<tr>
|
||||
<th>Format</th>
|
||||
<th>Value</th>
|
||||
@ -30,21 +30,21 @@
|
||||
|
||||
{#each urlFormats as format}
|
||||
<tr class="m-4 border">
|
||||
<th>{format.toUpperCase()}</th>
|
||||
<th class="p-4 border">{format.toUpperCase()}</th>
|
||||
<td class="p-4 border">
|
||||
<a class="text-blue-600 p-4" href={xpin.coordinateUrls[format]} target="_blank"
|
||||
>Open in {format}</a
|
||||
>
|
||||
</td>
|
||||
<td><CopyButton data={xpin.coordinateUrls[format]} /></td>
|
||||
<td class="p-4 border"><CopyButton data={xpin.coordinateUrls[format]} /></td>
|
||||
</tr>
|
||||
{/each}
|
||||
|
||||
{#each formats as format}
|
||||
<tr>
|
||||
<th>{format.toUpperCase()}</th>
|
||||
<td>{xpin.allCoordinates[format]}</td>
|
||||
<td><CopyButton data={xpin.allCoordinates[format]} /></td>
|
||||
<tr class="m-4 border">
|
||||
<th class="p-4 border">{format.toUpperCase()}</th>
|
||||
<td class="p-4 border">{xpin.allCoordinates[format]}</td>
|
||||
<td class="p-4 border"><CopyButton data={xpin.allCoordinates[format]} /></td>
|
||||
</tr>
|
||||
{/each}
|
||||
</table>
|
||||
|
Loading…
Reference in New Issue
Block a user