BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
+15
-14
variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-1
_table.html.haml
app/views/projects/variables/_table.html.haml
+13
-12
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;
*/
$border-color
:
#e5e5e5
;
$focus-border-color
:
#3aabf0
;
$table-border-color
:
#
ececec
;
$table-border-color
:
#
f0f0f0
;
$background-color
:
#fafafa
;
/*
...
...
app/views/projects/variables/_table.html.haml
View file @
c9b3c08c
...
...
@@ -10,15 +10,16 @@
%th
%tbody
-
@project
.
variables
.
each
do
|
variable
|
%tr
%td
=
variable
.
key
%td
=
variable
.
value
%td
=
link_to
namespace_project_variable_path
(
@project
.
namespace
,
@project
,
variable
),
class:
"btn btn-transparent btn-variable-edit"
do
%span
.sr-only
Update
=
icon
(
"pencil"
)
=
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
%span
.sr-only
Remove
=
icon
(
"trash"
)
-
if
variable
.
id?
%tr
%td
=
variable
.
key
%td
=
variable
.
value
%td
=
link_to
namespace_project_variable_path
(
@project
.
namespace
,
@project
,
variable
),
class:
"btn btn-transparent btn-variable-edit"
do
%span
.sr-only
Update
=
icon
(
"pencil"
)
=
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
%span
.sr-only
Remove
=
icon
(
"trash"
)
app/views/projects/variables/index.html.haml
View file @
c9b3c08c
...
...
@@ -11,7 +11,7 @@
%h5
.prepend-top-0
Your variables (
#{
@project
.
variables
.
size
}
)
-
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.
-
else
=
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