Sha256: 750b35dd7553ef2f43fb026941b921c28f9a8502b35dbfedee5c3ead3d097e86

Contents?: true

Size: 956 Bytes

Versions: 2

Compression:

Stored size: 956 Bytes

Contents

doctype 5
html
  head
    meta(charset="UTF-8")
    link(rel="stylesheet" href="#{File.join(SpeedGun.config.prefix, '/feather.css')}")
    link(rel="stylesheet" href="#{File.join(SpeedGun.config.prefix, '/report.css')}")
    script(src="https://code.jquery.com/jquery-3.0.0.min.js")
    script(src="#{File.join(SpeedGun.config.prefix, '/report.js')}")
    title #{@report.name || @report.id} - Speed Gun
  body
    #container
      #report
        h1.report-id
          = @report.name || @report.name
          span.duration-ms= "%04.1fms" % (@report.duration * 1000.0)
        .tabs
          a.active.tab.events(href="#events")
            span.icon-bell
            | Events
          a.tab.sources(href="#sources")
            span.icon-file
            | Sources

      #details
        #events.active
          == partial('events', locals: { events: @events })

        #sources
          == partial('sources', locals: { sources: @report.sources })

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
speed_gun-2.0.1 lib/speed_gun/app/views/report.slim
speed_gun-2.0.0 lib/speed_gun/app/views/report.slim