diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-08-22 14:29:58 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-08-25 08:38:00 +0200 |
commit | d0473214cd2582ec63f4a5021a8f5927f67bc98f (patch) | |
tree | 455708226929d13d55e24bde90833e1508a38714 /apps/oauth2 | |
parent | 708018795863999b674d1e3e900313785893d6a8 (diff) | |
download | nextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.tar.gz nextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.zip |
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/oauth2')
-rw-r--r-- | apps/oauth2/src/App.vue | 16 | ||||
-rw-r--r-- | apps/oauth2/src/components/OAuthItem.vue | 8 |
2 files changed, 12 insertions, 12 deletions
diff --git a/apps/oauth2/src/App.vue b/apps/oauth2/src/App.vue index ba374fcc21c..8b9d2e7aff6 100644 --- a/apps/oauth2/src/App.vue +++ b/apps/oauth2/src/App.vue @@ -20,7 +20,7 @@ - --> <template> - <SettingsSection :title="t('oauth2', 'OAuth 2.0 clients')" + <NcSettingsSection :title="t('oauth2', 'OAuth 2.0 clients')" :description="t('oauth2', 'OAuth 2.0 allows external services to request access to {instanceName}.', { instanceName })" :doc-url="oauthDocLink"> <table v-if="clients.length > 0" class="grid"> @@ -54,11 +54,11 @@ type="url" name="redirectUri" :placeholder="t('oauth2', 'Redirection URI')"> - <ButtonVue class="inline-button"> + <NcButton class="inline-button"> {{ t('oauth2', 'Add') }} - </ButtonVue> + </NcButton> </form> - </SettingsSection> + </NcSettingsSection> </template> <script> @@ -66,16 +66,16 @@ import axios from '@nextcloud/axios' import OAuthItem from './components/OAuthItem' import { generateUrl } from '@nextcloud/router' import { getCapabilities } from '@nextcloud/capabilities' -import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection' -import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' +import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection' +import NcButton from '@nextcloud/vue/dist/Components/NcButton' import { loadState } from '@nextcloud/initial-state' export default { name: 'App', components: { OAuthItem, - SettingsSection, - ButtonVue, + NcSettingsSection, + NcButton, }, props: { clients: { diff --git a/apps/oauth2/src/components/OAuthItem.vue b/apps/oauth2/src/components/OAuthItem.vue index 8a98d8dab29..41874b1f02b 100644 --- a/apps/oauth2/src/components/OAuthItem.vue +++ b/apps/oauth2/src/components/OAuthItem.vue @@ -42,14 +42,14 @@ </table> </td> <td class="action-column"> - <ButtonVue type="tertiary-no-background" + <NcButton type="tertiary-no-background" :aria-label="t('oauth2', 'Delete')" @click="$emit('delete', id)"> <template #icon> <Delete :size="20" :title="t('oauth2', 'Delete')" /> </template> - </ButtonVue> + </NcButton> </td> </tr> </template> @@ -57,13 +57,13 @@ <script> import Delete from 'vue-material-design-icons/Delete' -import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' +import NcButton from '@nextcloud/vue/dist/Components/NcButton' export default { name: 'OAuthItem', components: { Delete, - ButtonVue, + NcButton, }, props: { client: { |