Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
2c45eda9
Commit
2c45eda9
authored
2 years ago
by
Jai Bhagat
Browse files
Options
Download
Email Patches
Plain Diff
refact: remove inline styling for grid class
parent
8e3510ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ui/app/components/secure-variable-form.hbs
+2
-2
ui/app/components/secure-variable-form.hbs
ui/app/components/secure-variable-form/namespace-filter.hbs
+1
-3
ui/app/components/secure-variable-form/namespace-filter.hbs
ui/app/styles/components/secure-variables.scss
+6
-0
ui/app/styles/components/secure-variables.scss
with
9 additions
and
5 deletions
+9
-5
ui/app/components/secure-variable-form.hbs
+
2
-
2
View file @
2c45eda9
{{
did-update
this
.
onViewChange
@view
}}
{{
did-insert
this
.
establishKeyValues
}}
<form
class=
"new-secure-variables"
autocomplete=
"off"
{{
on
"submit"
this
.
save
}}
>
<div
style=
"display: flex
"
>
<label
style=
"flex-grow: 5"
>
<div
class=
"path-namespace
"
>
<label>
<span>
Path
</span>
...
...
This diff is collapsed.
Click to expand it.
ui/app/components/secure-variable-form/namespace-filter.hbs
+
1
-
3
View file @
2c45eda9
...
...
@@ -5,9 +5,7 @@
{{#if
trigger
.
data
.
isSuccess
}}
{{#if
trigger
.
data
.
result
}}
{{#if
@data
.
namespaceOptions
}}
<label
style=
"flex-grow: 1; display: flex; flex-direction: column; margin-left: 10px; align-items: flex-end"
>
<label>
<span>
Namespace
</span>
...
...
This diff is collapsed.
Click to expand it.
ui/app/styles/components/secure-variables.scss
+
6
-
0
View file @
2c45eda9
...
...
@@ -41,6 +41,12 @@
animation
:
slide-in
0
.3s
ease-out
;
}
.path-namespace
{
display
:
grid
;
grid-template-columns
:
6fr
1fr
;
gap
:
0
1rem
;
}
.key-value
{
display
:
grid
;
grid-template-columns
:
1fr
4fr
130px
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help