BigW Consortium Gitlab

index.html.haml 671 Bytes
Newer Older
1 2
- @no_container = true
- page_title 'Requests Profiles'
3
= render 'admin/monitoring/head'
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

%div{ class: container_class }
  %h3.page-title
    = page_title

  .bs-callout.clearfix
    Pass the header
    %code X-Profile-Token: #{@profile_token}
    to profile the request

  - if @profiles.present?
    .prepend-top-default
      - @profiles.each do |path, profiles|
        .panel.panel-default.panel-small
          .panel-heading
            %code= path
          %ul.content-list
            - profiles.each do |profile|
              %li
23
                = link_to profile.time.to_s(:long), admin_requests_profile_path(profile)
24 25 26
  - else
    %p
      No profiles found