Commit c9b3c08c authored by Phil Hughes's avatar Phil Hughes

Changed table border color

Fixed issue with form errors not displaying
parent 99428f19
...@@ -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;
/* /*
......
...@@ -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")
...@@ -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"
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