Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -968,5 +968,32 @@
},
"DescriptionPredefinedwebdavurls": {
"message": "Select your service"
},
"LabelShowpassword": {
"message": "Show password"
},
"LabelHidepassword": {
"message": "Hide password"
},
"LabelTitle": {
"message": "Title"
},
"LabelLink": {
"message": "Link"
},
"LabelParentfolder": {
"message": "Parent folder"
},
"LabelHome": {
"message": "Home"
},
"LabelSortby": {
"message": "Sort by"
},
"LabelMoreactions": {
"message": "More actions"
},
"LabelServerconnectionsuccessful": {
"message": "Server connection successful"
}
}
14 changes: 9 additions & 5 deletions src/ui/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@
text
class="white--text"
v-bind="attrs"
:aria-label="t('LabelFunddevelopment')"
:to="{ name: routes.DONATE }"
target="_blank"
v-on="on">
<v-icon>mdi-heart-outline</v-icon>
<v-icon aria-hidden="true">mdi-heart-outline</v-icon>
</v-btn>
</template>
<span>{{ t('LabelFunddevelopment') }}</span>
Expand All @@ -55,10 +56,11 @@
text
class="white--text"
v-bind="attrs"
:aria-label="t('LabelTelemetry')"
:to="{ name: routes.TELEMETRY }"
target="_blank"
v-on="on">
<v-icon>
<v-icon aria-hidden="true">
{{
telemetryEnabled
? 'mdi-bug-play-outline'
Expand All @@ -76,10 +78,11 @@
text
class="white--text"
v-bind="attrs"
:aria-label="t('LabelGivefeedback')"
:to="{ name: routes.FEEDBACK }"
target="_blank"
v-on="on">
<v-icon>mdi-bullhorn-variant-outline</v-icon>
<v-icon aria-hidden="true">mdi-bullhorn-variant-outline</v-icon>
</v-btn>
</template>
<span>{{ t('LabelGivefeedback') }}</span>
Expand All @@ -91,10 +94,11 @@
text
class="white--text"
v-bind="attrs"
:aria-label="t('LabelOpeninnewtab')"
target="_blank"
@click="openInNewTab"
v-on="on">
<v-icon>mdi-open-in-new</v-icon>
<v-icon aria-hidden="true">mdi-open-in-new</v-icon>
</v-btn>
</template>
<span>{{ t('LabelOpeninnewtab') }}</span>
Expand All @@ -108,7 +112,7 @@
persistent>
<v-card>
<v-card-title>
<v-icon>mdi-lock-outline</v-icon>{{ t('LabelUnlock') }}
<v-icon aria-hidden="true">mdi-lock-outline</v-icon>{{ t('LabelUnlock') }}
</v-card-title>
<v-card-text>
<v-alert
Expand Down
26 changes: 17 additions & 9 deletions src/ui/components/AccountCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,20 @@
<div class="overline">
{{ account.data.type }}
</div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="2">
<v-icon
v-if="account.data.localRoot === 'tabs'"
color="primary">
color="primary"
aria-hidden="true">
mdi-tab
</v-icon>
<v-icon
v-else
color="primary">
color="primary"
aria-hidden="true">
mdi-folder
</v-icon>
{{ folderName }}
Expand All @@ -40,7 +45,8 @@
<div class="pa-3 d-inline-block font-weight-light body-2">
<v-icon
:color="statusColor"
:class="{ spinning: account.data.syncing }">
:class="{ spinning: account.data.syncing }"
aria-hidden="true">
{{ statusIcon }}
</v-icon>
<span :style="{ color: statusColor }">{{ statusLabel }}</span>
Expand Down Expand Up @@ -120,7 +126,7 @@
params: { accountId: account.id },
}"
target="_blank">
<v-icon>mdi-cog</v-icon>
<v-icon aria-hidden="true">mdi-cog</v-icon>
{{ t('LabelOptions') }}
</v-btn>
</v-col>
Expand All @@ -130,16 +136,18 @@
small
:disabled="account.data.syncing || account.data.scheduled"
:title="t('LabelSyncDownOnce')"
:aria-label="t('LabelSyncDownOnce')"
@click="onTriggerSyncDown">
<v-icon>mdi-arrow-down-bold</v-icon>
<v-icon aria-hidden="true">mdi-arrow-down-bold</v-icon>
</v-btn>
<v-btn
class="ma-1"
small
:disabled="account.data.syncing || account.data.scheduled"
:title="t('LabelSyncUpOnce')"
:aria-label="t('LabelSyncUpOnce')"
@click="onTriggerSyncUp">
<v-icon>mdi-arrow-up-bold</v-icon>
<v-icon aria-hidden="true">mdi-arrow-up-bold</v-icon>
</v-btn>
<v-btn
v-if="!account.data.syncing"
Expand All @@ -149,7 +157,7 @@
:title="t('LabelSyncnow')"
:aria-label="t('LabelSyncnow')"
@click="onTriggerSync">
<v-icon>mdi-sync</v-icon>
<v-icon aria-hidden="true">mdi-sync</v-icon>
</v-btn>
<v-btn
v-else
Expand All @@ -158,7 +166,7 @@
:title="t('LabelCancelsync')"
:aria-label="t('LabelCancelsync')"
@click="onCancelSync">
<v-icon>mdi-cancel</v-icon>
<v-icon aria-hidden="true">mdi-cancel</v-icon>
</v-btn>
</v-col>
</v-row>
Expand Down
22 changes: 17 additions & 5 deletions src/ui/components/NextcloudLogin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
<template #activator="{ on }">
<v-btn
icon
:aria-label="t('LabelLoginFlowStart')"
@click="onFlowStart"
v-on="on">
<v-icon>mdi-account-circle</v-icon>
<v-icon aria-hidden="true">mdi-account-circle</v-icon>
</v-btn>
</template>
<span>{{ t('LabelLoginFlowStart') }}</span>
Expand All @@ -27,21 +28,32 @@
<template #activator="{ on }">
<v-btn
icon
:aria-label="t('LabelLoginFlowStop')"
@click="onFlowStop"
v-on="on">
<v-icon>mdi-cancel</v-icon>
<v-icon aria-hidden="true">mdi-cancel</v-icon>
</v-btn>
</template>
<span>{{ t('LabelLoginFlowStop') }}</span>
</v-tooltip>
</template>
</v-text-field>
<v-text-field
:append-icon="showPassword ? 'mdi-eye' : 'mdi-eye-off'"
:type="showPassword ? 'text' : 'password'"
:label="t('LabelPassword')"
@click:append="showPassword = !showPassword"
@input="$emit('update:password', $event)" />
@input="$emit('update:password', $event)">
<template #append>
<v-icon
role="button"
tabindex="0"
:aria-label="showPassword ? t('LabelHidepassword') : t('LabelShowpassword')"
@click="showPassword = !showPassword"
@keydown.enter="showPassword = !showPassword"
@keydown.space.prevent="showPassword = !showPassword">
{{ showPassword ? 'mdi-eye' : 'mdi-eye-off' }}
</v-icon>
</template>
</v-text-field>
</div>
</template>

Expand Down
5 changes: 4 additions & 1 deletion src/ui/components/OptionAllowRedirects.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelAllowredirects') }}
</div>
<div class="caption">
Expand Down
5 changes: 4 additions & 1 deletion src/ui/components/OptionAutoSync.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelAutosync') }}
</div>
<div class="caption">
Expand Down
5 changes: 4 additions & 1 deletion src/ui/components/OptionClientCert.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelClientcert') }}
</div>
<div class="caption">
Expand Down
5 changes: 4 additions & 1 deletion src/ui/components/OptionDeleteAccount.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelRemoveaccount') }}
</div>
<div class="caption">
Expand Down
5 changes: 4 additions & 1 deletion src/ui/components/OptionDownloadLogs.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelDownloadlogs') }}
</div>
<div class="caption">
Expand Down
5 changes: 4 additions & 1 deletion src/ui/components/OptionExportBookmarks.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelExportBookmarks') }}
</div>
<div class="caption">
Expand Down
5 changes: 4 additions & 1 deletion src/ui/components/OptionFailsafe.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelFailsafe') }}
</div>
<div class="caption">
Expand Down
5 changes: 4 additions & 1 deletion src/ui/components/OptionFileType.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelFiletype') }}
</div>
<div class="caption">
Expand Down
5 changes: 4 additions & 1 deletion src/ui/components/OptionNestedSync.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelNestedSync') }}
</div>
<div class="caption">
Expand Down
21 changes: 17 additions & 4 deletions src/ui/components/OptionPassphrase.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelPassphrase') }}
</div>
<div class="caption">
Expand All @@ -25,10 +28,20 @@
<v-text-field
class="mt-2"
:label="t('LabelPassphrase')"
:append-icon="showPassphrase ? 'mdi-eye' : 'mdi-eye-off'"
:type="showPassphrase ? 'text' : 'password'"
@input="passphrase = $event"
@click:append="showPassphrase = !showPassphrase" />
@input="passphrase = $event">
<template #append>
<v-icon
role="button"
tabindex="0"
:aria-label="showPassphrase ? t('LabelHidepassword') : t('LabelShowpassword')"
@click="showPassphrase = !showPassphrase"
@keydown.enter="showPassphrase = !showPassphrase"
@keydown.space.prevent="showPassphrase = !showPassphrase">
{{ showPassphrase ? 'mdi-eye' : 'mdi-eye-off' }}
</v-icon>
</template>
</v-text-field>
<v-btn
color="primary"
@click="$emit('input', passphrase); editing = false">
Expand Down
5 changes: 4 additions & 1 deletion src/ui/components/OptionResetCache.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="text-h6">
<div
class="text-h6"
role="heading"
aria-level="3">
{{ t('LabelSyncfromscratch') }}
</div>
<div class="caption">
Expand Down
Loading
Loading