This repository was archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Copy pathcompatibility-mde.html
94 lines (78 loc) · 2.33 KB
/
compatibility-mde.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{% assign versionsNumber = include.data.versions.size %}
{% assign extensions = include.data.extensions %}
{% if include.extensions %}
{% assign extensions = include.data.extensions | where: "name", include.extensions %}
{% endif %}
**Supported**{: .status-light.supported } – version that has been fully tested by Adobe and is supported.
**Compatible**{: .status-light.compatible } – version that is confirmed to be compatible with {{site.data.var.ee}} or {{site.data.var.ce}}, but is not supported.
**Not supported**{: .status-light.not-supported } - version that is not compatible with a Commerce or Magento release.
<table class="compatibility-table">
<thead>
<tr class="magento-version">
<th> </th>
{% for version in include.data.versions %}
<th>Version {{version}}</th>
{% endfor %}
</tr>
</thead>
{% for extensions in extensions %}
<tbody>
<tr class="extension-name">
<th colspan="{{ versionsNumber | plus: 1 }}">{{ extensions.name }}</th>
</tr>
{% for extensionsVersion in extensions.versions %}
<tr class="extension-version">
<td>{{ extensions.name }} {{ extensionsVersion.name }}</td>
{% for version in include.data.versions %}
<td><span
class="status-light {{ extensionsVersion.support[version] | replace: ' ', '-' }}">{{ extensionsVersion.support[version] | capitalize }}</span>
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
{% endfor %}
</table>
<style>
.compatibility-table {
table-layout: auto;
}
.compatibility-table .magento-version th {
padding: 5px 15px;
background: none;
}
.extension-version {
transition: all .2s;
}
.extension-version:hover {
background: rgba(20, 115, 230, 10%);
}
.compatibility-table .extension-name th {
padding: 5px 15px;
}
.status-light {
height: 32px;
font-size: 14px;
font-weight: 400;
}
.status-light::before {
content: '';
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin: 0 12px;
}
.status-light.supported::before {
background: rgb(45, 157, 120);
}
.status-light.compatible::before {
background: rgb(230, 134, 25);
}
.status-light.not-supported {
font-style: italic;
}
.status-light.not-supported::before {
background: rgb(179, 179, 179);
}
</style>