mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #41034 from nextcloud/fix/37092/users--html-validation
fix(settings): users page html validation
This commit is contained in:
commit
d43c66e96a
6 changed files with 10 additions and 11 deletions
|
|
@ -150,7 +150,7 @@
|
|||
:for="'subadmins' + uniqueId">
|
||||
{{ t('settings', 'Set user as admin for') }}
|
||||
</label>
|
||||
<NcSelect :id="'subadmins' + uniqueId"
|
||||
<NcSelect :input-id="'subadmins' + uniqueId"
|
||||
:close-on-select="false"
|
||||
:disabled="isLoadingField"
|
||||
:loading="loading.subadmins"
|
||||
|
|
@ -190,8 +190,8 @@
|
|||
@option:selected="setUserQuota" />
|
||||
</template>
|
||||
<template v-else-if="!isObfuscated">
|
||||
<label :for="'quota-progress' + uniqueId">{{ userQuota }} ({{ usedSpace }})</label>
|
||||
<NcProgressBar :id="'quota-progress' + uniqueId"
|
||||
<span :id="'quota-progress' + uniqueId">{{ userQuota }} ({{ usedSpace }})</span>
|
||||
<NcProgressBar :aria-labelledby="'quota-progress' + uniqueId"
|
||||
class="row__progress"
|
||||
:class="{
|
||||
'row__progress--warn': usedQuota > 80,
|
||||
|
|
@ -406,7 +406,7 @@ export default {
|
|||
},
|
||||
|
||||
uniqueId() {
|
||||
return this.user.id + this.rand
|
||||
return encodeURIComponent(this.user.id + this.rand)
|
||||
},
|
||||
|
||||
userGroupsLabels() {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
<NcAppNavigation>
|
||||
<NcAppNavigationNew button-id="new-user-button"
|
||||
:text="t('settings','New user')"
|
||||
button-class="icon-add"
|
||||
@click="showNewUserMenu"
|
||||
@keyup.enter="showNewUserMenu"
|
||||
@keyup.space="showNewUserMenu">
|
||||
|
|
|
|||
4
dist/settings-users-8351.js
vendored
4
dist/settings-users-8351.js
vendored
File diff suppressed because one or more lines are too long
2
dist/settings-users-8351.js.map
vendored
2
dist/settings-users-8351.js.map
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue