26 lines
671 B
Text
26 lines
671 B
Text
- @no_container = true
|
|
- page_title 'Requests Profiles'
|
|
= render 'admin/monitoring/head'
|
|
|
|
%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
|
|
= link_to profile.time.to_s(:long), admin_requests_profile_path(profile)
|
|
- else
|
|
%p
|
|
No profiles found
|