Sync how permissions buttons UI/UX looks
This commit is contained in:
@@ -63,8 +63,8 @@
|
||||
v-if="canGrant"
|
||||
data-test-id="button-permissions"
|
||||
resource="corteza::system:apigw-route/*"
|
||||
button-variant="link text-decoration-none text-dark regular-font rounded-0"
|
||||
class="text-dark d-print-none border-0"
|
||||
button-variant="light"
|
||||
class="ml-1 text-dark d-print-none"
|
||||
>
|
||||
<font-awesome-icon :icon="['fas', 'lock']" />
|
||||
{{ $t('permissions') }}
|
||||
|
||||
@@ -62,10 +62,13 @@
|
||||
/>
|
||||
</template>
|
||||
|
||||
<b-dropdown-item>
|
||||
<b-dropdown-item
|
||||
link-class="p-0"
|
||||
>
|
||||
<b-button
|
||||
size="sm"
|
||||
variant="link"
|
||||
class="text-decoration-none"
|
||||
@click="openConfirmPending(n)"
|
||||
>
|
||||
<font-awesome-icon
|
||||
|
||||
@@ -86,12 +86,13 @@
|
||||
|
||||
<b-dropdown-item
|
||||
v-if="a.authClientID && canGrant"
|
||||
link-class="p-0"
|
||||
>
|
||||
<c-permissions-button
|
||||
:title="a.meta.name || a.handle || a.authClientID"
|
||||
:target="a.meta.name || a.handle || a.authClientID"
|
||||
:resource="`corteza::system:auth-client/${a.authClientID}`"
|
||||
button-variant="link text-decoration-none text-dark regular-font rounded-0"
|
||||
button-variant="link dropdown-item text-decoration-none text-dark regular-font rounded-0"
|
||||
class="text-dark d-print-none border-0"
|
||||
>
|
||||
<font-awesome-icon :icon="['fas', 'lock']" />
|
||||
@@ -101,12 +102,13 @@
|
||||
|
||||
<b-dropdown-item
|
||||
v-if="!a.isDefault && a.canDeleteAuthClient"
|
||||
link-class="p-0"
|
||||
>
|
||||
<c-input-confirm
|
||||
borderless
|
||||
variant="link"
|
||||
size="md"
|
||||
button-class="text-decoration-none text-dark regular-font rounded-0"
|
||||
button-class="dropdown-item text-decoration-none text-dark regular-font rounded-0"
|
||||
class="w-100"
|
||||
@confirmed="handleDelete(a)"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user