Sha256: f9e61542a21eeb3924cf439ac3d34fa1fb285ccc5ed5db404197b04f8ee5d000

Contents?: true

Size: 887 Bytes

Versions: 3

Compression:

Stored size: 887 Bytes

Contents

=stylesheet_link_tag "csp_report/csp_report.css"

%table.csp-report.report-table
  %tr.csp-report.report-row
    %th.csp-report.report-header
      ID
    %th.csp-report.report-header
      Document URI
    %th.csp-report.report-header
      Referrer
    %th.csp-report.report-header
      Server Policy
    %th.csp-report.report-header
      Violated Directive
    %th.csp-report.report-header
      Blocked URI
    %th.csp-report.report-header
      Reported At
  - @reports.each do |report|
    %tr.csp-report.report-row
      %td.csp-report.report-cell=report.id
      %td.csp-report.report-cell=report.document_uri
      %td.csp-report.report-cell=report.referrer
      %td.csp-report.report-cell=report.original_policy
      %td.csp-report.report-cell=report.violated_directive
      %td.csp-report.report-cell=report.blocked_uri
      %td.csp-report.report-cell=report.created_at

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
csp_report-0.1.2 app/views/csp_report/csp_reports/index.html.haml
csp_report-0.1.1 app/views/csp_report/csp_reports/index.html.haml
csp_report-0.1.0 app/views/csp_report/csp_reports/index.html.haml