@@ -1,5 +1,13 @@
|
||||
<script>
|
||||
import { _ } from "svelte-i18n";
|
||||
const license_promise = fetch("/licenses.json");
|
||||
let licenses = [];
|
||||
license_promise
|
||||
.then((response) => response.json())
|
||||
.then((json) => {
|
||||
licenses = json;
|
||||
console.log(json);
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="pt-12 px-4 sm:px-6 lg:px-8 lg:pt-20 bg-gray-900 pb-12">
|
||||
@@ -32,142 +40,40 @@
|
||||
<p class="text-center">{$_('oss_credit_description')}</p>
|
||||
</div>
|
||||
<div class="w-screen leading-8 pl-5 mt-5">
|
||||
<!-- -->
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>name</th>
|
||||
<th>licenseType</th>
|
||||
<th>link</th>
|
||||
<th>installedVersion</th>
|
||||
<th>author</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>@odit/lfk-client-js</td>
|
||||
<td>CC-BY-NC-SA-4.0</td>
|
||||
<td>https://git.odit.services/lfk/lfk-client-js</td>
|
||||
<td>0.0.5</td>
|
||||
<td>ODIT.Services</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>filepond</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/pqina/filepond.git</td>
|
||||
<td>4.25.1</td>
|
||||
<td>PQINA</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>gridjs</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/grid-js/gridjs.git</td>
|
||||
<td>3.2.0</td>
|
||||
<td>Afshin Mehrabani</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>svelte-filepond</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/pqina/svelte-filepond.git</td>
|
||||
<td>0.0.1</td>
|
||||
<td>PQINA</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>svelte-i18n</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/kaisermann/svelte-i18n.git</td>
|
||||
<td>3.3.0</td>
|
||||
<td>Christian Kaisermann</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>tailwindcss</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/tailwindlabs/tailwindcss.git</td>
|
||||
<td>2.0.2</td>
|
||||
<td />
|
||||
</tr>
|
||||
<tr>
|
||||
<td>toastify-js</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/apvarun/toastify-js.git</td>
|
||||
<td>1.9.3</td>
|
||||
<td>Varun A P</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>validator</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/chriso/validator.js.git</td>
|
||||
<td>13.5.2</td>
|
||||
<td>Chris O'Hara</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>@snowpack/plugin-svelte</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/snowpackjs/snowpack.git</td>
|
||||
<td>3.4.1</td>
|
||||
<td />
|
||||
</tr>
|
||||
<tr>
|
||||
<td>autoprefixer</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/postcss/autoprefixer.git</td>
|
||||
<td>10.1.0</td>
|
||||
<td>Andrey Sitnik</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>postcss</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/postcss/postcss.git</td>
|
||||
<td>8.2.1</td>
|
||||
<td>Andrey Sitnik</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>postcss-load-config</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/postcss/postcss-load-config.git</td>
|
||||
<td>3.0.0</td>
|
||||
<td>Michael Ciniawky</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>snowpack</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/snowpackjs/snowpack.git</td>
|
||||
<td>3.0.0-rc.2</td>
|
||||
<td>Fred K. Schott</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>svelte</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/sveltejs/svelte.git</td>
|
||||
<td>3.31.0</td>
|
||||
<td>Rich Harris</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>svelte-preprocess</td>
|
||||
<td>MIT</td>
|
||||
<td>https://github.com/sveltejs/svelte-preprocess.git</td>
|
||||
<td>4.6.1</td>
|
||||
<td>Christian Kaisermann</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- -->
|
||||
<!-- <ul class="list-disc text-gray-500">
|
||||
<li>
|
||||
Snowpack:
|
||||
<a
|
||||
class="underline"
|
||||
href="https://snowpack.dev"
|
||||
target="_blank">https://snowpack.dev</a>
|
||||
</li>
|
||||
<li>
|
||||
SvelteJS:
|
||||
<a
|
||||
class="underline"
|
||||
href="https://svelte.dev"
|
||||
target="_blank">https://svelte.dev</a>
|
||||
</li>
|
||||
</ul> -->
|
||||
{#await license_promise}
|
||||
<p class="text-center w-full">Licenses are being loaded...</p>
|
||||
{:then}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>License</th>
|
||||
<th>Link</th>
|
||||
<th>Installed version</th>
|
||||
<th>Author</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each licenses as l}
|
||||
<tr>
|
||||
<td>{l.name}</td>
|
||||
<td>{l.license || '?'}</td>
|
||||
<td>{(l.repo?.url || l.repo).replace('git+', '')}</td>
|
||||
<td>{l.version || '?'}</td>
|
||||
<td>{l.author?.name || l.author || '?'}</td>
|
||||
</tr>
|
||||
{/each}
|
||||
</tbody>
|
||||
</table>
|
||||
{:catch error}
|
||||
<div
|
||||
class="text-white px-6 py-4 border-0 rounded relative mb-4 bg-red-500">
|
||||
<span class="inline-block align-middle mr-8">
|
||||
<b class="capitalize">{$_('general_promise_error')}</b>
|
||||
{error}
|
||||
</span>
|
||||
</div>
|
||||
{/await}
|
||||
</div>
|
||||
<h2 class="text-4xl font-display font-semibold text-gray-900 md:text-5xl">
|
||||
Fragen
|
||||
|
||||
Reference in New Issue
Block a user