Commit 9e6f907b authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch...

Merge branch '225194-refactor-container-registry-cleanup-policies-to-gitlab-ui-utility-classes' into 'master'

Refactor container registry cleanup policies to gitlab-ui utility classes

Closes #225194

See merge request gitlab-org/gitlab!36814
parents bfaf8f91 061c47a0
...@@ -103,11 +103,11 @@ export default { ...@@ -103,11 +103,11 @@ export default {
/> />
</template> </template>
<template #footer> <template #footer>
<div class="d-flex justify-content-end"> <div class="gl-display-flex gl-justify-content-end">
<gl-deprecated-button <gl-deprecated-button
ref="cancel-button" ref="cancel-button"
type="reset" type="reset"
class="mr-2 d-block" class="gl-mr-3 gl-display-block"
:disabled="isCancelButtonDisabled" :disabled="isCancelButtonDisabled"
> >
{{ __('Cancel') }} {{ __('Cancel') }}
...@@ -117,10 +117,10 @@ export default { ...@@ -117,10 +117,10 @@ export default {
type="submit" type="submit"
:disabled="isSubmitButtonDisabled" :disabled="isSubmitButtonDisabled"
variant="success" variant="success"
class="d-flex justify-content-center align-items-center js-no-auto-disable" class="gl-display-flex gl-justify-content-center gl-align-items-center js-no-auto-disable"
> >
{{ $options.i18n.SET_CLEANUP_POLICY_BUTTON }} {{ $options.i18n.SET_CLEANUP_POLICY_BUTTON }}
<gl-loading-icon v-if="isLoading" class="ml-2" /> <gl-loading-icon v-if="isLoading" class="gl-ml-3" />
</gl-deprecated-button> </gl-deprecated-button>
</div> </div>
</template> </template>
......
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
</script> </script>
<template> <template>
<div ref="form-elements" class="lh-2"> <div ref="form-elements" class="gl-line-height-20">
<gl-form-group <gl-form-group
:id="idGenerator('expiration-policy-toggle-group')" :id="idGenerator('expiration-policy-toggle-group')"
:label-cols="labelCols" :label-cols="labelCols"
...@@ -185,13 +185,13 @@ export default { ...@@ -185,13 +185,13 @@ export default {
:label-for="idGenerator('expiration-policy-toggle')" :label-for="idGenerator('expiration-policy-toggle')"
:label="$options.i18n.ENABLE_TOGGLE_LABEL" :label="$options.i18n.ENABLE_TOGGLE_LABEL"
> >
<div class="d-flex align-items-start"> <div class="gl-display-flex">
<gl-toggle <gl-toggle
:id="idGenerator('expiration-policy-toggle')" :id="idGenerator('expiration-policy-toggle')"
v-model="enabled" v-model="enabled"
:disabled="isLoading" :disabled="isLoading"
/> />
<span class="mb-2 ml-2 lh-2"> <span class="gl-mb-3 gl-ml-3 gl-line-height-20">
<gl-sprintf :message="$options.i18n.ENABLE_TOGGLE_DESCRIPTION"> <gl-sprintf :message="$options.i18n.ENABLE_TOGGLE_DESCRIPTION">
<template #toggleStatus> <template #toggleStatus>
<strong>{{ policyEnabledText }}</strong> <strong>{{ policyEnabledText }}</strong>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
exports[`Expiration Policy Form renders 1`] = ` exports[`Expiration Policy Form renders 1`] = `
<div <div
class="lh-2" class="gl-line-height-20"
> >
<gl-form-group-stub <gl-form-group-stub
id="expiration-policy-toggle-group" id="expiration-policy-toggle-group"
...@@ -12,7 +12,7 @@ exports[`Expiration Policy Form renders 1`] = ` ...@@ -12,7 +12,7 @@ exports[`Expiration Policy Form renders 1`] = `
label-for="expiration-policy-toggle" label-for="expiration-policy-toggle"
> >
<div <div
class="d-flex align-items-start" class="gl-display-flex"
> >
<gl-toggle-stub <gl-toggle-stub
id="expiration-policy-toggle" id="expiration-policy-toggle"
...@@ -20,7 +20,7 @@ exports[`Expiration Policy Form renders 1`] = ` ...@@ -20,7 +20,7 @@ exports[`Expiration Policy Form renders 1`] = `
/> />
<span <span
class="mb-2 ml-2 lh-2" class="gl-mb-3 gl-ml-3 gl-line-height-20"
> >
<strong> <strong>
Disabled Disabled
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment