Skip to content

Commit 333d58a

Browse files
authored
improvements to the cmodes tables readability for the projec w brie (#1508)
* improvements to the cmodes tables readability for the projec w brie * whoops missed one * heading edit
1 parent 53802f3 commit 333d58a

File tree

2 files changed

+28
-18
lines changed

2 files changed

+28
-18
lines changed

src/connections/destinations/category-compare.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,29 @@ This page collates information about each destination, organized by category for
99
## {{ category.display_name }}
1010

1111
<table>
12+
<tr>
13+
<th> </th>
14+
<th colspan=3 style="border-left: 1px solid gray;">Accepts data from these library types in cloud-mode </th>
15+
<th colspan=2 style="border-left: 1px solid gray;">Can use these in device-mode</th>
16+
</tr>
1217
<tr>
1318
<th> Destination </th>
14-
<th> Cloud - Web </th>
15-
<th> Cloud - Mobile </th>
16-
<th> Device - Web </th>
17-
<th> Device - Mobile </th>
19+
<th style="border-left: 1px solid gray;"> Web </th>
20+
<th> Mobile </th>
1821
<th> Server</th>
22+
<th style="border-left: 1px solid gray;"> Web </th>
23+
<th> Mobile </th>
1924
</tr>
2025
{% for destination in site.data.catalog.destinations.items %}
2126
{% if destination.categories contains category.display_name %}
22-
{% unless destination.connection_modes.cloud.web == false and destination.connection_modes.cloud.mobile == false and destination.connection_modes.device.web == false and destination.connection_modes.device.mobile == false and destination.connection_modes.cloud.server == false %}
27+
{% unless destination.connection_modes.cloud.web == false and destination.connection_modes.cloud.mobile == false and destination.connection_modes.cloud.server == false and destination.connection_modes.device.web == false and destination.connection_modes.device.mobile == false %}
2328
<tr>
2429
<td>**[{{ destination.display_name }}](/docs/{{ destination.url }})**</td>
25-
<td>{% if destination.connection_modes.cloud.web %}✅{% else %}⬜️{% endif %} </td>
30+
<td style="border-left: 1px solid gray;">{% if destination.connection_modes.cloud.web %}✅{% else %}⬜️{% endif %} </td>
2631
<td>{% if destination.connection_modes.cloud.mobile %}✅{% else %}⬜️{% endif %} </td>
27-
<td>{% if destination.connection_modes.device.web %}✅{% else %}⬜️{% endif %} </td>
28-
<td>{% if destination.connection_modes.device.mobile %}✅{% else %}⬜️{% endif %} </td>
2932
<td>{% if destination.connection_modes.cloud.server %}✅{% else %}⬜️{% endif %} </td>
33+
<td style="border-left: 1px solid gray;">{% if destination.connection_modes.device.web %}✅{% else %}⬜️{% endif %} </td>
34+
<td>{% if destination.connection_modes.device.mobile %}✅{% else %}⬜️{% endif %} </td>
3035
</tr>
3136
{% endunless %}
3237
{% endif %}

src/connections/destinations/cmodes-compare.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,36 @@ title: Destinations Connection Modes comparison
99
> Comparison shopping? Check out the [destination connection modes by category](/docs/connections/destinations/category-compare/).
1010
1111
<table>
12+
<tr>
13+
<th> </th>
14+
<th colspan=3 style="border-left: 1px solid gray;">Accepts data from these library types in cloud-mode </th>
15+
<th colspan=2 style="border-left: 1px solid gray;">Can use these in device-mode</th>
16+
</tr>
1217
<tr>
1318
<th> Destination </th>
14-
<th> Cloud - Web </th>
15-
<th> Cloud - Mobile </th>
16-
<th> Device - Web </th>
17-
<th> Device - Mobile </th>
19+
<th style="border-left: 1px solid gray;"> Web </th>
20+
<th> Mobile </th>
1821
<th> Server</th>
22+
<th style="border-left: 1px solid gray;"> Web </th>
23+
<th> Mobile </th>
1924
</tr>
2025
{% for destination in site.data.catalog.destinations.items %}
2126
{% unless destination.connection_modes.cloud.web == false and destination.connection_modes.cloud.mobile == false and destination.connection_modes.device.web == false and destination.connection_modes.device.mobile == false and destination.connection_modes.cloud.server == false %}
2227
<tr>
23-
<td>{% if destination.status == "PUBLIC_BETA" %}ℹ️ {% endif %}[{{ destination.display_name }}](/docs/{{ destination.url }})</td>
24-
<td>{% if destination.connection_modes.cloud.web %}✅{% else %}⬜️{% endif %} </td>
28+
<td>[{{ destination.display_name }}](/docs/{{ destination.url }}){% if destination.status == "PUBLIC_BETA" %}&nbsp;ℹ️{% endif %}</td>
29+
<td style="border-left: 1px solid gray;">{% if destination.connection_modes.cloud.web %}✅{% else %}⬜️{% endif %} </td>
2530
<td>{% if destination.connection_modes.cloud.mobile %}✅{% else %}⬜️{% endif %} </td>
26-
<td>{% if destination.connection_modes.device.web %}✅{% else %}⬜️{% endif %} </td>
27-
<td>{% if destination.connection_modes.device.mobile %}✅{% else %}⬜️{% endif %} </td>
2831
<td>{% if destination.connection_modes.cloud.server %}✅{% else %}⬜️{% endif %} </td>
32+
<td style="border-left: 1px solid gray;">{% if destination.connection_modes.device.web %}✅{% else %}⬜️{% endif %} </td>
33+
<td>{% if destination.connection_modes.device.mobile %}✅{% else %}⬜️{% endif %} </td>
2934
</tr>
3035
{% endunless %}
3136
{% endfor %}
3237
</table>
3338

34-
The following destinations have no connection mode information available:
39+
##### The following destinations have no connection mode information available:
3540
{% for destination in site.data.catalog.destinations.items %}
3641
{% if destination.connection_modes.cloud.web == false and destination.connection_modes.cloud.mobile == false and destination.connection_modes.device.web == false and destination.connection_modes.device.mobile == false and destination.connection_modes.cloud.server == false %}
37-
- [{{ destination.display_name }}](/docs/{{ destination.url }}){% if destination.status == "PUBLIC_BETA" %} (beta) {% endif %}
42+
- [{{ destination.display_name }}](/docs/{{ destination.url }}){% if destination.status == "PUBLIC_BETA" %}&nbsp;ℹ️{% endif %}
3843
{% endif %}
3944
{% endfor %}

0 commit comments

Comments
 (0)