{% extends "base.html" %}

{% block title %}
List new images
{% endblock %}

{% block content %}
    <h2>List new images</h2>
    <h3><a href='?renew=1'>刷新</a></h3>
    <table>
    <thead>
          <tr>
              <th>姓名</th>
              <th>病歷號</th>
              <th>單號</th>
              <th>檢查日</th>
              <th>檢查名稱</th>
              <th>儀器</th>
              <!-- <th>�K</th>
 -->
              <th>狀態</th>
              <th>測量</th>
              <th>接受/阻止</th>
          </td>
    </thead>
    <tbody>
        {#% paginate 25 images %#}
        {% for image in images %}
        <tr>
            <td><a href='/patient/detail/{{image.patient.id}}/'>{{ image.patient }}</a></td>
            <td>{{ image.PatChartNo }}</td>
            <td>{{ image.RequestSheetNo }}</td>
            <td>{{ image.ExamDate }}</td>
            <td>{{ image.LinkOrderName }}</td>
            <td>{{ image.Modality }}</td>
            <!-- <td>{{ image.VerifiedStateString }}</td>
 -->
            <td>{{ image.get_Saved_display }}</td>
            <td>
            	<!-- <a href='/followup/new_volume/{{image.patient.id}}/?tdate={{tdate}}&idate={{image.ExamDate}}'><img 
              src="http://ck.ntuh.net/site_media/open_icon_library-full/icons/png/24x24/actions/measure.png" 
              alt="Measure" border=0 title="Measure"/></a> -->
            </td>
            <td>
            	<!-- <a href='/followup/markimages/{{image.RequestSheetNo}}/15/'><img src="http://ck.ntuh.net/site_media/open_icon_library-full/icons/png/24x24/actions/dialog-accept.png" alt="Accept" border=0 title='Accept'/></a> -->
                <a href='/followup/markimages/{{image.RequestSheetNo}}/20/'><img src="http://ck.ntuh.net/site_media/open_icon_library-full/icons/png/24x24/actions/dialog-block.png"  alt="不適用"  border=0 title='不適用'/></a>
            </td>
       </tr>
        {% endfor %}
        {#% show_pages %#}
    </tbody>
    </table>

{% endblock %}