Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
061c47a0
Commit
061c47a0
authored
Jul 14, 2020
by
Nicolò Maria Mezzopera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor bootstrap classes to gitlab-ui ones
- settings form - expiration policy fields - snapshots
parent
766dad50
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
app/assets/javascripts/registry/settings/components/settings_form.vue
...avascripts/registry/settings/components/settings_form.vue
+4
-4
app/assets/javascripts/registry/shared/components/expiration_policy_fields.vue
...s/registry/shared/components/expiration_policy_fields.vue
+3
-3
spec/frontend/registry/shared/components/__snapshots__/expiration_policy_fields_spec.js.snap
...nents/__snapshots__/expiration_policy_fields_spec.js.snap
+3
-3
No files found.
app/assets/javascripts/registry/settings/components/settings_form.vue
View file @
061c47a0
...
...
@@ -103,11 +103,11 @@ export default {
/>
</
template
>
<
template
#footer
>
<div
class=
"
d-flex
justify-content-end"
>
<div
class=
"
gl-display-flex gl-
justify-content-end"
>
<gl-deprecated-button
ref=
"cancel-button"
type=
"reset"
class=
"
mr-2 d
-block"
class=
"
gl-mr-3 gl-display
-block"
:disabled=
"isCancelButtonDisabled"
>
{{
__
(
'
Cancel
'
)
}}
...
...
@@ -117,10 +117,10 @@ export default {
type=
"submit"
:disabled=
"isSubmitButtonDisabled"
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
}}
<gl-loading-icon
v-if=
"isLoading"
class=
"
ml-2
"
/>
<gl-loading-icon
v-if=
"isLoading"
class=
"
gl-ml-3
"
/>
</gl-deprecated-button>
</div>
</
template
>
...
...
app/assets/javascripts/registry/shared/components/expiration_policy_fields.vue
View file @
061c47a0
...
...
@@ -177,7 +177,7 @@ export default {
</
script
>
<
template
>
<div
ref=
"form-elements"
class=
"
lh-2
"
>
<div
ref=
"form-elements"
class=
"
gl-line-height-20
"
>
<gl-form-group
:id=
"idGenerator('expiration-policy-toggle-group')"
:label-cols=
"labelCols"
...
...
@@ -185,13 +185,13 @@ export default {
:label-for=
"idGenerator('expiration-policy-toggle')"
:label=
"$options.i18n.ENABLE_TOGGLE_LABEL"
>
<div
class=
"
d-flex align-items-start
"
>
<div
class=
"
gl-display-flex
"
>
<gl-toggle
:id=
"idGenerator('expiration-policy-toggle')"
v-model=
"enabled"
: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"
>
<template
#toggleStatus
>
<strong>
{{
policyEnabledText
}}
</strong>
...
...
spec/frontend/registry/shared/components/__snapshots__/expiration_policy_fields_spec.js.snap
View file @
061c47a0
...
...
@@ -2,7 +2,7 @@
exports[`Expiration Policy Form renders 1`] = `
<div
class="
lh-2
"
class="
gl-line-height-20
"
>
<gl-form-group-stub
id="expiration-policy-toggle-group"
...
...
@@ -12,7 +12,7 @@ exports[`Expiration Policy Form renders 1`] = `
label-for="expiration-policy-toggle"
>
<div
class="
d-flex align-items-start
"
class="
gl-display-flex
"
>
<gl-toggle-stub
id="expiration-policy-toggle"
...
...
@@ -20,7 +20,7 @@ exports[`Expiration Policy Form renders 1`] = `
/>
<span
class="
mb-2 ml-2 lh-2
"
class="
gl-mb-3 gl-ml-3 gl-line-height-20
"
>
<strong>
Disabled
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment