Sha256: 905eab2145168e7abbfd3981dbd7efc03bf2876f828b9fdb2f21dca05814ec66
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
%div{class: "flex flex-col space-y-2 justify-center"} %div{class: "flex justify-between"} %div = form_with(url: logs_path, method: :get, class: "flex items-center") do |f| %div{class: "space-x-0.5"} = f.text_field :q, value: params[:q], placeholder: "关键词", class: "border rounded-md m py-0.5 px-1" = f.select :stage, options_for_select([%w[aliyun_check aliyun_check], %w[aliyun_check aliyun_check], %w[qq_regex qq_regex], %w[wx_regex wx_regex], %w[local_check local_check]], params[:stage]), {include_blank: "-- 按Stage筛选 --"}, class: "border rounded-md m py-0.5 px-1" = f.submit "检索", class: "rounded-md px-2 py-1 text-sm bg-black text-white cursor-pointer" = link_to "重置", logs_path, class: "text-sm" %div{class: "text-sm text-gray-600"}="共 #{@pagy.count} 条" %div - if @logs.blank? %div{class: "flex justify-center text-gray-500 p-8 border rounded-md"} 空空如也 - else - @logs.each do |log| = render log %div{class: "flex justify-center"} = raw pagy_nav(@pagy)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
censor_bear-0.1.15 | app/views/censor_bear/logs/index.html.haml |
censor_bear-0.1.14 | app/views/censor_bear/logs/index.html.haml |