{% extends 'base.html' %} {% block title %}Planning Patching {{ year }}{% endblock %} {% block content %}

Planning Patching {{ year }}

{{ year - 1 }} {{ year + 1 }} {% if entries %}
{% endif %}
{% if msg %}
{% if msg == 'add' %}Entree ajoutee.{% elif msg == 'edit' %}Entree modifiee.{% elif msg == 'delete' %}Entree supprimee.{% elif msg == 'duplicate' %}Planning duplique avec succes.{% elif msg == 'exists' %}L'annee cible contient deja des entrees. Supprimez-les d'abord.{% elif msg == 'err_week' %}Numero de semaine invalide (1-53).{% elif msg == 'err_domain' %}Domaine requis pour une entree ouverte.{% elif msg == 'err_past' %}Impossible d'ajouter dans le passe (semaine deja ecoulee).{% elif msg == 'err_past_wed' %}Semaine en cours : ajout possible uniquement lundi et mardi (MEP urgente).{% endif %}
{% endif %}
Cycle 1
Cycle 2
Cycle 3
Gel
DMZ (continu)
HPROD = hors-prod | PROD = production | pilot = prod pilote
{% for m in months %} {% endfor %} {% for w in weeks %} {% endfor %} {% for dom in domains %} {% for w in weeks %} {% set entry = grid.get(dom.code, {}).get(w) %} {% endfor %} {% endfor %}
Domaine{{ m }}
{{ w }}
{{ dom.name }} ({{ dom.srv_count }})
{% if w in freeze_weeks %}
{% elif entry %} {% set bg = '#1e3a8a' %} {% if entry.cycle == 2 %}{% set bg = '#7c3aed' %}{% endif %} {% if entry.cycle == 3 %}{% set bg = '#166534' %}{% endif %} {% if dom.code == 'DMZ' %}{% set bg = '#5f3737' %}{% endif %}
{% if entry.env_scope == 'prod' %}P{% elif entry.env_scope == 'hprod' %}H{% elif entry.env_scope == 'prod_pilot' %}PP{% elif entry.env_scope == 'all' %}A{% endif %}
{% else %}
{% endif %}
{% for cycle_num in [1, 2, 3] %}

Cycle {{ cycle_num }}

{% for w in weeks %} {% for dom in domains %} {% set entry = grid.get(dom.code, {}).get(w) %} {% if entry and entry.cycle == cycle_num and dom.code != 'DMZ' %}
S{{ '%02d' % w }} {{ dom.name }} {{ entry.env_scope }}
{% if entry.note %}{{ entry.note[:20] }}{% endif %}
{% endif %} {% endfor %} {% endfor %}
{% endfor %}

Donnees planning {{ year }} ({{ entries|length }} entrees)

{% for e in entries %} {% endfor %}
Sem. Dates Domaine Env Cycle Statut Note Actions

Ajouter une entree

{% endblock %}