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