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 {% if pass.backgroundColorName %} 0006 background-color: {{ pass.backgroundColorName }}; 0007 {% endif %} 0008 {% if pass.backgroundUrl %} 0009 background-image: url('{{ pass.backgroundUrl }}'); 0010 background-repeat: repeat-y; 0011 background-position: center top; 0012 {% endif %} 0013 {% if pass.foregroundColorName %} 0014 color: {{ pass.foregroundColorName }}; 0015 {% endif %} 0016 padding:12px; 0017 margin-left: auto; 0018 margin-right: auto; 0019 margin-top: 10px; 0020 margin-bottom: 10px; 0021 width: 332px; 0022 "> 0023 <!-- header --> 0024 <div> 0025 <table style="border-collapse: collapse;"> 0026 <tr> 0027 <td rowspan="2" style="vertical-align:center;"> 0028 {% if pass.logoUrl %} 0029 <img src="{{ pass.logoUrl }}" style="max-width:160px; max-height:50px;"/> 0030 {% endif %} 0031 </td> 0032 <td rowspan="2" style="vertical-align:center; font-size:120%; font-weight:bold; width:100%;">{{ pass.logoText }}</td> 0033 {% for field in pass.headerFields %} 0034 <td style="white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px;">{{ field.label }}</td> 0035 {% endfor %} 0036 </tr><tr> 0037 {% for field in pass.headerFields %} 0038 <td style="font-size: 120%; padding-top:0px;">{{ field.valueDisplayString }}</td> 0039 {% endfor %} 0040 </tr> 0041 </table> 0042 </div> 0043 <!-- strip image, if present --> 0044 {% if pass.stripUrl %} 0045 <div style="margin-top: 10px;"> 0046 <center><img src="{{ pass.stripUrl }}" style="max-width: 100%;"/></center> 0047 </div> 0048 {% endif %} 0049 <!-- primary fields TODO: in theory this should be on top of the strip image? --> 0050 <div> 0051 <table style="width:100%; border-collapse: collapse;"> 0052 <tr> 0053 {% for field in pass.primaryFields%} 0054 <td style="white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px;">{{ field.label }}</td> 0055 {% endfor %} 0056 </tr><tr style="font-size: 120%;"> 0057 {% for field in pass.primaryFields %} 0058 <td style="vertical-align:top; padding-top:0px;">{{ field.valueDisplayString }}</td> 0059 {% endfor %} 0060 </tr> 0061 </table> 0062 </div> 0063 <!-- secondary fields --> 0064 <div style="padding-top:4px;"> 0065 <table style="width:100%; border-collapse: collapse;"> 0066 <tr> 0067 {% for field in pass.secondaryFields %} 0068 <td style="white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px;">{{ field.label }}</td> 0069 {% endfor %} 0070 </tr><tr style="font-size: 120%;"> 0071 {% for field in pass.secondaryFields %} 0072 <td style="vertical-align:top; padding-top:0px;">{{ field.valueDisplayString }}</td> 0073 {% endfor %} 0074 </tr> 0075 </table> 0076 </div> 0077 <!-- auxiliaryFields fields --> 0078 <div style="padding-top:4px;"> 0079 <table style="width:100%; border-collapse: collapse;"> 0080 <tr> 0081 {% for field in pass.auxiliaryFields %} 0082 <td style="white-space: nowrap; color: {{ pass.labelColorName }}; padding-bottom:0px;">{{ field.label }}</td> 0083 {% endfor %} 0084 </tr><tr style="font-size: 120%;"> 0085 {% for field in pass.auxiliaryFields %} 0086 <td style="vertical-align:top; padding-top:0px;">{{ field.valueDisplayString }}</td> 0087 {% endfor %} 0088 </tr> 0089 </table> 0090 </div> 0091 <!-- barcode --> 0092 {% include "org.kde.messageviewer/pkpass/barcode.html" %} 0093 <!-- footer --> 0094 {% if pass.footerUrl %} 0095 <div style="margin-top: 10px;"> 0096 <center><img src="{{ pass.footerUrl }}"/></center> 0097 </div> 0098 {% endif %} 0099 <!-- back fields --> 0100 <hr/> 0101 {% for field in pass.backFields %} 0102 <div style="color: {{ pass.labelColorName }};">{{ field.label }}</div> 0103 <div>{{ field.valueDisplayString|safe|linebreaksbr }}</div> 0104 {% endfor %} 0105 </div> <!-- boarding pass --> 0106 0107 </div> <!-- attachment container --> 0108