{% extends 'base.html' %} {% load static %} {% block title %}Search{% endblock %} {% block style %} .body { position: relative; top:80px; background-color: white; height: 45%; width: 100%; margin:0px auto; } .content { } .label-content { margin: 40px; display: flex; } .input-content { } .stable { top: -20px; position: relative; overflow: scroll; height: 125%; } table { width: 100%; } select { margin: 10px; height: 30px; width: 200px; } input { margin: 10px; } label { display:inline-block; margin: 10px 0px; font-weight: 700; } .image{ margin: 0 30px; } #myDiv #myImage{ display: ; } table, th, td { text-align: center; } th { background-color: #DDD; font-weight: 400; } {% endblock %} {% block content %}
{% csrf_token %}

搜尋司機資料














{% if request.method == 'POST' %}
{{text}} {% endif %} {% if var1 == 1 %} {% for i in var %} {% endfor %} {% else %} {% for i in var %} {% endfor %} {% endif %}
姓名 所屬區域 聘用狀態 身分 工號 變動生效日期 資料修改人員 資料修改時間 資料修改內容
{{i}}
{{i.0}} {{i.1}} {{i.2}} {{i.3}} {{i.4}} {{i.5}} {{i.6}} {{i.7}} {{i.8}}
{% endblock %}