WireViz/src/wireviz/templates/simple-connector.html
2023-04-21 13:08:06 -04:00

21 lines
699 B
HTML
Generated

{% import 'colors_macro.html' as colors %}
{% set pin = pins[0] %}
<!-- Connector definition Table !-->
<table border="0" cellborder="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<!-- Header !-->
<tr>
<td>
<table border="0" cellborder="1" cellpadding="3" cellspacing="0">
<tr>
<td port="p1l"> {{ type }} </td>
{% if subtype %} <td > {{ subtype }} </td> {% endif %}
{% if show_pincount %} <td> {{ pincount }}-pin </td> {% endif %}
{% if color %} <td > {{ color }} </td> {% endif %}
{% if color %} {{ colors.colorbar_cells(color, color_len, "p1r") }} {% endif %}
</tr>
</table>
</td>
</tr>
</table>