{% extends 'base.html' %} {% block title %}Patching {{ year }}{% endblock %} {% block content %}
| Domaine | Total | OK | 2x | Jamais | % |
|---|---|---|---|---|---|
| {{ d.domain }} | {{ d.total }} | {{ d.patched }} | {{ d.twice }} | {{ d.never }} |
|
| Hostname {% if sort == 'hostname' %}{{ '▲' if sort_dir == 'asc' else '▼' }}{% endif %} | Domaine | Env | Zone | Nb patchs {% if sort == 'count' %}{{ '▲' if sort_dir == 'asc' else '▼' }}{% endif %} | Semaines | Dernier {% if sort == 'last' %}{{ '▲' if sort_dir == 'asc' else '▼' }}{% endif %} |
|---|---|---|---|---|---|---|
| {{ s.hostname }} | {{ s.domain or '-' }} | {{ (s.env or '-')[:6] }} | {% if s.zone == 'DMZ' %}DMZ{% else %}{{ s.zone or '-' }}{% endif %} | {{ s.patch_count or 0 }} | {% if s.patch_weeks %}{% for w in s.patch_weeks.split(',') %}{{ w }}{% endfor %}{% else %}-{% endif %} | {% if s.last_patch_date %}{{ s.last_patch_date }}{% elif s.last_patch_week %}{{ s.last_patch_week }}{% else %}-{% endif %} |