File indexing completed on 2025-01-19 04:46:51
0001 <a name="att{{block.attachmentIndex}}"></a> 0002 <div id="attachmentDiv{{block.attachmentIndex}}"> 0003 0004 <div style=" 0005 background-color: {{ pass.backgroundColorName }}; 0006 color: {{ pass.foregroundColorName }}; 0007 padding:12px; 0008 border-radius:10px; 0009 margin-left: auto; 0010 margin-right: auto; 0011 margin-top: 10px; 0012 margin-bottom: 10px; 0013 width: 332px; 0014 "> 0015 <!-- header --> 0016 <div> 0017 <table style="border-collapse: collapse;"> 0018 <tr> 0019 <td rowspan="2" style="vertical-align:center;"> 0020 {% if pass.logoUrl %} 0021 <img src="{{ pass.logoUrl }}" style="max-width:160px; max-height:50px;"/> 0022 {% endif %} 0023 </td> 0024 <td rowspan="2" style="vertical-align:center; font-size:120%; font-weight:bold; width:100%;">{{ pass.logoText }}</td> 0025 {% for field in pass.headerFields %} 0026 <td style="white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px;">{{ field.label }}</td> 0027 {% endfor %} 0028 </tr><tr> 0029 {% for field in pass.headerFields %} 0030 <td style="font-size: 120%; padding-top:0px;">{{ field.value }}</td> 0031 {% endfor %} 0032 </tr> 0033 </table> 0034 </div> 0035 <hr/> 0036 <div> 0037 <table style="width:100%; border-collapse: collapse;"> 0038 <tr> 0039 {% for field in pass.primaryFields%} 0040 <td style="white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px; {% if field.textAlignment == 2 %}text-align:right;{% endif %}">{{ field.label }}</td> 0041 {% endfor %} 0042 {% if pass.thumbnailUrl %} 0043 <td rowspan="2" style="text-align:right; vertical-align:center;"><img src="{{ pass.thumbnailUrl }}" style="max-width: 90px; max-height:90px;"/></td> 0044 {% endif %} 0045 </tr><tr style="font-size: 120%;"> 0046 {% for field in pass.primaryFields %} 0047 <td style="vertical-align:top; padding-top:0px; {% if field.textAlignment == 2 %}text-align:right;{% endif %}">{{ field.value }}</td> 0048 {% endfor %} 0049 </tr> 0050 </table> 0051 </div> 0052 <!-- secondary fields --> 0053 <div style="padding-top:4px;"> 0054 <table style="width:100%; border-collapse: collapse;"> 0055 <tr> 0056 {% for field in pass.secondaryFields %} 0057 <td style="white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px; {% if field.textAlignment == 2 %}text-align:right;{% endif %}">{{ field.label }}</td> 0058 {% endfor %} 0059 </tr><tr style="font-size: 120%;"> 0060 {% for field in pass.secondaryFields %} 0061 <td style="vertical-align:top; padding-top:0px; {% if field.textAlignment == 2 %}text-align:right;{% endif %}">{{ field.value }}</td> 0062 {% endfor %} 0063 </tr> 0064 </table> 0065 </div> 0066 <!-- auxiliaryFields fields --> 0067 <div style="padding-top:4px;"> 0068 <table style="width:100%; border-collapse: collapse;"> 0069 <tr> 0070 {% for field in pass.auxiliaryFields %} 0071 <td style="white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px; {% if field.textAlignment == 2 %}text-align:right;{% endif %}">{{ field.label }}</td> 0072 {% endfor %} 0073 </tr><tr style="font-size: 120%;"> 0074 {% for field in pass.auxiliaryFields %} 0075 <td style="vertical-align:top; padding-top:0px; {% if field.textAlignment == 2 %}text-align:right;{% endif %}">{{ field.value }}</td> 0076 {% endfor %} 0077 </tr> 0078 </table> 0079 </div> 0080 <!-- barcode --> 0081 {% include "org.kde.messageviewer/pkpass/barcode.html" %} 0082 <!-- footer --> 0083 {% if pass.footerUrl %} 0084 <div style="margin-top: 10px;"> 0085 <center><img src="{{ pass.footerUrl }}"/></center> 0086 </div> 0087 {% endif %} 0088 <!-- back fields --> 0089 <hr/> 0090 {% for field in pass.backFields %} 0091 <div style="color: {{ pass.labelColorName }};">{{ field.label }}</div> 0092 <div>{{ field.value|safe|linebreaksbr }}</div> 0093 {% endfor %} 0094 </div> <!-- pass background --> 0095 0096 </div> <!-- attachment container -->