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;
*/
$border-color: #e5e5e5;
$focus-border-color: #3aabf0;
$table-border-color: #ececec;
$table-border-color: #f0f0f0;
$background-color: #fafafa;
/*
......
......@@ -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")
......@@ -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"
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