Remove label to Spinner components
This commit is contained in:
parent
9c9218d5ae
commit
b50201e1f9
27 changed files with 33 additions and 39 deletions
|
|
@ -168,7 +168,7 @@
|
|||
color="success"
|
||||
>
|
||||
{#if addServiceInProgress}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t("service.update")}
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
{#if $providersSpecs == null}
|
||||
<div class="mt-5 d-flex justify-content-center align-items-center gap-2">
|
||||
<Spinner color="primary" label={$t("common.spinning")} class="mr-3" />
|
||||
<Spinner color="primary" />
|
||||
{$t("wait.retrieving-setting")}
|
||||
</div>
|
||||
{:else}
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
<Col lg="8" md="7" class="d-flex flex-column pt-2 pb-3">
|
||||
{#if form.form == null}
|
||||
<div class="d-flex flex-fill justify-content-center align-items-center gap-2">
|
||||
<Spinner color="primary" label={$t("common.spinning")} class="mr-3" />
|
||||
<Spinner color="primary" />
|
||||
{$t("wait.retrieving-setting")}
|
||||
</div>
|
||||
{:else}
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@
|
|||
|
||||
{#if !items || $providersSpecs == null}
|
||||
<div class="d-flex gap-2 align-items-center justify-content-center my-3">
|
||||
<Spinner color="primary" label="Spinning" class="mr-3" />
|
||||
<Spinner color="primary" />
|
||||
{$t("wait.retrieving-providers")}
|
||||
</div>
|
||||
{:else}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
<ListGroup {...$$restProps}>
|
||||
{#if isLoading}
|
||||
<ListGroupItem class="d-flex justify-content-center align-items-center gap-2">
|
||||
<Spinner color="primary" label="Spinning" class="mr-3" />
|
||||
<Spinner color="primary" />
|
||||
{$t("wait.retrieving-provider")}
|
||||
</ListGroupItem>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
on:click={() => dispatch("previous-state")}
|
||||
>
|
||||
{#if previousInProgress}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t(form.previousButtonText)}
|
||||
</Button>
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
form={submitForm}
|
||||
>
|
||||
{#if nextInProgress}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t(form.nextButtonText)}
|
||||
</Button>
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
on:click={() => dispatch("previous-state")}
|
||||
>
|
||||
{#if previousInProgress}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t(form.previousEditButtonText)}
|
||||
</Button>
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
form={submitForm}
|
||||
>
|
||||
{#if nextInProgress}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t(form.nextEditButtonText)}
|
||||
</Button>
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
on:click={() => dispatch("previous-state")}
|
||||
>
|
||||
{#if previousInProgress}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t("common.cancel")}
|
||||
</Button>
|
||||
|
|
@ -124,7 +124,7 @@
|
|||
form={submitForm}
|
||||
>
|
||||
{#if nextInProgress}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t("common.next")} >
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@
|
|||
|
||||
{#if !zoneDiff}
|
||||
<div class="my-2 text-center">
|
||||
<Spinner color="warning" label="Spinning" />
|
||||
<Spinner color="warning" />
|
||||
<p>{$t("wait.exporting")}</p>
|
||||
</div>
|
||||
{:else if zoneDiff.length == 0}
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@
|
|||
"resolver": "Resolver",
|
||||
"run": "Anfrage ausführen!",
|
||||
"survey": "Eine Bemerkung? Ein Kommentar? Zögern Sie nicht, uns zu schreiben!",
|
||||
"spinning": "Wird geladen",
|
||||
"update": "Aktualisieren",
|
||||
"welcome": {
|
||||
"start": "Willkommen bei ",
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@
|
|||
"resolver": "Resolver",
|
||||
"run": "Run the request!",
|
||||
"survey": "A remark? A comment to share? Don't hesitate to write to us!",
|
||||
"spinning": "Spinning",
|
||||
"update": "Update",
|
||||
"welcome": {
|
||||
"start": "Welcome to ",
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@
|
|||
"resolver": "Resolvedor",
|
||||
"run": "¡Ejecutar la consulta!",
|
||||
"survey": "¿Una observación? ¿Un comentario para compartir? ¡No dudes en escribirnos!",
|
||||
"spinning": "Girando",
|
||||
"update": "Actualizar",
|
||||
"welcome": {
|
||||
"start": "¡Bienvenido a ",
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@
|
|||
"rename": "Renommer",
|
||||
"resolver": "Résolveur",
|
||||
"run": "Lancer l'opération !",
|
||||
"spinning": "Chargement",
|
||||
"update": "Mettre à jour",
|
||||
"help": "Besoin d'aide ?",
|
||||
"records": "{{n:eq; 0:aucun enregistrement {{type}}; 1:enregistrement {{type}}; default:enregistrements {{type}}}}",
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@
|
|||
"resolver": "रिज़ॉल्वर",
|
||||
"run": "अनुरोध चलाएँ!",
|
||||
"survey": "कोई टिप्पणी? साझा करने के लिए कोई प्रतिक्रिया? हमें लिखने में संकोच न करें!",
|
||||
"spinning": "घूम रहा है",
|
||||
"update": "अपडेट करें",
|
||||
"welcome": {
|
||||
"start": "आपका स्वागत है ",
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@
|
|||
"resolver": "解析器",
|
||||
"run": "执行请求!",
|
||||
"survey": "有意见?想分享评论?请随时给我们写信!",
|
||||
"spinning": "处理中",
|
||||
"update": "更新",
|
||||
"welcome": {
|
||||
"start": "欢迎来到 ",
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@
|
|||
on:click={applyDiff}
|
||||
>
|
||||
{#if propagationInProgress}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t("domains.apply.button")}
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
<pre style="overflow: initial">{zoneContent}</pre>
|
||||
{:else}
|
||||
<div class="my-2 text-center">
|
||||
<Spinner label="Spinning" />
|
||||
<Spinner />
|
||||
<p>{$t("wait.formating")}</p>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -71,14 +71,14 @@
|
|||
{:else}
|
||||
<div class="flex-fill d-flex flex-column">
|
||||
<h2 class="d-flex align-items-center">
|
||||
<Spinner label="Spinning" type="grow" />
|
||||
<Spinner type="grow" />
|
||||
<span class="ms-2 mt-1 font-monospace">
|
||||
{data.domain.domain}
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
<div class="mt-4 text-center flex-fill">
|
||||
<Spinner label="Spinning" />
|
||||
<Spinner />
|
||||
<p>{$t("wait.loading")}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -39,17 +39,17 @@
|
|||
|
||||
{#if !data.domain}
|
||||
<div class="mt-5 text-center flex-fill">
|
||||
<Spinner label="Spinning" />
|
||||
<Spinner />
|
||||
<p>{$t("wait.loading")}</p>
|
||||
</div>
|
||||
{:else if !data.domain.zone_history || data.domain.zone_history.length == 0}
|
||||
<div class="mt-4 text-center flex-fill">
|
||||
<Spinner label={$t("common.spinning")} />
|
||||
<Spinner />
|
||||
<p>{$t("wait.importing")}</p>
|
||||
</div>
|
||||
{:else if !$thisZone || !$sortedDomains}
|
||||
<div class="mt-4 text-center flex-fill">
|
||||
<Spinner label={$t("common.spinning")} />
|
||||
<Spinner />
|
||||
<p>{$t("wait.loading")}</p>
|
||||
</div>
|
||||
{:else}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
<h2>{$t("history.title")} <span class="font-monospace">{data.domain.domain}</span></h2>
|
||||
{#await getDomain(data.domain.id)}
|
||||
<div class="mt-5 text-center flex-fill">
|
||||
<Spinner label="Spinning" />
|
||||
<Spinner />
|
||||
<p>{$t("wait.loading")}</p>
|
||||
</div>
|
||||
{:then domain}
|
||||
|
|
|
|||
|
|
@ -51,28 +51,28 @@
|
|||
{#await rz}
|
||||
<div class="flex-fill d-flex flex-column">
|
||||
<h2 class="d-flex align-items-center">
|
||||
<Spinner label="Spinning" type="grow" />
|
||||
<Spinner type="grow" />
|
||||
<span class="ms-2 mt-1 font-monospace">
|
||||
{data.domain.domain}
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
<div class="mt-4 text-center flex-fill">
|
||||
<Spinner label={$t("common.spinning")} />
|
||||
<Spinner />
|
||||
<p>{$t("wait.importing")}</p>
|
||||
</div>
|
||||
</div>
|
||||
{:then}
|
||||
<div class="flex-fill d-flex flex-column">
|
||||
<h2 class="d-flex align-items-center">
|
||||
<Spinner label="Spinning" type="grow" />
|
||||
<Spinner type="grow" />
|
||||
<span class="ms-2 mt-1 font-monospace">
|
||||
{data.domain.domain}
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
<div class="mt-4 text-center flex-fill">
|
||||
<Spinner label={$t("common.spinning")} />
|
||||
<Spinner />
|
||||
<p>{$t("wait.wait")}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
<h2>{$t("logs.title")} <span class="font-monospace">{data.domain.domain}</span></h2>
|
||||
{#await getDomainLogs(data.domain.id)}
|
||||
<div class="mt-5 text-center flex-fill">
|
||||
<Spinner label="Spinning" />
|
||||
<Spinner />
|
||||
<p>{$t("wait.loading")}</p>
|
||||
</div>
|
||||
{:then logs}
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
|
||||
{#if addingNewDomain || !$providers}
|
||||
<div class="flex-fill d-flex justify-content-center align-items-center">
|
||||
<Spinner color="primary" label="Spinning" class="me-3" />
|
||||
<Spinner color="primary" class="me-3" />
|
||||
{$t("wait.validating")}
|
||||
</div>
|
||||
{:else}
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
</Alert>
|
||||
{:else if data.user}
|
||||
<div class="d-flex justify-content-center align-items-center">
|
||||
<Spinner color="primary" label={$t("common.spinning")} class="me-3" />
|
||||
<Spinner color="primary" class="me-3" />
|
||||
{$t("wait.wait")}
|
||||
</div>
|
||||
{:else}
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@
|
|||
<Row class="mt-3">
|
||||
<Button class="offset-sm-4 col-sm-4" color="primary" disabled={formSent} type="submit">
|
||||
{#if formSent}
|
||||
<Spinner label={$t("common.spinning")} size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t("email.send-again")}
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@
|
|||
disabled={formSent}
|
||||
>
|
||||
{#if formSent}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t("email.send-recover")}
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@
|
|||
disabled={formSent}
|
||||
>
|
||||
{#if formSent}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t("password.redefine")}
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@
|
|||
<div class="d-flex justify-content-around gap-2">
|
||||
<Button type="submit" color="primary" disabled={formSent}>
|
||||
{#if formSent}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{:else}
|
||||
<Icon name="person-plus" />
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@
|
|||
<div class="d-flex flex-column flex-lg-row gap-2 justify-content-around">
|
||||
<Button type="submit" color="primary" disabled={formSent}>
|
||||
{#if formSent}
|
||||
<Spinner label="Spinning" size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t("common.go")}
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@
|
|||
<div class="ml-3 mr-3">
|
||||
<Button type="submit" class="float-end" color="primary" disabled={request_pending}>
|
||||
{#if request_pending}
|
||||
<Spinner label={$t("common.spinning")} size="sm" />
|
||||
<Spinner size="sm" />
|
||||
{/if}
|
||||
{$t("common.run")}
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue