ui: Update to sveltekit 1.0 + fix warnings

This commit is contained in:
nemunaire 2022-12-15 15:34:28 +01:00
commit cad2bc09e4
11 changed files with 276 additions and 324 deletions

View file

@ -11,6 +11,7 @@
<CardBody class="text-indent ratio ratio-16x9">
{#if uri.length > 0 && uri[0] === '/'}
<!-- svelte-ignore a11y-media-has-caption -->
<video controls src={uri} />
{:else}
<iframe type="text/html" src="{uri.replace('$RFILES$', base+'/resolution')}" class="embed-responsive-item" title="Vidéo de résolution">