mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
migration(bs5): r/sr-only/visually-hidden
This commit is contained in:
parent
357405d2a3
commit
26b691d9d6
8 changed files with 10 additions and 10 deletions
|
@ -19,12 +19,12 @@
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
class="sr-only"
|
class="visually-hidden"
|
||||||
:id="id + 'local-part-desc'"
|
:id="id + 'local-part-desc'"
|
||||||
v-t="'address.local_part_description.' + type"
|
v-t="'address.local_part_description.' + type"
|
||||||
/>
|
/>
|
||||||
<span
|
<span
|
||||||
class="sr-only"
|
class="visually-hidden"
|
||||||
:id="id + 'domain-desc'"
|
:id="id + 'domain-desc'"
|
||||||
v-t="'address.domain_description.' + type"
|
v-t="'address.domain_description.' + type"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
class="ms-2"
|
class="ms-2"
|
||||||
@click.stop="node.data.opened = !node.data.opened"
|
@click.stop="node.data.opened = !node.data.opened"
|
||||||
>
|
>
|
||||||
<span class="sr-only">{{ toggleText }}</span>
|
<span class="visually-hidden">{{ toggleText }}</span>
|
||||||
<YIcon iname="chevron-right" />
|
<YIcon iname="chevron-right" />
|
||||||
</BButton>
|
</BButton>
|
||||||
</BListGroupItem>
|
</BListGroupItem>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
@click="open = !open"
|
@click="open = !open"
|
||||||
>
|
>
|
||||||
<YIcon iname="question" />
|
<YIcon iname="question" />
|
||||||
<span class="sr-only">
|
<span class="visually-hidden">
|
||||||
{{ $t('details_about', { subject: title }) }}
|
{{ $t('details_about', { subject: title }) }}
|
||||||
</span>
|
</span>
|
||||||
</BButton>
|
</BButton>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<BBreadcrumb v-if="breadcrumb.length">
|
<BBreadcrumb v-if="breadcrumb.length">
|
||||||
<BBreadcrumbItem to="/">
|
<BBreadcrumbItem to="/">
|
||||||
<span class="sr-only">{{ $t('home') }}</span>
|
<span class="visually-hidden">{{ $t('home') }}</span>
|
||||||
<YIcon iname="home" />
|
<YIcon iname="home" />
|
||||||
</BBreadcrumbItem>
|
</BBreadcrumbItem>
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<YIcon iname="chevron-right" />
|
<YIcon iname="chevron-right" />
|
||||||
<span class="sr-only">{{ $t('words.collapse') }}</span>
|
<span class="visually-hidden">{{ $t('words.collapse') }}</span>
|
||||||
</BButton>
|
</BButton>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
@click="clearFiles"
|
@click="clearFiles"
|
||||||
variant="danger"
|
variant="danger"
|
||||||
>
|
>
|
||||||
<span class="sr-only">{{ $t('delete') }}</span>
|
<span class="visually-hidden">{{ $t('delete') }}</span>
|
||||||
<YIcon iname="trash" />
|
<YIcon iname="trash" />
|
||||||
</BButton>
|
</BButton>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
:href="'https://' + name + app.path"
|
:href="'https://' + name + app.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<span class="sr-only">{{ $t('app.visit_app') }}</span>
|
<span class="visually-hidden">{{ $t('app.visit_app') }}</span>
|
||||||
<YIcon iname="external-link" />
|
<YIcon iname="external-link" />
|
||||||
</BButton>
|
</BButton>
|
||||||
</BButton-group>
|
</BButton-group>
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
|
|
||||||
<BButton variant="danger" @click="removeEmailField('aliases', i)">
|
<BButton variant="danger" @click="removeEmailField('aliases', i)">
|
||||||
<YIcon :title="$t('delete')" iname="trash-o" />
|
<YIcon :title="$t('delete')" iname="trash-o" />
|
||||||
<span class="sr-only">{{ $t('delete') }}</span>
|
<span class="visually-hidden">{{ $t('delete') }}</span>
|
||||||
</BButton>
|
</BButton>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
|
|
||||||
<BButton variant="danger" @click="removeEmailField('forward', i)">
|
<BButton variant="danger" @click="removeEmailField('forward', i)">
|
||||||
<YIcon :title="$t('delete')" iname="trash-o" />
|
<YIcon :title="$t('delete')" iname="trash-o" />
|
||||||
<span class="sr-only">{{ $t('delete') }}</span>
|
<span class="visually-hidden">{{ $t('delete') }}</span>
|
||||||
</BButton>
|
</BButton>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue