{% extends "base.html" %}
{% block title %}Fissue · 队列{% endblock %}
{% block content %}
<h2>队列</h2>
<p class="muted">待处理合计 {{ total_pending }},卡住 {{ total_stuck }}。卡住的条目会一直占着位置,需要人看一眼。</p>
<table>
  <thead><tr><th>队列</th><th>待处理</th><th>执行中</th><th>待定论</th><th>最久等待</th></tr></thead>
  <tbody>
  {% for row in rows %}
    <tr>
      <td>{{ row.name }}</td>
      <td>{{ row.pending }}</td>
      <td>{{ row.running }}</td>
      <td>{{ row.done_unflushed }}</td>
      <td>{{ row.oldest_age }}</td>
    </tr>
  {% endfor %}
  </tbody>
</table>

<p class="muted">
  队列含义:<code>verify</code> = 等验证器;<code>fix_bug</code> = 等修 BUG;
  <code>fix_feature</code> = 等修功能需求。定论(flush)会同时给条目打标签。
</p>
{% endblock %}