summaryrefslogtreecommitdiff
path: root/app/views/admin/requests_profiles/index.html.haml
blob: 82c57aa737fc12fe6d6115aa20d09ac80b7fdeb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
- @no_container = true
- page_title 'Requests Profiles'

%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|
        .card.card-small
          .card-header
            %code= path
          %ul.content-list
            - profiles.each do |profile|
              %li
                = link_to profile.time.to_s(:long) + ' ' + profile.profile_mode.capitalize,
                  admin_requests_settings_path(profile)
  - else
    %p
      No profiles found