Sha256: 4b0324078e9bc454161a1ea0024d8f45849bae14e3a9842cd9d478a4d31fced8

Contents?: true

Size: 806 Bytes

Versions: 5

Compression:

Stored size: 806 Bytes

Contents

!!! 5
%html
  %head
    %title 🐞 举报中心
    = csrf_meta_tags
    = csp_meta_tag
    = stylesheet_link_tag    "beetle_reporter/application", media: "all"
    = javascript_include_tag "turbo", type: "module"
    = yield :head
  %body{class: "flex flex-col space-y-6 p-4"}
    %div{class: "flex justify-between items-center"}
      %h2{class: "text-xl bg-black text-white rounded-full py-1 px-4 cursor-pointer"}
        %span{class: "shadow-lg"} 🐞
        %span 举报中心

      %ul{class: "flex justify-end items-center space-x-2 text-blue-600"}
        %li= link_to "待处理(#{BeetleReporter::Report.pending.count})", reports_path
        %li= link_to "控制台", main_app.send(BeetleReporter.config.main_app_root_path_method.to_sym)
        %li= current_user.email

    %div
      = yield

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beetle_reporter-0.1.5 app/views/layouts/beetle_reporter/application.html.haml
beetle_reporter-0.1.4 app/views/layouts/beetle_reporter/application.html.haml
beetle_reporter-0.1.3 app/views/layouts/beetle_reporter/application.html.haml
beetle_reporter-0.1.2 app/views/layouts/beetle_reporter/application.html.haml
beetle_reporter-0.1.1 app/views/layouts/beetle_reporter/application.html.haml