!!! 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.kept.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