Skip to content

Commit

Permalink
Add text primary to form groups across all webapps
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinDY committed Oct 24, 2023
1 parent 90fb441 commit 305b334
Show file tree
Hide file tree
Showing 84 changed files with 598 additions and 181 deletions.
6 changes: 6 additions & 0 deletions client/web/admin/src/components/Apigw/CRouteEditorInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
v-if="route.routeID"
:label="$t('id')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="route.routeID"
Expand Down Expand Up @@ -60,6 +61,7 @@
<b-form-group
:label="$t('method')"
label-cols="2"
label-class="text-primary"
>
<b-form-select
v-model="route.method"
Expand All @@ -73,6 +75,7 @@
v-if="route.meta"
:label="$t('description')"
label-cols="2"
label-class="text-primary"
>
<b-form-textarea
v-model="route.meta.description"
Expand All @@ -95,6 +98,7 @@
v-if="route.updatedAt"
:label="$t('updatedAt')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
:value="route.updatedAt | locFullDateTime"
Expand All @@ -108,6 +112,7 @@
v-if="route.deletedAt"
:label="$t('deletedAt')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
:value="route.deletedAt | locFullDateTime"
Expand All @@ -122,6 +127,7 @@
data-test-id="input-create-at"
:label="$t('createdAt')"
label-cols="2"
label-class="text-primary"
class="mb-0"
>
<b-form-input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<b-form-group
:label="$t('general.id')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="hit.ID"
Expand All @@ -26,6 +27,7 @@
<b-form-group
:label="$t('general.route')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="request.route"
Expand All @@ -38,6 +40,7 @@
<b-form-group
:label="$t('general.URL')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="request.url"
Expand All @@ -49,6 +52,7 @@
<b-form-group
:label="$t('general.method')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="request.method"
Expand All @@ -60,6 +64,7 @@
<b-form-group
:label="$t('general.statusCode')"
label-cols="2"
label-class="text-primary"
>
<div
class="d-flex align-items-center h-100"
Expand All @@ -75,6 +80,7 @@
<b-form-group
:label="$t('general.remoteAddress')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="request.remoteAddress"
Expand All @@ -86,6 +92,7 @@
<b-form-group
:label="$t('general.duration')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="request.duration"
Expand All @@ -97,6 +104,7 @@
<b-form-group
:label="$t('general.start')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="request.start"
Expand All @@ -108,6 +116,7 @@
<b-form-group
:label="$t('general.end')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="request.end"
Expand Down Expand Up @@ -145,6 +154,7 @@
:key="header.label"
:label="header.label"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="header.value"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
v-if="application.applicationID"
:label="$t('id')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="application.applicationID"
Expand All @@ -24,6 +25,7 @@
<b-form-group
:label="$t('name')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="application.name"
Expand All @@ -49,6 +51,7 @@
v-if="application.updatedAt"
:label="$t('updatedAt')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
data-test-id="input-updated-at"
Expand All @@ -62,6 +65,7 @@
v-if="application.deletedAt"
:label="$t('deletedAt')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
data-test-id="input-deleted-at"
Expand All @@ -75,6 +79,7 @@
v-if="application.createdAt"
:label="$t('createdAt')"
label-cols="2"
label-class="text-primary"
class="mb-0"
>
<b-form-input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
:label="$t('name.label')"
:description="$t('name.description')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="unify.name"
Expand All @@ -23,6 +24,7 @@
:label="$t('logo.label')"
:description="$t('logo.description')"
label-cols="2"
label-class="text-primary"
>
<template #label>
<div
Expand Down Expand Up @@ -80,6 +82,7 @@
:label="$t('url.label')"
:description="$t('url.description')"
label-cols="2"
label-class="text-primary"
>
<b-form-input
v-model="unify.url"
Expand Down Expand Up @@ -113,6 +116,7 @@
<b-form-group
:label="$t('config.label')"
:description="$t('config.description')"
label-class="text-primary"
class="mb-0"
>
<b-form-textarea
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<b-form-group
:label="$t('name')"
label-cols="3"
label-class="text-primary"
>
<b-form-input
v-model="resource.meta.name"
Expand All @@ -24,6 +25,7 @@
<b-form-group
:label="$t('handle.label')"
label-cols="3"
label-class="text-primary"
>
<b-form-input
v-model="resource.handle"
Expand All @@ -49,6 +51,7 @@
<b-form-group
:label="$t('redirectURI')"
label-cols="3"
label-class="text-primary"
>
<b-button
data-test-id="button-add-redirect-uris"
Expand Down Expand Up @@ -91,6 +94,7 @@
v-if="!fresh"
:label="$t('secret')"
label-cols="3"
label-class="text-primary"
class="mb-3"
>
<div class="d-flex">
Expand Down Expand Up @@ -144,8 +148,9 @@
<b-form-group
data-test-id="valid-from"
:label="$t('validFrom.label')"
label-cols="3"
:description="$t('validFrom.description')"
label-cols="3"
label-class="text-primary"
>
<c-input-date-time
v-model="resource.validFrom"
Expand All @@ -162,8 +167,9 @@
<b-form-group
data-test-id="expires-at"
:label="$t('expiresAt.label')"
label-cols="3"
:description="$t('expiresAt.description')"
label-cols="3"
label-class="text-primary"
>
<c-input-date-time
v-model="resource.expiresAt"
Expand Down Expand Up @@ -245,17 +251,20 @@
<div v-if="isClientCredentialsGrant">
<b-form-group
data-test-id="impersonate-user"
label-cols="3"
:label="$t('security.impersonateUser.label')"
:description="$t('security.impersonateUser.description')"
label-cols="3"
label-class="text-primary"
>
<c-select-user
:user-i-d="resource.security.impersonateUser"
@updateUser="onUpdateUser"
/>
</b-form-group>
<div v-if="!fresh">
<b-form-group label-cols="3">
<b-form-group
label-cols="3"
>
<b-button
data-test-id="button-cURL-snippet"
variant="light"
Expand All @@ -274,6 +283,7 @@
v-if="curlVisible"
:label="$t('cUrl')"
label-cols="3"
label-class="text-primary"
class="curl"
>
<div class="w-100">
Expand Down Expand Up @@ -340,6 +350,7 @@ curl -X POST {{ curlURL }} \
data-test-id="permitted-roles"
:label="$t('security.permittedRoles.label')"
label-cols="3"
label-class="text-primary"
class="mb-0"
>
<c-role-picker
Expand All @@ -356,6 +367,7 @@ curl -X POST {{ curlURL }} \
:label="$t('security.prohibitedRoles.label')"
data-test-id="prohibited-roles"
label-cols="3"
label-class="text-primary"
class="mb-0"
>
<c-role-picker
Expand All @@ -372,6 +384,7 @@ curl -X POST {{ curlURL }} \
data-test-id="forced-roles"
:label="$t('security.forcedRoles.label')"
label-cols="3"
label-class="text-primary"
class="mb-0"
>
<c-role-picker
Expand All @@ -388,6 +401,7 @@ curl -X POST {{ curlURL }} \
v-if="resource.createdAt"
:label="$t('createdAt')"
label-cols="3"
label-class="text-primary"
class="mb-0"
>
<b-form-input
Expand All @@ -402,6 +416,7 @@ curl -X POST {{ curlURL }} \
v-if="resource.updatedAt"
:label="$t('updatedAt')"
label-cols="3"
label-class="text-primary"
>
<b-form-input
data-test-id="updated-at"
Expand All @@ -415,6 +430,7 @@ curl -X POST {{ curlURL }} \
v-if="resource.deletedAt"
:label="$t('deletedAt')"
label-cols="3"
label-class="text-primary"
>
<b-form-input
data-test-id="deleted-at"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,19 @@
<b-col
cols="12"
>
<label>{{ $t('connectivity-issues') }}</label>
<b-alert
v-for="issue in issues"
:key="issue"
show
variant="danger"
<b-form-group
:label="$t('connectivity-issues')"
label-class="text-primary"
>
{{ issue }}
</b-alert>
<b-alert
v-for="issue in issues"
:key="issue"
show
variant="danger"
>
{{ issue }}
</b-alert>
</b-form-group>
</b-col>
</b-row>
<b-row>
Expand All @@ -31,6 +35,7 @@
<b-form-group
:label="$t('form.model-ident.label')"
:description="$t('form.model-ident.description', { interpolation: { prefix: '{{{', suffix: '}}}' } })"
label-class="text-primary"
>
<b-form-input
v-model="dal.modelIdent"
Expand All @@ -48,6 +53,7 @@
<b-form-group
:label="$t('form.type.label')"
:description="$t('form.type.description')"
label-class="text-primary"
>
<b-form-input
v-model="dal.type"
Expand All @@ -65,6 +71,7 @@
<b-form-group
:label="$t('form.params.label')"
:description="$t('form.params.description')"
label-class="text-primary"
>
<b-form-textarea
v-model="paramsJson"
Expand Down
Loading

0 comments on commit 305b334

Please sign in to comment.