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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
c9b3c08c
Commit
c9b3c08c
authored
May 16, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed table border color
Fixed issue with form errors not displaying
parent
99428f19
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
+15
-14
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-1
app/views/projects/variables/_table.html.haml
app/views/projects/variables/_table.html.haml
+13
-12
app/views/projects/variables/index.html.haml
app/views/projects/variables/index.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/variables.scss
View file @
c9b3c08c
...
@@ -12,7 +12,7 @@ $gutter_inner_width: 258px;
...
@@ -12,7 +12,7 @@ $gutter_inner_width: 258px;
*/
*/
$border-color
:
#e5e5e5
;
$border-color
:
#e5e5e5
;
$focus-border-color
:
#3aabf0
;
$focus-border-color
:
#3aabf0
;
$table-border-color
:
#
ececec
;
$table-border-color
:
#
f0f0f0
;
$background-color
:
#fafafa
;
$background-color
:
#fafafa
;
/*
/*
...
...
app/views/projects/variables/_table.html.haml
View file @
c9b3c08c
...
@@ -10,15 +10,16 @@
...
@@ -10,15 +10,16 @@
%th
%th
%tbody
%tbody
-
@project
.
variables
.
each
do
|
variable
|
-
@project
.
variables
.
each
do
|
variable
|
%tr
-
if
variable
.
id?
%td
=
variable
.
key
%tr
%td
=
variable
.
value
%td
=
variable
.
key
%td
%td
=
variable
.
value
=
link_to
namespace_project_variable_path
(
@project
.
namespace
,
@project
,
variable
),
class:
"btn btn-transparent btn-variable-edit"
do
%td
%span
.sr-only
=
link_to
namespace_project_variable_path
(
@project
.
namespace
,
@project
,
variable
),
class:
"btn btn-transparent btn-variable-edit"
do
Update
%span
.sr-only
=
icon
(
"pencil"
)
Update
=
link_to
namespace_project_variable_path
(
@project
.
namespace
,
@project
,
variable
),
class:
"btn btn-transparent btn-variable-delete"
,
method: :delete
,
data:
{
confirm:
"Are you sure?"
}
do
=
icon
(
"pencil"
)
%span
.sr-only
=
link_to
namespace_project_variable_path
(
@project
.
namespace
,
@project
,
variable
),
class:
"btn btn-transparent btn-variable-delete"
,
method: :delete
,
data:
{
confirm:
"Are you sure?"
}
do
Remove
%span
.sr-only
=
icon
(
"trash"
)
Remove
=
icon
(
"trash"
)
app/views/projects/variables/index.html.haml
View file @
c9b3c08c
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
%h5
.prepend-top-0
%h5
.prepend-top-0
Your variables (
#{
@project
.
variables
.
size
}
)
Your variables (
#{
@project
.
variables
.
size
}
)
-
if
@project
.
variables
.
empty?
-
if
@project
.
variables
.
empty?
%p
.
profile-
settings-message.text-center.append-bottom-0
%p
.settings-message.text-center.append-bottom-0
No variables found, add one with the form above.
No variables found, add one with the form above.
-
else
-
else
=
render
"table"
=
render
"table"
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