Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/sherlock/file_samples/show.html.haml')
-rw-r--r--app/views/sherlock/file_samples/show.html.haml55
1 files changed, 0 insertions, 55 deletions
diff --git a/app/views/sherlock/file_samples/show.html.haml b/app/views/sherlock/file_samples/show.html.haml
deleted file mode 100644
index b7e6f883667..00000000000
--- a/app/views/sherlock/file_samples/show.html.haml
+++ /dev/null
@@ -1,55 +0,0 @@
-- page_title t('sherlock.title'), t('sherlock.transaction'),
- t('sherlock.file_sample')
-
-- header_title t('sherlock.title'), sherlock_transactions_path
-
-.row-content-block
- .float-right
- = link_to(sherlock_transaction_path(@transaction), class: 'btn gl-button') do
- = sprite_icon('arrow-left')
- = t('sherlock.transaction')
- .oneline
- = t('sherlock.file_sample')
- = @file_sample.id
-
-.gl-mt-3
- %p
- %span.light
- #{t('sherlock.time')}:
- %strong
- = @file_sample.duration.round(2)
- = t('sherlock.milliseconds')
- %p
- %span.light
- #{t('sherlock.events')}:
- %strong
- = @file_sample.events
-
-%article.file-holder
- .js-file-title.file-title
- = sprite_icon("doc-text")
- %strong
- = @file_sample.file
- .code.file-content.js-syntax-highlight
- .line-numbers
- %table.sherlock-line-samples-table.gl-mb-0
- %thead
- %tr
- %th= t('sherlock.line_capitalized')
- %th= t('sherlock.events')
- %th= t('sherlock.time')
- %th= t('sherlock.percent')
- %tbody
- - @file_sample.line_samples.each_with_index do |sample, index|
- %tr{ class: sample.majority_of?(@file_sample.duration) ? 'slow' : '' }
- %td= index + 1
- %td= sample.events
- %td
- = sample.duration.round(2)
- = t('sherlock.milliseconds')
- %td
- = sample.percentage_of(@file_sample.duration).round
- = t('sherlock.percent')
-
- .sherlock-file-sample
- = highlight(@file_sample.file, @file_sample.source)