{% extends "base.html" %} {% block title %}Correspondance QuickWin #{{ run.id }}{% endblock %} {% macro qs(pg=page) -%} ?page={{ pg }}&per_page={{ per_page }}&search={{ filters.search or '' }}&pair_filter={{ filters.pair_filter or '' }}&domain_filter={{ filters.domain_filter or '' }}&env_filter={{ filters.env_filter or '' }} {%- endmacro %} {% block content %}
← Retour campagne

Correspondance H-Prod ↔ Prod

{{ run.label }} — Appariement des serveurs hors-production avec leur homologue production

{% if msg %} {% if msg == 'auto' %} {% set am = request.query_params.get('am', '0') %} {% set au = request.query_params.get('au', '0') %} {% set aa = request.query_params.get('aa', '0') %}
Auto-appariement terminé : {{ am }} apparié(s), {{ au }} sans homologue, {{ aa }} anomalie(s)
{% elif msg == 'cleared' %}
Tous les appariements ont été supprimés.
{% elif msg == 'bulk' %} {% set bc = request.query_params.get('bc', '0') %}
{{ bc }} appariement(s) modifié(s) en masse.
{% endif %} {% endif %}
{{ stats.total }}
Total H-Prod
{{ stats.matched }}
Appariés
{{ stats.unmatched }}
Sans homologue
{{ stats.anomalies }}
Anomalies
Reset {{ total_filtered }} résultat(s)
0 sélectionné(s) | Associer la sélection à :
{% for p in pairs %} {% endfor %} {% if not pairs %} {% endif %}
Serveur H-Prod Domaine Env Candidat auto Statut Serveur Prod apparié Domaine Prod Action
{{ p.hprod_hostname }} {{ p.hprod_domaine }} {% if p.is_anomaly %}{{ p.hprod_env or '?' }} {% else %}{{ p.hprod_env }}{% endif %} {{ p.candidate }} {% if p.is_matched %}OK {% elif p.is_anomaly %}! {% else %}--{% endif %} {% if p.is_matched %} {{ p.prod_hostname }} {% else %} {% endif %} {% if p.is_matched %}{{ p.prod_domaine }}{% endif %} {% if p.is_matched %} {% else %} {% endif %}
Aucun résultat{% if filters.search or filters.pair_filter %} pour ces filtres{% endif %}
{% if total_pages > 1 %}
{% if page > 1 %} {% endif %} {% for pg in range(1, total_pages + 1) %} {% if pg == page %} {{ pg }} {% elif pg <= 3 or pg >= total_pages - 1 or (pg >= page - 1 and pg <= page + 1) %} {{ pg }} {% elif pg == 4 or pg == total_pages - 2 %} {% endif %} {% endfor %} {% if page < total_pages %} {% endif %}
{% endif %} {% endblock %}