Make tables full width.
This commit is contained in:
parent
41615ddde4
commit
a32f776609
|
@ -94,7 +94,6 @@
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 10px $gl-padding;
|
|
||||||
}
|
}
|
||||||
.lines {
|
.lines {
|
||||||
pre {
|
pre {
|
||||||
|
|
|
@ -107,7 +107,7 @@ ul.content-list {
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
padding: $gl-padding;
|
padding: $gl-padding;
|
||||||
border-color: #f1f2f4;
|
border-color: $table-border-color;
|
||||||
margin-left: -$gl-padding;
|
margin-left: -$gl-padding;
|
||||||
margin-right: -$gl-padding;
|
margin-right: -$gl-padding;
|
||||||
color: $gl-gray;
|
color: $gl-gray;
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
.table-holder {
|
||||||
|
margin: -$gl-padding;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
&.table {
|
&.table {
|
||||||
.dropdown-menu a {
|
.dropdown-menu a {
|
||||||
|
@ -18,15 +24,17 @@ table {
|
||||||
|
|
||||||
tr {
|
tr {
|
||||||
td, th {
|
td, th {
|
||||||
padding: 8px 10px;
|
padding: 10px $gl-padding;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
border-bottom: 1px solid $border-color !important;
|
border-bottom: 1px solid $border-color !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
border-color: $table-border-color !important;
|
border-color: $table-border-color !important;
|
||||||
border-bottom: 1px solid;
|
border-bottom: 1px solid;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
.timeline-entry {
|
.timeline-entry {
|
||||||
padding: $gl-padding;
|
padding: $gl-padding;
|
||||||
border-color: #f1f2f4;
|
border-color: $table-border-color;
|
||||||
margin-left: -$gl-padding;
|
margin-left: -$gl-padding;
|
||||||
margin-right: -$gl-padding;
|
margin-right: -$gl-padding;
|
||||||
color: $gl-gray;
|
color: $gl-gray;
|
||||||
|
|
|
@ -6,11 +6,6 @@
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wide-table-holder {
|
|
||||||
margin-left: -$gl-padding;
|
|
||||||
margin-right: -$gl-padding;
|
|
||||||
}
|
|
||||||
|
|
||||||
.builds,
|
.builds,
|
||||||
.projects-table {
|
.projects-table {
|
||||||
.light {
|
.light {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
padding: $gl-padding;
|
padding: $gl-padding;
|
||||||
margin-left: -$gl-padding;
|
margin-left: -$gl-padding;
|
||||||
margin-right: -$gl-padding;
|
margin-right: -$gl-padding;
|
||||||
border-bottom: 1px solid #f1f2f4;
|
border-bottom: 1px solid $table-border-color;
|
||||||
color: #7f8fa4;
|
color: #7f8fa4;
|
||||||
|
|
||||||
&.event-inline {
|
&.event-inline {
|
||||||
|
|
|
@ -457,7 +457,7 @@ pre.light-well {
|
||||||
|
|
||||||
.project-row {
|
.project-row {
|
||||||
padding: $gl-padding;
|
padding: $gl-padding;
|
||||||
border-color: #f1f2f4;
|
border-color: $table-border-color;
|
||||||
margin-left: -$gl-padding;
|
margin-left: -$gl-padding;
|
||||||
margin-right: -$gl-padding;
|
margin-right: -$gl-padding;
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
.tree-holder {
|
.tree-holder {
|
||||||
.tree-table-holder {
|
|
||||||
margin-left: -$gl-padding;
|
|
||||||
margin-right: -$gl-padding;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tree_progress {
|
.tree_progress {
|
||||||
display: none;
|
display: none;
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
|
@ -17,9 +12,7 @@
|
||||||
|
|
||||||
tr {
|
tr {
|
||||||
> td, > th {
|
> td, > th {
|
||||||
padding: 10px $gl-padding;
|
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
border-color: $table-border-color !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
|
@ -2,16 +2,17 @@
|
||||||
%h3.page-title Abuse Reports
|
%h3.page-title Abuse Reports
|
||||||
%hr
|
%hr
|
||||||
- if @abuse_reports.present?
|
- if @abuse_reports.present?
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%tr
|
%thead
|
||||||
%th Reported by
|
%tr
|
||||||
%th Reported at
|
%th Reported by
|
||||||
%th Message
|
%th Reported at
|
||||||
%th User
|
%th Message
|
||||||
%th Primary action
|
%th User
|
||||||
%th
|
%th Primary action
|
||||||
= render @abuse_reports
|
%th
|
||||||
|
= render @abuse_reports
|
||||||
= paginate @abuse_reports
|
= paginate @abuse_reports
|
||||||
- else
|
- else
|
||||||
%h4 There are no abuse reports
|
%h4 There are no abuse reports
|
||||||
|
|
|
@ -3,25 +3,26 @@
|
||||||
Application: #{@application.name}
|
Application: #{@application.name}
|
||||||
|
|
||||||
|
|
||||||
%table.table
|
.table-holder
|
||||||
%tr
|
%table.table
|
||||||
%td
|
%tr
|
||||||
Application Id
|
%td
|
||||||
%td
|
Application Id
|
||||||
%code#application_id= @application.uid
|
%td
|
||||||
%tr
|
%code#application_id= @application.uid
|
||||||
%td
|
%tr
|
||||||
Secret:
|
%td
|
||||||
%td
|
Secret:
|
||||||
%code#secret= @application.secret
|
%td
|
||||||
|
%code#secret= @application.secret
|
||||||
|
|
||||||
%tr
|
%tr
|
||||||
%td
|
%td
|
||||||
Callback url
|
Callback url
|
||||||
%td
|
%td
|
||||||
- @application.redirect_uri.split.each do |uri|
|
- @application.redirect_uri.split.each do |uri|
|
||||||
%div
|
%div
|
||||||
%span.monospace= uri
|
%span.monospace= uri
|
||||||
.form-actions
|
.form-actions
|
||||||
= link_to 'Edit', edit_admin_application_path(@application), class: 'btn btn-primary wide pull-left'
|
= link_to 'Edit', edit_admin_application_path(@application), class: 'btn btn-primary wide pull-left'
|
||||||
= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'
|
= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'
|
||||||
|
|
|
@ -12,24 +12,25 @@
|
||||||
%i.fa.fa-exclamation-triangle
|
%i.fa.fa-exclamation-triangle
|
||||||
There are no running sidekiq processes. Please restart GitLab
|
There are no running sidekiq processes. Please restart GitLab
|
||||||
- else
|
- else
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%th USER
|
%thead
|
||||||
%th PID
|
%th USER
|
||||||
%th CPU
|
%th PID
|
||||||
%th MEM
|
%th CPU
|
||||||
%th STATE
|
%th MEM
|
||||||
%th START
|
%th STATE
|
||||||
%th COMMAND
|
%th START
|
||||||
%tbody
|
%th COMMAND
|
||||||
- @sidekiq_processes.each do |process|
|
%tbody
|
||||||
- next unless process.match(/(sidekiq \d+\.\d+\.\d+.+$)/)
|
- @sidekiq_processes.each do |process|
|
||||||
- data = process.strip.split(' ')
|
- next unless process.match(/(sidekiq \d+\.\d+\.\d+.+$)/)
|
||||||
%tr
|
- data = process.strip.split(' ')
|
||||||
%td= gitlab_config.user
|
%tr
|
||||||
- 5.times do
|
%td= gitlab_config.user
|
||||||
%td= data.shift
|
- 5.times do
|
||||||
%td= data.join(' ')
|
%td= data.shift
|
||||||
|
%td= data.join(' ')
|
||||||
|
|
||||||
.clearfix
|
.clearfix
|
||||||
%p
|
%p
|
||||||
|
|
|
@ -5,22 +5,23 @@
|
||||||
.panel-head-actions
|
.panel-head-actions
|
||||||
= link_to 'New Deploy Key', new_admin_deploy_key_path, class: "btn btn-new btn-sm"
|
= link_to 'New Deploy Key', new_admin_deploy_key_path, class: "btn btn-new btn-sm"
|
||||||
- if @deploy_keys.any?
|
- if @deploy_keys.any?
|
||||||
%table.table
|
.table-holder
|
||||||
%thead.panel-heading
|
%table.table
|
||||||
%tr
|
%thead.panel-heading
|
||||||
%th Title
|
|
||||||
%th Fingerprint
|
|
||||||
%th Added at
|
|
||||||
%th
|
|
||||||
%tbody
|
|
||||||
- @deploy_keys.each do |deploy_key|
|
|
||||||
%tr
|
%tr
|
||||||
%td
|
%th Title
|
||||||
%strong= deploy_key.title
|
%th Fingerprint
|
||||||
%td
|
%th Added at
|
||||||
%code.key-fingerprint= deploy_key.fingerprint
|
%th
|
||||||
%td
|
%tbody
|
||||||
%span.cgray
|
- @deploy_keys.each do |deploy_key|
|
||||||
added #{time_ago_with_tooltip(deploy_key.created_at)}
|
%tr
|
||||||
%td
|
%td
|
||||||
= link_to 'Remove', admin_deploy_key_path(deploy_key), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-sm btn-remove delete-key pull-right"
|
%strong= deploy_key.title
|
||||||
|
%td
|
||||||
|
%code.key-fingerprint= deploy_key.fingerprint
|
||||||
|
%td
|
||||||
|
%span.cgray
|
||||||
|
added #{time_ago_with_tooltip(deploy_key.created_at)}
|
||||||
|
%td
|
||||||
|
= link_to 'Remove', admin_deploy_key_path(deploy_key), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-sm btn-remove delete-key pull-right"
|
||||||
|
|
|
@ -2,12 +2,13 @@
|
||||||
= render 'admin/users/head'
|
= render 'admin/users/head'
|
||||||
|
|
||||||
- if @identities.present?
|
- if @identities.present?
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%tr
|
%thead
|
||||||
%th Provider
|
%tr
|
||||||
%th Identifier
|
%th Provider
|
||||||
%th
|
%th Identifier
|
||||||
= render @identities
|
%th
|
||||||
|
= render @identities
|
||||||
- else
|
- else
|
||||||
%h4 This user has no identities
|
%h4 This user has no identities
|
||||||
|
|
|
@ -2,22 +2,23 @@
|
||||||
%h3.page-title Service templates
|
%h3.page-title Service templates
|
||||||
%p.light Service template allows you to set default values for project services
|
%p.light Service template allows you to set default values for project services
|
||||||
|
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%tr
|
%thead
|
||||||
%th
|
%tr
|
||||||
%th Service
|
%th
|
||||||
%th Description
|
%th Service
|
||||||
%th Last edit
|
%th Description
|
||||||
- @services.sort_by(&:title).each do |service|
|
%th Last edit
|
||||||
%tr
|
- @services.sort_by(&:title).each do |service|
|
||||||
%td
|
%tr
|
||||||
= icon("copy", class: 'clgray')
|
%td
|
||||||
%td
|
= icon("copy", class: 'clgray')
|
||||||
= link_to edit_admin_application_settings_service_path(service.id) do
|
%td
|
||||||
%strong= service.title
|
= link_to edit_admin_application_settings_service_path(service.id) do
|
||||||
%td
|
%strong= service.title
|
||||||
= service.description
|
%td
|
||||||
%td.light
|
= service.description
|
||||||
= time_ago_in_words service.updated_at
|
%td.light
|
||||||
ago
|
= time_ago_in_words service.updated_at
|
||||||
|
ago
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%tr
|
%thead
|
||||||
%th User ID
|
%tr
|
||||||
%th Description
|
%th User ID
|
||||||
%th When
|
%th Description
|
||||||
- @events.each do |event|
|
%th When
|
||||||
%tr
|
- @events.each do |event|
|
||||||
%td
|
%tr
|
||||||
= event.user_id
|
%td
|
||||||
%td
|
= event.user_id
|
||||||
= event.description
|
%td
|
||||||
%td.light
|
= event.description
|
||||||
= time_ago_in_words event.updated_at
|
%td.light
|
||||||
ago
|
= time_ago_in_words event.updated_at
|
||||||
|
ago
|
||||||
|
|
||||||
= paginate @events
|
= paginate @events
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%tr
|
%thead
|
||||||
%th ID
|
%tr
|
||||||
%th Name
|
%th ID
|
||||||
%th Last build
|
%th Name
|
||||||
%th Access
|
%th Last build
|
||||||
%th Builds
|
%th Access
|
||||||
%th
|
%th Builds
|
||||||
|
%th
|
||||||
|
|
||||||
- @projects.each do |project|
|
- @projects.each do |project|
|
||||||
= render "ci/admin/projects/project", project: project
|
= render "ci/admin/projects/project", project: project
|
||||||
|
|
||||||
= paginate @projects
|
= paginate @projects
|
||||||
|
|
||||||
|
|
|
@ -35,18 +35,19 @@
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%tr
|
%thead
|
||||||
%th Type
|
%tr
|
||||||
%th Runner token
|
%th Type
|
||||||
%th Description
|
%th Runner token
|
||||||
%th Projects
|
%th Description
|
||||||
%th Builds
|
%th Projects
|
||||||
%th Tags
|
%th Builds
|
||||||
%th Last contact
|
%th Tags
|
||||||
%th
|
%th Last contact
|
||||||
|
%th
|
||||||
|
|
||||||
- @runners.each do |runner|
|
- @runners.each do |runner|
|
||||||
= render "ci/admin/runners/runner", runner: runner
|
= render "ci/admin/runners/runner", runner: runner
|
||||||
= paginate @runners
|
= paginate @runners
|
||||||
|
|
|
@ -1,19 +1,20 @@
|
||||||
%h3.page-title Events
|
%h3.page-title Events
|
||||||
|
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%tr
|
%thead
|
||||||
%th User ID
|
%tr
|
||||||
%th Description
|
%th User ID
|
||||||
%th When
|
%th Description
|
||||||
- @events.each do |event|
|
%th When
|
||||||
%tr
|
- @events.each do |event|
|
||||||
%td
|
%tr
|
||||||
= event.user_id
|
%td
|
||||||
%td
|
= event.user_id
|
||||||
= event.description
|
%td
|
||||||
%td.light
|
= event.description
|
||||||
= time_ago_in_words event.updated_at
|
%td.light
|
||||||
ago
|
= time_ago_in_words event.updated_at
|
||||||
|
ago
|
||||||
|
|
||||||
= paginate @events
|
= paginate @events
|
||||||
|
|
|
@ -4,29 +4,30 @@
|
||||||
syntax is correct
|
syntax is correct
|
||||||
%i.fa.fa-ok.correct-syntax
|
%i.fa.fa-ok.correct-syntax
|
||||||
|
|
||||||
%table.table.table-bordered
|
.table-holder
|
||||||
%thead
|
%table.table.table-bordered
|
||||||
%tr
|
%thead
|
||||||
%th Parameter
|
%tr
|
||||||
%th Value
|
%th Parameter
|
||||||
%tbody
|
%th Value
|
||||||
- @stages.each do |stage|
|
%tbody
|
||||||
- @builds.select { |build| build[:stage] == stage }.each do |build|
|
- @stages.each do |stage|
|
||||||
%tr
|
- @builds.select { |build| build[:stage] == stage }.each do |build|
|
||||||
%td #{stage.capitalize} Job - #{build[:name]}
|
%tr
|
||||||
%td
|
%td #{stage.capitalize} Job - #{build[:name]}
|
||||||
%pre
|
%td
|
||||||
= simple_format build[:script]
|
%pre
|
||||||
|
= simple_format build[:script]
|
||||||
|
|
||||||
%br
|
%br
|
||||||
%b Tag list:
|
%b Tag list:
|
||||||
= build[:tags]
|
= build[:tags]
|
||||||
%br
|
%br
|
||||||
%b Refs only:
|
%b Refs only:
|
||||||
= build[:only] && build[:only].join(", ")
|
= build[:only] && build[:only].join(", ")
|
||||||
%br
|
%br
|
||||||
%b Refs except:
|
%b Refs except:
|
||||||
= build[:except] && build[:except].join(", ")
|
= build[:except] && build[:except].join(", ")
|
||||||
|
|
||||||
-else
|
-else
|
||||||
%p
|
%p
|
||||||
|
|
|
@ -13,26 +13,28 @@
|
||||||
%span All issues for this milestone are closed. You may close the milestone now.
|
%span All issues for this milestone are closed. You may close the milestone now.
|
||||||
|
|
||||||
.description
|
.description
|
||||||
%table.table
|
|
||||||
%thead
|
.table-holder
|
||||||
%tr
|
%table.table
|
||||||
%th Project
|
%thead
|
||||||
%th Open issues
|
%tr
|
||||||
%th State
|
%th Project
|
||||||
%th Due date
|
%th Open issues
|
||||||
- @dashboard_milestone.milestones.each do |milestone|
|
%th State
|
||||||
%tr
|
%th Due date
|
||||||
%td
|
- @dashboard_milestone.milestones.each do |milestone|
|
||||||
= link_to "#{milestone.project.name_with_namespace}", namespace_project_milestone_path(milestone.project.namespace, milestone.project, milestone)
|
%tr
|
||||||
%td
|
%td
|
||||||
= milestone.issues.opened.count
|
= link_to "#{milestone.project.name_with_namespace}", namespace_project_milestone_path(milestone.project.namespace, milestone.project, milestone)
|
||||||
%td
|
%td
|
||||||
- if milestone.closed?
|
= milestone.issues.opened.count
|
||||||
Closed
|
%td
|
||||||
- else
|
- if milestone.closed?
|
||||||
Open
|
Closed
|
||||||
%td
|
- else
|
||||||
= milestone.expires_at
|
Open
|
||||||
|
%td
|
||||||
|
= milestone.expires_at
|
||||||
|
|
||||||
.context
|
.context
|
||||||
%p.lead
|
%p.lead
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
- page_title "Applications"
|
- page_title "Applications"
|
||||||
%h3.page-title Your applications
|
%h3.page-title Your applications
|
||||||
%p= link_to 'New Application', new_oauth_application_path, class: 'btn btn-success'
|
%p= link_to 'New Application', new_oauth_application_path, class: 'btn btn-success'
|
||||||
%table.table.table-striped
|
|
||||||
%thead
|
.table-holder
|
||||||
%tr
|
%table.table.table-striped
|
||||||
%th Name
|
%thead
|
||||||
%th Callback URL
|
%tr
|
||||||
%th
|
%th Name
|
||||||
%th
|
%th Callback URL
|
||||||
%tbody
|
%th
|
||||||
- @applications.each do |application|
|
%th
|
||||||
%tr{:id => "application_#{application.id}"}
|
%tbody
|
||||||
%td= link_to application.name, oauth_application_path(application)
|
- @applications.each do |application|
|
||||||
%td= application.redirect_uri
|
%tr{:id => "application_#{application.id}"}
|
||||||
%td= link_to 'Edit', edit_oauth_application_path(application), class: 'btn btn-link'
|
%td= link_to application.name, oauth_application_path(application)
|
||||||
%td= render 'delete_form', application: application
|
%td= application.redirect_uri
|
||||||
|
%td= link_to 'Edit', edit_oauth_application_path(application), class: 'btn btn-link'
|
||||||
|
%td= render 'delete_form', application: application
|
||||||
|
|
|
@ -2,26 +2,26 @@
|
||||||
%h3.page-title
|
%h3.page-title
|
||||||
Application: #{@application.name}
|
Application: #{@application.name}
|
||||||
|
|
||||||
|
.table-holder
|
||||||
|
%table.table
|
||||||
|
%tr
|
||||||
|
%td
|
||||||
|
Application Id
|
||||||
|
%td
|
||||||
|
%code#application_id= @application.uid
|
||||||
|
%tr
|
||||||
|
%td
|
||||||
|
Secret:
|
||||||
|
%td
|
||||||
|
%code#secret= @application.secret
|
||||||
|
|
||||||
%table.table
|
%tr
|
||||||
%tr
|
%td
|
||||||
%td
|
Callback url
|
||||||
Application Id
|
%td
|
||||||
%td
|
- @application.redirect_uri.split.each do |uri|
|
||||||
%code#application_id= @application.uid
|
%div
|
||||||
%tr
|
%span.monospace= uri
|
||||||
%td
|
|
||||||
Secret:
|
|
||||||
%td
|
|
||||||
%code#secret= @application.secret
|
|
||||||
|
|
||||||
%tr
|
|
||||||
%td
|
|
||||||
Callback url
|
|
||||||
%td
|
|
||||||
- @application.redirect_uri.split.each do |uri|
|
|
||||||
%div
|
|
||||||
%span.monospace= uri
|
|
||||||
.form-actions
|
.form-actions
|
||||||
= link_to 'Edit', edit_oauth_application_path(@application), class: 'btn btn-primary wide pull-left'
|
= link_to 'Edit', edit_oauth_application_path(@application), class: 'btn btn-primary wide pull-left'
|
||||||
= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'
|
= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
%header.page-header
|
%header.page-header
|
||||||
%h1 Your authorized applications
|
%h1 Your authorized applications
|
||||||
%main{:role => "main"}
|
%main{:role => "main"}
|
||||||
%table.table.table-striped
|
.table-holder
|
||||||
%thead
|
%table.table.table-striped
|
||||||
%tr
|
%thead
|
||||||
%th Application
|
|
||||||
%th Created At
|
|
||||||
%th
|
|
||||||
%th
|
|
||||||
%tbody
|
|
||||||
- @applications.each do |application|
|
|
||||||
%tr
|
%tr
|
||||||
%td= application.name
|
%th Application
|
||||||
%td= application.created_at.strftime('%Y-%m-%d %H:%M:%S')
|
%th Created At
|
||||||
%td= render 'delete_form', application: application
|
%th
|
||||||
|
%th
|
||||||
|
%tbody
|
||||||
|
- @applications.each do |application|
|
||||||
|
%tr
|
||||||
|
%td= application.name
|
||||||
|
%td= application.created_at.strftime('%Y-%m-%d %H:%M:%S')
|
||||||
|
%td= render 'delete_form', application: application
|
||||||
|
|
|
@ -21,26 +21,28 @@
|
||||||
%span All issues for this milestone are closed. You may close the milestone now.
|
%span All issues for this milestone are closed. You may close the milestone now.
|
||||||
|
|
||||||
.description
|
.description
|
||||||
%table.table
|
|
||||||
%thead
|
.table-holder
|
||||||
%tr
|
%table.table
|
||||||
%th Project
|
%thead
|
||||||
%th Open issues
|
%tr
|
||||||
%th State
|
%th Project
|
||||||
%th Due date
|
%th Open issues
|
||||||
- @group_milestone.milestones.each do |milestone|
|
%th State
|
||||||
%tr
|
%th Due date
|
||||||
%td
|
- @group_milestone.milestones.each do |milestone|
|
||||||
= link_to "#{milestone.project.name}", namespace_project_milestone_path(milestone.project.namespace, milestone.project, milestone)
|
%tr
|
||||||
%td
|
%td
|
||||||
= milestone.issues.opened.count
|
= link_to "#{milestone.project.name}", namespace_project_milestone_path(milestone.project.namespace, milestone.project, milestone)
|
||||||
%td
|
%td
|
||||||
- if milestone.closed?
|
= milestone.issues.opened.count
|
||||||
Closed
|
%td
|
||||||
- else
|
- if milestone.closed?
|
||||||
Open
|
Closed
|
||||||
%td
|
- else
|
||||||
= milestone.expires_at
|
Open
|
||||||
|
%td
|
||||||
|
= milestone.expires_at
|
||||||
|
|
||||||
.context
|
.context
|
||||||
%p.lead
|
%p.lead
|
||||||
|
|
|
@ -14,45 +14,46 @@
|
||||||
= button_tag 'Import all projects', class: "btn btn-success js-import-all"
|
= button_tag 'Import all projects', class: "btn btn-success js-import-all"
|
||||||
|
|
||||||
|
|
||||||
%table.table.import-jobs
|
.table-holder
|
||||||
%thead
|
%table.table.import-jobs
|
||||||
%tr
|
%thead
|
||||||
%th From Bitbucket
|
%tr
|
||||||
%th To GitLab
|
%th From Bitbucket
|
||||||
%th Status
|
%th To GitLab
|
||||||
%tbody
|
%th Status
|
||||||
- @already_added_projects.each do |project|
|
%tbody
|
||||||
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
- @already_added_projects.each do |project|
|
||||||
%td
|
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
||||||
= link_to project.import_source, "https://bitbucket.org/#{project.import_source}", target: "_blank"
|
%td
|
||||||
%td
|
= link_to project.import_source, "https://bitbucket.org/#{project.import_source}", target: "_blank"
|
||||||
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
%td
|
||||||
%td.job-status
|
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
||||||
- if project.import_status == 'finished'
|
%td.job-status
|
||||||
%span
|
- if project.import_status == 'finished'
|
||||||
%i.fa.fa-check
|
%span
|
||||||
done
|
%i.fa.fa-check
|
||||||
- elsif project.import_status == 'started'
|
done
|
||||||
%i.fa.fa-spinner.fa-spin
|
- elsif project.import_status == 'started'
|
||||||
started
|
%i.fa.fa-spinner.fa-spin
|
||||||
- else
|
started
|
||||||
= project.human_import_status_name
|
- else
|
||||||
|
= project.human_import_status_name
|
||||||
|
|
||||||
- @repos.each do |repo|
|
- @repos.each do |repo|
|
||||||
%tr{id: "repo_#{repo["owner"]}___#{repo["slug"]}"}
|
%tr{id: "repo_#{repo["owner"]}___#{repo["slug"]}"}
|
||||||
%td
|
%td
|
||||||
= link_to "#{repo["owner"]}/#{repo["slug"]}", "https://bitbucket.org/#{repo["owner"]}/#{repo["slug"]}", target: "_blank"
|
= link_to "#{repo["owner"]}/#{repo["slug"]}", "https://bitbucket.org/#{repo["owner"]}/#{repo["slug"]}", target: "_blank"
|
||||||
%td.import-target
|
%td.import-target
|
||||||
= "#{repo["owner"]}/#{repo["slug"]}"
|
= "#{repo["owner"]}/#{repo["slug"]}"
|
||||||
%td.import-actions.job-status
|
%td.import-actions.job-status
|
||||||
= button_tag "Import", class: "btn js-add-to-import"
|
= button_tag "Import", class: "btn js-add-to-import"
|
||||||
- @incompatible_repos.each do |repo|
|
- @incompatible_repos.each do |repo|
|
||||||
%tr{id: "repo_#{repo["owner"]}___#{repo["slug"]}"}
|
%tr{id: "repo_#{repo["owner"]}___#{repo["slug"]}"}
|
||||||
%td
|
%td
|
||||||
= link_to "#{repo["owner"]}/#{repo["slug"]}", "https://bitbucket.org/#{repo["owner"]}/#{repo["slug"]}", target: "_blank"
|
= link_to "#{repo["owner"]}/#{repo["slug"]}", "https://bitbucket.org/#{repo["owner"]}/#{repo["slug"]}", target: "_blank"
|
||||||
%td.import-target
|
%td.import-target
|
||||||
%td.import-actions-job-status
|
%td.import-actions-job-status
|
||||||
= label_tag "Incompatible Project", nil, class: "label label-danger"
|
= label_tag "Incompatible Project", nil, class: "label label-danger"
|
||||||
|
|
||||||
- if @incompatible_repos.any?
|
- if @incompatible_repos.any?
|
||||||
%p
|
%p
|
||||||
|
|
|
@ -25,22 +25,23 @@
|
||||||
of issues and comments (e.g. "By <a href="#">@johnsmith</a>"). It will also
|
of issues and comments (e.g. "By <a href="#">@johnsmith</a>"). It will also
|
||||||
associate and/or assign these issues and comments with the selected user.
|
associate and/or assign these issues and comments with the selected user.
|
||||||
|
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%tr
|
%thead
|
||||||
%th ID
|
|
||||||
%th Name
|
|
||||||
%th Email
|
|
||||||
%th GitLab User
|
|
||||||
%tbody
|
|
||||||
- @user_map.each do |id, user|
|
|
||||||
%tr
|
%tr
|
||||||
%td= id
|
%th ID
|
||||||
%td= text_field_tag "users[#{id}][name]", user[:name], class: 'form-control'
|
%th Name
|
||||||
%td= text_field_tag "users[#{id}][email]", user[:email], class: 'form-control'
|
%th Email
|
||||||
%td
|
%th GitLab User
|
||||||
= users_select_tag("users[#{id}][gitlab_user]", class: 'custom-form-control',
|
%tbody
|
||||||
scope: :all, email_user: true, selected: user[:gitlab_user])
|
- @user_map.each do |id, user|
|
||||||
|
%tr
|
||||||
|
%td= id
|
||||||
|
%td= text_field_tag "users[#{id}][name]", user[:name], class: 'form-control'
|
||||||
|
%td= text_field_tag "users[#{id}][email]", user[:email], class: 'form-control'
|
||||||
|
%td
|
||||||
|
= users_select_tag("users[#{id}][gitlab_user]", class: 'custom-form-control',
|
||||||
|
scope: :all, email_user: true, selected: user[:gitlab_user])
|
||||||
|
|
||||||
.form-actions
|
.form-actions
|
||||||
= submit_tag 'Continue to the next step', class: 'btn btn-create'
|
= submit_tag 'Continue to the next step', class: 'btn btn-create'
|
||||||
|
|
|
@ -14,38 +14,39 @@
|
||||||
%p
|
%p
|
||||||
= button_tag 'Import all projects', class: 'btn btn-success js-import-all'
|
= button_tag 'Import all projects', class: 'btn btn-success js-import-all'
|
||||||
|
|
||||||
%table.table.import-jobs
|
.table-holder
|
||||||
%thead
|
%table.table.import-jobs
|
||||||
%tr
|
%thead
|
||||||
%th From FogBugz
|
%tr
|
||||||
%th To GitLab
|
%th From FogBugz
|
||||||
%th Status
|
%th To GitLab
|
||||||
%tbody
|
%th Status
|
||||||
- @already_added_projects.each do |project|
|
%tbody
|
||||||
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
- @already_added_projects.each do |project|
|
||||||
%td
|
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
||||||
= project.import_source
|
%td
|
||||||
%td
|
= project.import_source
|
||||||
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
%td
|
||||||
%td.job-status
|
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
||||||
- if project.import_status == 'finished'
|
%td.job-status
|
||||||
%span
|
- if project.import_status == 'finished'
|
||||||
%i.fa.fa-check
|
%span
|
||||||
done
|
%i.fa.fa-check
|
||||||
- elsif project.import_status == 'started'
|
done
|
||||||
%i.fa.fa-spinner.fa-spin
|
- elsif project.import_status == 'started'
|
||||||
started
|
%i.fa.fa-spinner.fa-spin
|
||||||
- else
|
started
|
||||||
= project.human_import_status_name
|
- else
|
||||||
|
= project.human_import_status_name
|
||||||
|
|
||||||
- @repos.each do |repo|
|
- @repos.each do |repo|
|
||||||
%tr{id: "repo_#{repo.id}"}
|
%tr{id: "repo_#{repo.id}"}
|
||||||
%td
|
%td
|
||||||
= repo.name
|
= repo.name
|
||||||
%td.import-target
|
%td.import-target
|
||||||
= "#{current_user.username}/#{repo.name}"
|
= "#{current_user.username}/#{repo.name}"
|
||||||
%td.import-actions.job-status
|
%td.import-actions.job-status
|
||||||
= button_tag "Import", class: "btn js-add-to-import"
|
= button_tag "Import", class: "btn js-add-to-import"
|
||||||
|
|
||||||
:coffeescript
|
:coffeescript
|
||||||
new ImporterStatus("#{jobs_import_fogbugz_path}", "#{import_fogbugz_path}")
|
new ImporterStatus("#{jobs_import_fogbugz_path}", "#{import_fogbugz_path}")
|
||||||
|
|
|
@ -9,38 +9,39 @@
|
||||||
%p
|
%p
|
||||||
= button_tag 'Import all projects', class: "btn btn-success js-import-all"
|
= button_tag 'Import all projects', class: "btn btn-success js-import-all"
|
||||||
|
|
||||||
%table.table.import-jobs
|
.table-holder
|
||||||
%thead
|
%table.table.import-jobs
|
||||||
%tr
|
%thead
|
||||||
%th From GitHub
|
%tr
|
||||||
%th To GitLab
|
%th From GitHub
|
||||||
%th Status
|
%th To GitLab
|
||||||
%tbody
|
%th Status
|
||||||
- @already_added_projects.each do |project|
|
%tbody
|
||||||
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
- @already_added_projects.each do |project|
|
||||||
%td
|
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
||||||
= link_to project.import_source, "https://github.com/#{project.import_source}", target: "_blank"
|
%td
|
||||||
%td
|
= link_to project.import_source, "https://github.com/#{project.import_source}", target: "_blank"
|
||||||
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
%td
|
||||||
%td.job-status
|
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
||||||
- if project.import_status == 'finished'
|
%td.job-status
|
||||||
%span
|
- if project.import_status == 'finished'
|
||||||
%i.fa.fa-check
|
%span
|
||||||
done
|
%i.fa.fa-check
|
||||||
- elsif project.import_status == 'started'
|
done
|
||||||
%i.fa.fa-spinner.fa-spin
|
- elsif project.import_status == 'started'
|
||||||
started
|
%i.fa.fa-spinner.fa-spin
|
||||||
- else
|
started
|
||||||
= project.human_import_status_name
|
- else
|
||||||
|
= project.human_import_status_name
|
||||||
|
|
||||||
- @repos.each do |repo|
|
- @repos.each do |repo|
|
||||||
%tr{id: "repo_#{repo.id}"}
|
%tr{id: "repo_#{repo.id}"}
|
||||||
%td
|
%td
|
||||||
= link_to repo.full_name, "https://github.com/#{repo.full_name}", target: "_blank"
|
= link_to repo.full_name, "https://github.com/#{repo.full_name}", target: "_blank"
|
||||||
%td.import-target
|
%td.import-target
|
||||||
= repo.full_name
|
= repo.full_name
|
||||||
%td.import-actions.job-status
|
%td.import-actions.job-status
|
||||||
= button_tag "Import", class: "btn js-add-to-import"
|
= button_tag "Import", class: "btn js-add-to-import"
|
||||||
|
|
||||||
:coffeescript
|
:coffeescript
|
||||||
new ImporterStatus("#{jobs_import_github_path}", "#{import_github_path}")
|
new ImporterStatus("#{jobs_import_github_path}", "#{import_github_path}")
|
||||||
|
|
|
@ -9,38 +9,39 @@
|
||||||
%p
|
%p
|
||||||
= button_tag 'Import all projects', class: "btn btn-success js-import-all"
|
= button_tag 'Import all projects', class: "btn btn-success js-import-all"
|
||||||
|
|
||||||
%table.table.import-jobs
|
.table-holder
|
||||||
%thead
|
%table.table.import-jobs
|
||||||
%tr
|
%thead
|
||||||
%th From GitLab.com
|
%tr
|
||||||
%th To this GitLab instance
|
%th From GitLab.com
|
||||||
%th Status
|
%th To this GitLab instance
|
||||||
%tbody
|
%th Status
|
||||||
- @already_added_projects.each do |project|
|
%tbody
|
||||||
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
- @already_added_projects.each do |project|
|
||||||
%td
|
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
||||||
= link_to project.import_source, "https://gitlab.com/#{project.import_source}", target: "_blank"
|
%td
|
||||||
%td
|
= link_to project.import_source, "https://gitlab.com/#{project.import_source}", target: "_blank"
|
||||||
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
%td
|
||||||
%td.job-status
|
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
||||||
- if project.import_status == 'finished'
|
%td.job-status
|
||||||
%span
|
- if project.import_status == 'finished'
|
||||||
%i.fa.fa-check
|
%span
|
||||||
done
|
%i.fa.fa-check
|
||||||
- elsif project.import_status == 'started'
|
done
|
||||||
%i.fa.fa-spinner.fa-spin
|
- elsif project.import_status == 'started'
|
||||||
started
|
%i.fa.fa-spinner.fa-spin
|
||||||
- else
|
started
|
||||||
= project.human_import_status_name
|
- else
|
||||||
|
= project.human_import_status_name
|
||||||
|
|
||||||
- @repos.each do |repo|
|
- @repos.each do |repo|
|
||||||
%tr{id: "repo_#{repo["id"]}"}
|
%tr{id: "repo_#{repo["id"]}"}
|
||||||
%td
|
%td
|
||||||
= link_to repo["path_with_namespace"], "https://gitlab.com/#{repo["path_with_namespace"]}", target: "_blank"
|
= link_to repo["path_with_namespace"], "https://gitlab.com/#{repo["path_with_namespace"]}", target: "_blank"
|
||||||
%td.import-target
|
%td.import-target
|
||||||
= repo["path_with_namespace"]
|
= repo["path_with_namespace"]
|
||||||
%td.import-actions.job-status
|
%td.import-actions.job-status
|
||||||
= button_tag "Import", class: "btn js-add-to-import"
|
= button_tag "Import", class: "btn js-add-to-import"
|
||||||
|
|
||||||
:coffeescript
|
:coffeescript
|
||||||
new ImporterStatus("#{jobs_import_gitlab_path}", "#{import_gitlab_path}")
|
new ImporterStatus("#{jobs_import_gitlab_path}", "#{import_gitlab_path}")
|
||||||
|
|
|
@ -9,38 +9,39 @@
|
||||||
%p
|
%p
|
||||||
= button_tag 'Import all projects', class: "btn btn-success js-import-all"
|
= button_tag 'Import all projects', class: "btn btn-success js-import-all"
|
||||||
|
|
||||||
%table.table.import-jobs
|
.table-holder
|
||||||
%thead
|
%table.table.import-jobs
|
||||||
%tr
|
%thead
|
||||||
%th From Gitorious.org
|
%tr
|
||||||
%th To GitLab
|
%th From Gitorious.org
|
||||||
%th Status
|
%th To GitLab
|
||||||
%tbody
|
%th Status
|
||||||
- @already_added_projects.each do |project|
|
%tbody
|
||||||
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
- @already_added_projects.each do |project|
|
||||||
%td
|
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
||||||
= link_to project.import_source, "https://gitorious.org/#{project.import_source}", target: "_blank"
|
%td
|
||||||
%td
|
= link_to project.import_source, "https://gitorious.org/#{project.import_source}", target: "_blank"
|
||||||
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
%td
|
||||||
%td.job-status
|
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
||||||
- if project.import_status == 'finished'
|
%td.job-status
|
||||||
%span
|
- if project.import_status == 'finished'
|
||||||
%i.fa.fa-check
|
%span
|
||||||
done
|
%i.fa.fa-check
|
||||||
- elsif project.import_status == 'started'
|
done
|
||||||
%i.fa.fa-spinner.fa-spin
|
- elsif project.import_status == 'started'
|
||||||
started
|
%i.fa.fa-spinner.fa-spin
|
||||||
- else
|
started
|
||||||
= project.human_import_status_name
|
- else
|
||||||
|
= project.human_import_status_name
|
||||||
|
|
||||||
- @repos.each do |repo|
|
- @repos.each do |repo|
|
||||||
%tr{id: "repo_#{repo.id}"}
|
%tr{id: "repo_#{repo.id}"}
|
||||||
%td
|
%td
|
||||||
= link_to repo.full_name, "https://gitorious.org/#{repo.full_name}", target: "_blank"
|
= link_to repo.full_name, "https://gitorious.org/#{repo.full_name}", target: "_blank"
|
||||||
%td.import-target
|
%td.import-target
|
||||||
= repo.full_name
|
= repo.full_name
|
||||||
%td.import-actions.job-status
|
%td.import-actions.job-status
|
||||||
= button_tag "Import", class: "btn js-add-to-import"
|
= button_tag "Import", class: "btn js-add-to-import"
|
||||||
|
|
||||||
:coffeescript
|
:coffeescript
|
||||||
new ImporterStatus("#{jobs_import_gitorious_path}", "#{import_gitorious_path}")
|
new ImporterStatus("#{jobs_import_gitorious_path}", "#{import_gitorious_path}")
|
||||||
|
|
|
@ -17,45 +17,46 @@
|
||||||
- else
|
- else
|
||||||
= button_tag 'Import all projects', class: "btn btn-success js-import-all"
|
= button_tag 'Import all projects', class: "btn btn-success js-import-all"
|
||||||
|
|
||||||
%table.table.import-jobs
|
.table-holder
|
||||||
%thead
|
%table.table.import-jobs
|
||||||
%tr
|
%thead
|
||||||
%th From Google Code
|
%tr
|
||||||
%th To GitLab
|
%th From Google Code
|
||||||
%th Status
|
%th To GitLab
|
||||||
%tbody
|
%th Status
|
||||||
- @already_added_projects.each do |project|
|
%tbody
|
||||||
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
- @already_added_projects.each do |project|
|
||||||
%td
|
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
|
||||||
= link_to project.import_source, "https://code.google.com/p/#{project.import_source}", target: "_blank"
|
%td
|
||||||
%td
|
= link_to project.import_source, "https://code.google.com/p/#{project.import_source}", target: "_blank"
|
||||||
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
%td
|
||||||
%td.job-status
|
%strong= link_to project.path_with_namespace, [project.namespace.becomes(Namespace), project]
|
||||||
- if project.import_status == 'finished'
|
%td.job-status
|
||||||
%span
|
- if project.import_status == 'finished'
|
||||||
%i.fa.fa-check
|
%span
|
||||||
done
|
%i.fa.fa-check
|
||||||
- elsif project.import_status == 'started'
|
done
|
||||||
%i.fa.fa-spinner.fa-spin
|
- elsif project.import_status == 'started'
|
||||||
started
|
%i.fa.fa-spinner.fa-spin
|
||||||
- else
|
started
|
||||||
= project.human_import_status_name
|
- else
|
||||||
|
= project.human_import_status_name
|
||||||
|
|
||||||
- @repos.each do |repo|
|
- @repos.each do |repo|
|
||||||
%tr{id: "repo_#{repo.id}"}
|
%tr{id: "repo_#{repo.id}"}
|
||||||
%td
|
%td
|
||||||
= link_to repo.name, "https://code.google.com/p/#{repo.name}", target: "_blank"
|
= link_to repo.name, "https://code.google.com/p/#{repo.name}", target: "_blank"
|
||||||
%td.import-target
|
%td.import-target
|
||||||
= "#{current_user.username}/#{repo.name}"
|
= "#{current_user.username}/#{repo.name}"
|
||||||
%td.import-actions.job-status
|
%td.import-actions.job-status
|
||||||
= button_tag "Import", class: "btn js-add-to-import"
|
= button_tag "Import", class: "btn js-add-to-import"
|
||||||
- @incompatible_repos.each do |repo|
|
- @incompatible_repos.each do |repo|
|
||||||
%tr{id: "repo_#{repo.id}"}
|
%tr{id: "repo_#{repo.id}"}
|
||||||
%td
|
%td
|
||||||
= link_to repo.name, "https://code.google.com/p/#{repo.name}", target: "_blank"
|
= link_to repo.name, "https://code.google.com/p/#{repo.name}", target: "_blank"
|
||||||
%td.import-target
|
%td.import-target
|
||||||
%td.import-actions-job-status
|
%td.import-actions-job-status
|
||||||
= label_tag "Incompatible Project", nil, class: "label label-danger"
|
= label_tag "Incompatible Project", nil, class: "label label-danger"
|
||||||
|
|
||||||
- if @incompatible_repos.any?
|
- if @incompatible_repos.any?
|
||||||
%p
|
%p
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
%table.table#audits
|
.table-holder
|
||||||
%thead
|
%table.table#audits
|
||||||
%tr
|
%thead
|
||||||
%th Action
|
|
||||||
%th When
|
|
||||||
|
|
||||||
%tbody
|
|
||||||
- events.each do |event|
|
|
||||||
%tr
|
%tr
|
||||||
%td
|
%th Action
|
||||||
%span
|
%th When
|
||||||
Signed in with
|
|
||||||
%b= event.details[:with]
|
%tbody
|
||||||
authentication
|
- events.each do |event|
|
||||||
%td #{time_ago_in_words event.created_at} ago
|
%tr
|
||||||
|
%td
|
||||||
|
%span
|
||||||
|
Signed in with
|
||||||
|
%b= event.details[:with]
|
||||||
|
authentication
|
||||||
|
%td #{time_ago_in_words event.created_at} ago
|
||||||
= paginate events, theme: "gitlab"
|
= paginate events, theme: "gitlab"
|
||||||
|
|
|
@ -32,21 +32,22 @@
|
||||||
%li
|
%li
|
||||||
.nothing-here-block No builds to show
|
.nothing-here-block No builds to show
|
||||||
- else
|
- else
|
||||||
%table.table.builds
|
.table-holder
|
||||||
%thead
|
%table.table.builds
|
||||||
%tr
|
%thead
|
||||||
%th Status
|
%tr
|
||||||
%th Build ID
|
%th Status
|
||||||
%th Commit
|
%th Build ID
|
||||||
%th Ref
|
%th Commit
|
||||||
%th Runner
|
%th Ref
|
||||||
%th Name
|
%th Runner
|
||||||
%th Duration
|
%th Name
|
||||||
%th Finished at
|
%th Duration
|
||||||
%th
|
%th Finished at
|
||||||
|
%th
|
||||||
|
|
||||||
- @builds.each do |build|
|
- @builds.each do |build|
|
||||||
= render 'projects/builds/build', build: build
|
= render 'projects/builds/build', build: build
|
||||||
|
|
||||||
= paginate @builds
|
= paginate @builds
|
||||||
|
|
||||||
|
|
|
@ -20,17 +20,18 @@
|
||||||
|
|
||||||
-if @web_hooks.any?
|
-if @web_hooks.any?
|
||||||
%h4 Activated web hooks (#{@web_hooks.count})
|
%h4 Activated web hooks (#{@web_hooks.count})
|
||||||
%table.table
|
.table-holder
|
||||||
- @web_hooks.each do |hook|
|
%table.table
|
||||||
%tr
|
- @web_hooks.each do |hook|
|
||||||
%td
|
%tr
|
||||||
.clearfix
|
%td
|
||||||
%span.monospace= hook.url
|
.clearfix
|
||||||
%td
|
%span.monospace= hook.url
|
||||||
.pull-right
|
%td
|
||||||
- if @ci_project.commits.any?
|
.pull-right
|
||||||
= link_to 'Test Hook', test_namespace_project_ci_web_hook_path(@project.namespace, @project, hook), class: "btn btn-sm btn-grouped"
|
- if @ci_project.commits.any?
|
||||||
= link_to 'Remove', namespace_project_ci_web_hook_path(@project.namespace, @project, hook), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove btn-sm btn-grouped"
|
= link_to 'Test Hook', test_namespace_project_ci_web_hook_path(@project.namespace, @project, hook), class: "btn btn-sm btn-grouped"
|
||||||
|
= link_to 'Remove', namespace_project_ci_web_hook_path(@project.namespace, @project, hook), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove btn-sm btn-grouped"
|
||||||
|
|
||||||
%h4 Web Hook data example
|
%h4 Web Hook data example
|
||||||
|
|
||||||
|
|
|
@ -29,27 +29,7 @@
|
||||||
- if @ci_commit.builds.running_or_pending.any?
|
- if @ci_commit.builds.running_or_pending.any?
|
||||||
= link_to "Cancel all", cancel_builds_namespace_project_commit_path(@project.namespace, @project, @commit.sha), class: 'btn btn-xs btn-danger'
|
= link_to "Cancel all", cancel_builds_namespace_project_commit_path(@project.namespace, @project, @commit.sha), class: 'btn btn-xs btn-danger'
|
||||||
|
|
||||||
%table.table.builds
|
.table-holder
|
||||||
%thead
|
|
||||||
%tr
|
|
||||||
%th Status
|
|
||||||
%th Build ID
|
|
||||||
%th Ref
|
|
||||||
%th Stage
|
|
||||||
%th Name
|
|
||||||
%th Duration
|
|
||||||
%th Finished at
|
|
||||||
- if @ci_project && @ci_project.coverage_enabled?
|
|
||||||
%th Coverage
|
|
||||||
%th
|
|
||||||
- @ci_commit.refs.each do |ref|
|
|
||||||
= render partial: "projects/commit_statuses/commit_status", collection: @ci_commit.statuses.for_ref(ref).latest.ordered,
|
|
||||||
locals: { coverage: @ci_project.try(:coverage_enabled?), allow_retry: true }
|
|
||||||
|
|
||||||
- if @ci_commit.retried.any?
|
|
||||||
.gray-content-block.second-block
|
|
||||||
Retried builds
|
|
||||||
|
|
||||||
%table.table.builds
|
%table.table.builds
|
||||||
%thead
|
%thead
|
||||||
%tr
|
%tr
|
||||||
|
@ -63,5 +43,27 @@
|
||||||
- if @ci_project && @ci_project.coverage_enabled?
|
- if @ci_project && @ci_project.coverage_enabled?
|
||||||
%th Coverage
|
%th Coverage
|
||||||
%th
|
%th
|
||||||
= render partial: "projects/commit_statuses/commit_status", collection: @ci_commit.retried,
|
- @ci_commit.refs.each do |ref|
|
||||||
locals: { coverage: @ci_project.try(:coverage_enabled?) }
|
= render partial: "projects/commit_statuses/commit_status", collection: @ci_commit.statuses.for_ref(ref).latest.ordered,
|
||||||
|
locals: { coverage: @ci_project.try(:coverage_enabled?), allow_retry: true }
|
||||||
|
|
||||||
|
- if @ci_commit.retried.any?
|
||||||
|
.gray-content-block.second-block
|
||||||
|
Retried builds
|
||||||
|
|
||||||
|
.table-holder
|
||||||
|
%table.table.builds
|
||||||
|
%thead
|
||||||
|
%tr
|
||||||
|
%th Status
|
||||||
|
%th Build ID
|
||||||
|
%th Ref
|
||||||
|
%th Stage
|
||||||
|
%th Name
|
||||||
|
%th Duration
|
||||||
|
%th Finished at
|
||||||
|
- if @ci_project && @ci_project.coverage_enabled?
|
||||||
|
%th Coverage
|
||||||
|
%th
|
||||||
|
= render partial: "projects/commit_statuses/commit_status", collection: @ci_commit.retried,
|
||||||
|
locals: { coverage: @ci_project.try(:coverage_enabled?) }
|
||||||
|
|
|
@ -1,34 +1,35 @@
|
||||||
- unless @branches.empty?
|
- unless @branches.empty?
|
||||||
%br
|
%br
|
||||||
%h4 Already Protected:
|
%h4 Already Protected:
|
||||||
%table.table.protected-branches-list
|
.table-holder
|
||||||
%thead
|
%table.table.protected-branches-list
|
||||||
%tr.no-border
|
%thead
|
||||||
%th Branch
|
%tr.no-border
|
||||||
%th Developers can push
|
%th Branch
|
||||||
%th Last commit
|
%th Developers can push
|
||||||
%th
|
%th Last commit
|
||||||
|
%th
|
||||||
|
|
||||||
%tbody
|
%tbody
|
||||||
- @branches.each do |branch|
|
- @branches.each do |branch|
|
||||||
- @url = namespace_project_protected_branch_path(@project.namespace, @project, branch)
|
- @url = namespace_project_protected_branch_path(@project.namespace, @project, branch)
|
||||||
%tr
|
%tr
|
||||||
%td
|
|
||||||
= link_to namespace_project_commits_path(@project.namespace, @project, branch.name) do
|
|
||||||
%strong= branch.name
|
|
||||||
- if @project.root_ref?(branch.name)
|
|
||||||
%span.label.label-info default
|
|
||||||
%td
|
%td
|
||||||
= check_box_tag "developers_can_push", branch.id, branch.developers_can_push, "data-url" => @url
|
= link_to namespace_project_commits_path(@project.namespace, @project, branch.name) do
|
||||||
%td
|
%strong= branch.name
|
||||||
- if commit = branch.commit
|
- if @project.root_ref?(branch.name)
|
||||||
= link_to namespace_project_commit_path(@project.namespace, @project, commit.id), class: 'commit_short_id' do
|
%span.label.label-info default
|
||||||
= commit.short_id
|
%td
|
||||||
·
|
= check_box_tag "developers_can_push", branch.id, branch.developers_can_push, "data-url" => @url
|
||||||
#{time_ago_with_tooltip(commit.committed_date)}
|
%td
|
||||||
- else
|
- if commit = branch.commit
|
||||||
(branch was removed from repository)
|
= link_to namespace_project_commit_path(@project.namespace, @project, commit.id), class: 'commit_short_id' do
|
||||||
%td
|
= commit.short_id
|
||||||
.pull-right
|
·
|
||||||
- if can? current_user, :admin_project, @project
|
#{time_ago_with_tooltip(commit.committed_date)}
|
||||||
= link_to 'Unprotect', [@project.namespace.becomes(Namespace), @project, branch], data: { confirm: 'Branch will be writable for developers. Are you sure?' }, method: :delete, class: "btn btn-remove btn-sm"
|
- else
|
||||||
|
(branch was removed from repository)
|
||||||
|
%td
|
||||||
|
.pull-right
|
||||||
|
- if can? current_user, :admin_project, @project
|
||||||
|
= link_to 'Unprotect', [@project.namespace.becomes(Namespace), @project, branch], data: { confirm: 'Branch will be writable for developers. Are you sure?' }, method: :delete, class: "btn btn-remove btn-sm"
|
||||||
|
|
|
@ -9,56 +9,57 @@
|
||||||
%span.runner-state.runner-state-specific
|
%span.runner-state.runner-state-specific
|
||||||
Specific
|
Specific
|
||||||
|
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
|
%thead
|
||||||
|
%tr
|
||||||
|
%th Property Name
|
||||||
|
%th Value
|
||||||
%tr
|
%tr
|
||||||
%th Property Name
|
%td
|
||||||
%th Value
|
Tags
|
||||||
%tr
|
%td
|
||||||
%td
|
- @runner.tag_list.each do |tag|
|
||||||
Tags
|
%span.label.label-primary
|
||||||
%td
|
= tag
|
||||||
- @runner.tag_list.each do |tag|
|
%tr
|
||||||
%span.label.label-primary
|
%td
|
||||||
= tag
|
Name
|
||||||
%tr
|
%td
|
||||||
%td
|
= @runner.name
|
||||||
Name
|
%tr
|
||||||
%td
|
%td
|
||||||
= @runner.name
|
Version
|
||||||
%tr
|
%td
|
||||||
%td
|
= @runner.version
|
||||||
Version
|
%tr
|
||||||
%td
|
%td
|
||||||
= @runner.version
|
Revision
|
||||||
%tr
|
%td
|
||||||
%td
|
= @runner.revision
|
||||||
Revision
|
%tr
|
||||||
%td
|
%td
|
||||||
= @runner.revision
|
Platform
|
||||||
%tr
|
%td
|
||||||
%td
|
= @runner.platform
|
||||||
Platform
|
%tr
|
||||||
%td
|
%td
|
||||||
= @runner.platform
|
Architecture
|
||||||
%tr
|
%td
|
||||||
%td
|
= @runner.architecture
|
||||||
Architecture
|
%tr
|
||||||
%td
|
%td
|
||||||
= @runner.architecture
|
Description
|
||||||
%tr
|
%td
|
||||||
%td
|
= @runner.description
|
||||||
Description
|
%tr
|
||||||
%td
|
%td
|
||||||
= @runner.description
|
Last contact
|
||||||
%tr
|
%td
|
||||||
%td
|
- if @runner.contacted_at
|
||||||
Last contact
|
#{time_ago_in_words(@runner.contacted_at)} ago
|
||||||
%td
|
- else
|
||||||
- if @runner.contacted_at
|
Never
|
||||||
#{time_ago_in_words(@runner.contacted_at)} ago
|
|
||||||
- else
|
|
||||||
Never
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,22 +2,23 @@
|
||||||
%h3.page-title Project services
|
%h3.page-title Project services
|
||||||
%p.light Project services allow you to integrate GitLab with other applications
|
%p.light Project services allow you to integrate GitLab with other applications
|
||||||
|
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%tr
|
%thead
|
||||||
%th
|
%tr
|
||||||
%th Service
|
%th
|
||||||
%th Description
|
%th Service
|
||||||
%th Last edit
|
%th Description
|
||||||
- @services.sort_by(&:title).each do |service|
|
%th Last edit
|
||||||
%tr
|
- @services.sort_by(&:title).each do |service|
|
||||||
%td
|
%tr
|
||||||
= boolean_to_icon service.activated?
|
%td
|
||||||
%td
|
= boolean_to_icon service.activated?
|
||||||
= link_to edit_namespace_project_service_path(@project.namespace, @project, service.to_param) do
|
%td
|
||||||
%strong= service.title
|
= link_to edit_namespace_project_service_path(@project.namespace, @project, service.to_param) do
|
||||||
%td
|
%strong= service.title
|
||||||
= service.description
|
%td
|
||||||
%td.light
|
= service.description
|
||||||
= time_ago_in_words service.updated_at
|
%td.light
|
||||||
ago
|
= time_ago_in_words service.updated_at
|
||||||
|
ago
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
New directory
|
New directory
|
||||||
|
|
||||||
%div#tree-content-holder.tree-content-holder
|
%div#tree-content-holder.tree-content-holder
|
||||||
.tree-table-holder
|
.table-holder
|
||||||
%table.table#tree-slider{class: "table_#{@hex_path} tree-table table-striped" }
|
%table.table#tree-slider{class: "table_#{@hex_path} tree-table table-striped" }
|
||||||
%thead
|
%thead
|
||||||
%tr
|
%tr
|
||||||
|
|
|
@ -7,12 +7,13 @@
|
||||||
%hr.clearfix
|
%hr.clearfix
|
||||||
|
|
||||||
-if @triggers.any?
|
-if @triggers.any?
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%th Token
|
%thead
|
||||||
%th Last used
|
%th Token
|
||||||
%th
|
%th Last used
|
||||||
= render partial: 'trigger', collection: @triggers, as: :trigger
|
%th
|
||||||
|
= render partial: 'trigger', collection: @triggers, as: :trigger
|
||||||
- else
|
- else
|
||||||
%h4 No triggers
|
%h4 No triggers
|
||||||
|
|
||||||
|
|
|
@ -7,28 +7,29 @@
|
||||||
%span.light History for
|
%span.light History for
|
||||||
= link_to @page.title, namespace_project_wiki_path(@project.namespace, @project, @page)
|
= link_to @page.title, namespace_project_wiki_path(@project.namespace, @project, @page)
|
||||||
|
|
||||||
%table.table
|
.table-holder
|
||||||
%thead
|
%table.table
|
||||||
%tr
|
%thead
|
||||||
%th Page version
|
|
||||||
%th Author
|
|
||||||
%th Commit Message
|
|
||||||
%th Last updated
|
|
||||||
%th Format
|
|
||||||
%tbody
|
|
||||||
- @page.versions.each_with_index do |version, index|
|
|
||||||
- commit = version
|
|
||||||
%tr
|
%tr
|
||||||
%td
|
%th Page version
|
||||||
= link_to project_wiki_path_with_version(@project, @page,
|
%th Author
|
||||||
commit.id, index == 0) do
|
%th Commit Message
|
||||||
= truncate_sha(commit.id)
|
%th Last updated
|
||||||
%td
|
%th Format
|
||||||
= commit.author.name
|
%tbody
|
||||||
%td
|
- @page.versions.each_with_index do |version, index|
|
||||||
= commit.message
|
- commit = version
|
||||||
%td
|
%tr
|
||||||
#{time_ago_with_tooltip(version.authored_date)}
|
%td
|
||||||
%td
|
= link_to project_wiki_path_with_version(@project, @page,
|
||||||
%strong
|
commit.id, index == 0) do
|
||||||
= @page.page.wiki.page(@page.page.name, commit.id).try(:format)
|
= truncate_sha(commit.id)
|
||||||
|
%td
|
||||||
|
= commit.author.name
|
||||||
|
%td
|
||||||
|
= commit.message
|
||||||
|
%td
|
||||||
|
#{time_ago_with_tooltip(version.authored_date)}
|
||||||
|
%td
|
||||||
|
%strong
|
||||||
|
= @page.page.wiki.page(@page.page.name, commit.id).try(:format)
|
||||||
|
|
Loading…
Reference in New Issue