Commit dc41a933 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Update scss to make the views look nicer

parent 975e3887
.environments {
.commit-title {
margin: 0;
}
}
......@@ -9,7 +9,7 @@
·
= link_to deployment.short_sha, namespace_project_commit_path(@project.namespace, @project, deployment.sha), class: "commit-id monospace"
%p
%p.commit-title
%span
- if commit_title = deployment.commit_title
= link_to_gfm commit_title, namespace_project_commit_path(@project.namespace, @project, deployment.sha), class: "commit-row-message"
......
......@@ -13,17 +13,16 @@
·
= link_to last_deployment.short_sha, namespace_project_commit_path(@project.namespace, @project, last_deployment.sha), class: "commit-id monospace"
%p
%p.commit-title
%span
- if commit_title = last_deployment.commit_title
= link_to_gfm commit_title, namespace_project_commit_path(@project.namespace, @project, last_deployment.sha), class: "commit-row-message"
- else
Cant find HEAD commit for this branch
- else
%p
%p.commit-title
No deployments yet
%td
- if last_deployment
%p
#{time_ago_with_tooltip(last_deployment.created_at)}
#{time_ago_with_tooltip(last_deployment.created_at)}
......@@ -15,7 +15,7 @@
No environments to show
- else
.table-holder
%table.table
%table.table.environments
%tbody
%th Environment
%th Last deployment
......
......@@ -5,7 +5,7 @@
%div{ class: (container_class) }
.top-area
.col-md-9
%h3= @environment.name.titleize
%h3.page-title= @environment.name.titleize
.col-md-3
.nav-controls
......@@ -13,13 +13,13 @@
= link_to 'Destroy', namespace_project_environment_path(@project.namespace, @project, @environment), data: { confirm: 'Are you sure?' }, class: 'btn btn-danger', method: :delete
- if @deployments.blank?
%ul.content-list
%ul.content-list.environments
%li.nothing-here-block
No deployments for
%strong= @environment.name
- else
.table-holder
%table.table.builds
%table.table.environments
%thead
%tr
%th ID
......
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