Sha256: dab633a1ad190516268def84526d33e8efa8616487d818a65de231bc6258d030
Contents?: true
Size: 1.7 KB
Versions: 5
Compression:
Stored size: 1.7 KB
Contents
<div class="min-w-[960px] mx-auto lg:mx-12"> <h1 class='text-lg font-semibold text-gray-700'>审核数据</h1> <div id="message-box"></div> <!--search block--> <div class='py-4 mt-4 border-y-2 border-slate-300'> <div class='py-4'> <%# = render "search_form" %> </div> <% if @pagy.count == 0 %> <div class='py-5 text-center text-gray-400'>暂无数据</div> <% else %> <table class='w-full my-5 text-sm border-collapse table-auto '> <thead> <tr> <th class='w-20'>编号</th> <th class='w-20'>类型</th> <th class='w-36'>生成时间</th> <th class='w-40'>对应模型</th> <th class='w-32'>审核状态</th> <th class='w-36'>审核时间</th> <th class='w-36'>审核人</th> <th>详情</th> <th class='w-40'>操作</th> </tr> </thead> <tbody> <% @review_logs.each do |review_log| %> <% if review_log.service == 'stop_words' %> <div class="flex space-x-2"> <div><%= review_log.original %></div> <div><%= review_log.filtered %></div> <div><%= review_log.raw_data %></div> </div> <% elsif review_log.service == 'aliyun' %> <%= render "text_review_log_row", review_log: review_log if review_log.is_a? CensorBear::ReviewLogs::Text %> <%= render "image_review_log_row", review_log: review_log if review_log.is_a? CensorBear::ReviewLogs::Image %> <% else %> <div>unknown service</div> <% end %> <% end %> </tbody> </table> <div > <%== pagy_nav(@pagy) %> </div> <% end %> </div> </div>
Version data entries
5 entries across 5 versions & 1 rubygems