Enforce consistent formatting in webapp source
This commit is contained in:
@@ -1,21 +1,20 @@
|
||||
<script lang="ts">
|
||||
import IconPending from '~icons/material-symbols/pending'
|
||||
import { getImageContext } from '$lib/contexts/image.svelte'
|
||||
import IconArrowUploadProgress from '~icons/material-symbols/arrow-upload-progress'
|
||||
import IconPending from '~icons/material-symbols/pending'
|
||||
import IconWarning from '~icons/material-symbols/warning'
|
||||
import WriteButton from './WriteButton.svelte'
|
||||
|
||||
import { getImageContext } from '$lib/contexts/image.svelte'
|
||||
|
||||
const imageCtx = getImageContext()
|
||||
|
||||
let inProgress = $state(false)
|
||||
</script>
|
||||
|
||||
<section class="flex flex-col lg:flex-row gap-2" aria-labelledby="write-section-label">
|
||||
<section class="flex flex-col gap-2 lg:flex-row" aria-labelledby="write-section-label">
|
||||
<div class="grow">
|
||||
<h2 class="font-semibold text-xl/8" id="write-section-label">Write pattern to device</h2>
|
||||
<h2 class="text-xl/8 font-semibold" id="write-section-label">Write pattern to device</h2>
|
||||
|
||||
<div class="text-sm stack-h gap-1" aria-live="polite">
|
||||
<div class="stack-h gap-1 text-sm" aria-live="polite">
|
||||
{#if imageCtx.image === null}
|
||||
<IconPending class="mt-0.5 shrink-0" aria-hidden /> Select an image file in order to write it
|
||||
onto your device.
|
||||
|
||||
Reference in New Issue
Block a user