Skip to main content

MEC Pixel-Parity-Audit – 2026-05-11

Script: scripts/audit-mec-pixel-parity.py – run with python3 scripts/audit-mec-pixel-parity.py.

Method:

  1. For each template (a, d, grooss, green), the script reads the original Smarty .tpl files located in mec-templates/site_templates/templates/template_X/ or templates_green/.
  2. It extracts all MEC-specific classes and IDs (Tailwind utility classes are excluded, Smarty variables {$var} are removed before comparison).
  3. For each template, it collects the entire cockpit set (apps/center-website/components/templates/mec-template-X/** + _mec-shared/**) – supplemented with string literals (component props like boxId="home-times-left") and prefix stems from template literals (for example, subpage-header- covers subpage-header-jobs). Smarty comments {* … *} in the .tpl files are removed before comparison (legacy comments).
  4. The diff is the list of MEC classes that are present in the original but not rendered anywhere in the cockpit.

Status Column: OK = no drift • DRIFT = at least one original class is missing in the cockpit • NO-ORIG = there is no original .tpl for this page (e.g., voucher in Template A).

Template A

PageStatusMissing MEC Classes/IDs (Original without Cockpit)
homeOK
headerDRIFTshops-search-form
footerOK
newsOK
offersOK
jobsOK
serviceOK
contactOK
directionsOK
opening-hoursOK
stores-a-zOK
shopping-worldOK
voucherNO-ORIG
impressionsNO-ORIG
imprintOK
dataprotectionOK
legal-noticesOK
terms-and-conditionsOK

Template D

PageStatusMissing MEC Classes/IDs (Original without Cockpit)
homeOK
headerDRIFTheader-slider, shops-search-form
footerOK
newsOK
offersOK
jobsOK
serviceOK
contactOK
directionsOK
opening-hoursOK
stores-a-zOK
shopping-worldOK
voucherOK
impressionsOK
imprintOK
dataprotectionOK
legal-noticesOK
terms-and-conditionsOK

Template Grooss

PageStatusMissing MEC Classes/IDs (Original without Cockpit)
homeOK
headerDRIFTheader-slider, shops-search-form
footerOK
newsOK
offersOK
jobsOK
serviceOK
contactOK
directionsOK
opening-hoursOK
stores-a-zOK
shopping-worldOK
voucherOK
impressionsOK
imprintOK
dataprotectionOK
legal-noticesOK
terms-and-conditionsOK

Template Green

PageStatusMissing MEC Classes/IDs (Original without Cockpit)
homeOK
headerDRIFTheader-slider, shops-search-form
footerOK
newsOK
offersOK
jobsOK
serviceOK
contactOK
directionsOK
opening-hoursOK
stores-a-zOK
shopping-worldOK
voucherOK
impressionsOK
imprintOK
dataprotectionOK
legal-noticesOK
terms-and-conditionsOK

Consolidated Action List

Consolidated from the DRIFT tables, grouped by visibility and effort. The selection follows the phase schema established in mec-shared-components.md (Phase B-1.x).

Header (header-slider / shops-search-form)

Priority: medium – Original header renders an image-based slider (header-slider) and a custom search form (shops-search-form).

TemplatePageMissing Classes/IDs
aheadershops-search-form
dheaderheader-slider, shops-search-form
groossheaderheader-slider, shops-search-form
greenheaderheader-slider, shops-search-form

Accepted Drifts (no refactor needed)

The following classes from the original are deliberately not rendered in the cockpit, as they are replaced by other mechanisms:

  • contact-name-error
  • fax-icon
  • fax-text
  • mail-icon
  • mainpage
  • mobile-nav-close
  • mobile-nav-open
  • offer-slide-item
  • send-icon
  • slick-arrow
  • slick-dots
  • slick-list
  • slick-next
  • slick-prev
  • slick-slide
  • slick-slider
  • slick-track
  • subpage
  • tel-icon
  • tel-text
  • upload-icon

Nutzungsstatistik: Seitenaufrufe werden anonymisiert erfasst. Im Umami-Dashboard nach diesem Pfad filtern: /en/developer-guide/mec-pixel-audit-2026-05