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:150%; 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: 150%; padding-top:0px;">{{ field.valueDisplayString }}</td> 0031 {% endfor %} 0032 </tr> 0033 </table> 0034 </div> 0035 <!-- primary fields --> 0036 <hr/> 0037 <div> 0038 <table style="width:100%; border-collapse: collapse;"> 0039 <tr> 0040 <td style="width:50%; white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px;">{{ pass.primaryFields.0.label }}</td> 0041 <td></td> 0042 <td style="width:50%; white-space: nowrap; text-align:right; color: {{ pass.labelColorName }}; padding-bottom:0px;">{{ pass.primaryFields.1.label }}</td> 0043 </tr><tr style="font-size: 200%;"> 0044 <td style="vertical-align:top; padding-top:0px;">{{ pass.primaryFields.0.valueDisplayString }}</td> 0045 <td style="color: {{ pass.labelColorName }}; padding-top:0px;"> 0046 {% if pass.transitType == pass.Air %} 0047 ✈ 0048 {% elif pass.transitType == pass.Bus %} <!-- the Unicode characters for the other transport type are not widely available --> 0049 → 0050 {% elif pass.transitType == pass.Boat %} 0051 → 0052 {% elif pass.transitType == pass.Train %} 0053 → 0054 {% else %} 0055 → 0056 {% endif %} 0057 </td> 0058 <td style="text-align:right; vertical-align:top; padding-top:0px;">{{ pass.primaryFields.1.valueDisplayString }}</td> 0059 </tr> 0060 </table> 0061 </div> 0062 <!-- auxiliaryFields fields --> 0063 <div style="padding-top:4px;"> 0064 <table style="width:100%; border-collapse: collapse;"> 0065 <tr> 0066 {% for field in pass.auxiliaryFields %} 0067 <td style="white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px;{% if field.textAlignment == 2 %}text-align:right;{% endif %}">{{ field.label }}</td> 0068 {% endfor %} 0069 </tr><tr style="font-size: 150%;"> 0070 {% for field in pass.auxiliaryFields %} 0071 <td style="vertical-align:top; padding-top:0px;{% if field.textAlignment == 2 %}text-align:right;{% endif %}">{{ field.valueDisplayString }}</td> 0072 {% endfor %} 0073 </tr> 0074 </table> 0075 </div> 0076 <!-- secondary fields --> 0077 <div style="padding-top:4px;"> 0078 <table style="width:100%; border-collapse: collapse;"> 0079 <tr> 0080 {% for field in pass.secondaryFields %} 0081 <td style="white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px;{% if field.textAlignment == 2 %}text-align:right;{% endif %}">{{ field.label }}</td> 0082 {% endfor %} 0083 </tr><tr style="font-size: 150%;"> 0084 {% for field in pass.secondaryFields %} 0085 <td style="vertical-align:top; padding-top:0px;{% if field.textAlignment == 2 %}text-align:right;{% endif %}">{{ field.valueDisplayString }}</td> 0086 {% endfor %} 0087 </tr> 0088 </table> 0089 </div> 0090 <!-- footer --> 0091 {% if pass.footerUrl %} 0092 <div style="margin-top: 10px;"> 0093 <center><img src="{{ pass.footerUrl }}"/></center> 0094 </div> 0095 {% endif %} 0096 <!-- barcode --> 0097 {% include "org.kde.messageviewer/pkpass/barcode.html" %} 0098 <!-- back fields --> 0099 <hr/> 0100 {% for field in pass.backFields %} 0101 <div style="color: {{ pass.labelColorName }};">{{ field.label }}</div> 0102 <div>{{ field.valueDisplayString|safe|linebreaksbr }}</div> 0103 {% endfor %} 0104 </div> <!-- boarding pass --> 0105 0106 </div> <!-- attachment container -->