Source

ultrasound / django_ultrasound / employees / templates / list_employees_report.html

Full commit
{% extends "admin/base_site.html" %}
{% load i18n %}

{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% load adminmedia %}{% admin_media_prefix %}css/dashboard.css" />{% endblock %}

{% block coltype %}colMS{% endblock %}

{% block bodyclass %}dashboard{% endblock %}

{% block breadcrumbs %}{% endblock %}

{% block content %}
<div id="content-main">

<table width="80%" border="1">

    {% for et in types %}

        <tr style="background-color:silver">
            <th colspan="4">{{ et.0 }}</th>

        </tr>

        {% for employee in et.1 %}

            <tr>
                <td>{{ employee.id }}</td>
                <td>{{ employee.user.username }}</td>
                <td>{{ employee.user.first_name }}</td>
                <td>{{ employee.user.last_name }}</td>
            </tr>

        {% endfor %}

    {% endfor %}


</table>


</div>
{% endblock %}