Make section connect with window border without extra padding

This commit is contained in:
Douwe Maan 2017-05-25 15:34:27 -05:00
parent 343b844ab4
commit 7adebd5404
9 changed files with 35 additions and 29 deletions

View File

@ -1,3 +1,5 @@
- @no_container = true
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity")
@ -7,7 +9,8 @@
.hidden-xs
= render "projects/last_push"
= render 'dashboard/activity_head'
%div{ class: container_class }
= render 'dashboard/activity_head'
%section.activities
= render 'activities'
%section.activities
= render 'activities'

View File

@ -1,19 +1,21 @@
- @no_container = true
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, dashboard_projects_url(rss_url_options), title: "All activity")
- page_title "Projects"
- header_title "Projects", dashboard_projects_path
- unless show_user_callout?
= render 'shared/user_callout'
= render "projects/last_push"
- if @projects.any? || params[:name]
= render 'dashboard/projects_head'
%div{ class: container_class }
- unless show_user_callout?
= render 'shared/user_callout'
- if @projects.any? || params[:name]
= render 'dashboard/projects_head'
- if @projects.any? || params[:name]
= render 'projects'
- else
= render "zero_authorized_projects"
- if @projects.any? || params[:name]
= render 'projects'
- else
= render "zero_authorized_projects"

View File

@ -1,12 +1,15 @@
- @no_container = true
- page_title "Starred Projects"
- header_title "Projects", dashboard_projects_path
= render "projects/last_push"
= render 'dashboard/projects_head'
%div{ class: container_class }
= render 'dashboard/projects_head'
- if @projects.any? || params[:filter_projects]
= render 'projects'
- else
%h3 You don't have starred projects yet
%p.slead Visit project page and press on star icon and it will appear on this page.
- if @projects.any? || params[:filter_projects]
= render 'projects'
- else
%h3 You don't have starred projects yet
%p.slead Visit project page and press on star icon and it will appear on this page.

View File

@ -4,7 +4,6 @@
= auto_discovery_link_tag(:atom, group_url(@group, rss_url_options), title: "#{@group.name} activity")
= render 'groups/head'
= render 'groups/home_panel'
.groups-header{ class: container_class }

View File

@ -1,5 +1,3 @@
- @no_container = true
%div{ class: container_class }
.nav-block.activity-filter-block.activities
.controls

View File

@ -1,7 +1,8 @@
- @no_container = true
- page_title "Activity"
= render "projects/head"
%div{ class: container_class }
= render 'projects/last_push'
= render 'projects/last_push'
= render 'projects/activity'

View File

@ -1,13 +1,14 @@
- @no_container = true
- page_title @blob.path, @ref
= render "projects/commits/head"
- content_for :page_specific_javascripts do
= page_specific_javascript_bundle_tag('blob')
%div{ class: container_class }
= render 'projects/last_push'
= render 'projects/last_push'
%div{ class: container_class }
#tree-holder.tree-holder
= render 'blob', blob: @blob

View File

@ -11,8 +11,7 @@
= webpack_bundle_tag 'filtered_search'
%div{ class: container_class }
= render 'projects/last_push'
= render 'projects/last_push'
- if @project.merge_requests.exists?
%div{ class: container_class }

View File

@ -5,7 +5,7 @@
= auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits")
= render "projects/commits/head"
%div{ class: container_class }
= render 'projects/last_push'
= render 'projects/last_push'
%div{ class: container_class }
= render 'projects/files', commit: @last_commit, project: @project, ref: @ref