Sha256: cd56b14bf65b1117ca22e8f2c39228dd80e50091e8ccf4beb0f28356028a3132

Contents?: true

Size: 1.3 KB

Versions: 4

Compression:

Stored size: 1.3 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| %>
          <%= 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 %>
        <% end %> 
      </tbody>
    </table>

    <div >
      <%== pagy_nav(@pagy) %>
    </div>
    <% end %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
censor_bear-0.1.22 app/views/censor_bear/review_logs/index.html.erb
censor_bear-0.1.21 app/views/censor_bear/review_logs/index.html.erb
censor_bear-0.1.20 app/views/censor_bear/review_logs/index.html.erb
censor_bear-0.1.19 app/views/censor_bear/review_logs/index.html.erb