Няма описание

newsletterBahn.js 9.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. export default `
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  3. <html>
  4. <head>
  5. <title>DB BAHN - Current information about your connection:</title>
  6. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  7. <meta name="viewport" content="width=device-width">
  8. </head>
  9. <body style="background-color: rgb(206, 206, 206);margin: 0; width:100%;">
  10. <div id="doc" style="font-family:Arial,sans-serif;font-size:12px;height:100%; min-width:500px; max-width: 944px; background: #fff; margin: 0; color:#333333">
  11. <table style="width: 100%;">
  12. <tr style="height: 48px;">
  13. <td style="vertical-align:bottom;padding-left:24px;">
  14. &nbsp;
  15. </td>
  16. <td style="vertical-align:bottom;text-align: right;">
  17. <img style="padding-right:16px;" src="http://www.bahn.de/wmedia/view/mdb/media/app/push-email/logo-db.gif" width="126" height="32" alt="DB Bahn" />
  18. </td>
  19. </tr>
  20. </table>
  21. <div style="padding:0;border:0;background-color:#f00;height:48px;">
  22. <p style="padding-top:12px;">
  23. <span style="color:#fff; font-weight:bold; font-size:16px;padding-left:24px;margin-top:12px;">Current information on your connection (order HFRXDK)</span>
  24. </p>
  25. </div>
  26. <div style="overflow: hidden;">
  27. <img src="http://www.bahn.de/wmedia/view/mdb/media/app/push-email/push_uhr1_944x70.jpg" />
  28. </div>
  29. <div style="padding-left: 24px;padding-top:16px;padding-right:24px;">
  30. <div style="margin-bottom: 8px;font-weight:bold;">
  31. Dear Mr Foo,
  32. </div>
  33. <div style="margin-bottom: 4px;">
  34. There are some changes affecting the connection you booked.
  35. <br/>
  36. Please click on the red button to request the latest information:
  37. </div>
  38. <div style="margin-top:20px; margin-bottom: 20px;" class="button-inside">
  39. <span><a style="text-decoration: none; color: #FFFFFF; cursor: pointer; font-weight: bold; letter-spacing: 1px;background: none repeat scroll 0 0 #FF0000;border: 1px solid #AF1818;padding:2px;" href="http://reiseauskunft.bahn.de/bin/query.exe/en?E=P&storeRecData=pushService&dbkanal_009=L01_S01_D001_KNL0011_pushm_LZ03&timestamp=1562346136&SS=8000036&ZS=8400285&T=201907051626&VH=T%248000036%248000086%24201907051626%24201907051747%24ICE++848%C2%A7T%248000086%248400058%24201907051827%24201907052028%24ICE++122%C2%A7T%248400058%248400285%24201907052034%24201907052049%24IC++2270"><span>Current information about your connection:</span></a></span>
  40. </div>
  41. <div style="margin-bottom:8px;font-weight:bold;">
  42. Deviation calculated from the time the mail was sent at 19:02 o'clock:
  43. </div>
  44. <div style="margin-bottom:8px;">
  45. You may not reach your connecting train in time
  46. </div>
  47. <div style="margin-bottom: 4px;">
  48. All data are included without warranty, express or implied. Please note that the current traffic situation can change at any time.
  49. </div>
  50. <div style="margin-top: 28px;margin-bottom:4px;"><span style="font-weight:bold;">Booked connection</span></div>
  51. <table style="font-family:Arial,sans-serif;font-size:12px;border-collapse: collapse;border-spacing: 0;">
  52. <tr>
  53. <th style="border-top: 1px solid #000; font-weight: bold; padding: 2px 12px 2px 4px;">Station/Stop</th>
  54. <th style="border-top: 1px solid #000; font-weight: bold; padding: 2px 12px 2px 4px;">Date</th>
  55. <th style="border-top: 1px solid #000; font-weight: bold; padding: 2px 12px 2px 4px;" colspan="2">Time</th>
  56. <th style="border-top: 1px solid #000; font-weight: bold; padding: 2px 12px 2px 4px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</th>
  57. </tr>
  58. <tr class="first">
  59. <td style="padding: 2px 12px 2px 4px;border-top: 1px solid #000;">Bielefeld Hbf</td>
  60. <td style="padding: 2px 12px 2px 4px;border-top: 1px solid #000;">05.07.2019</td>
  61. <td style="padding: 2px 12px 2px 4px;border-top: 1px solid #000;">ab</td>
  62. <td style="padding: 2px 12px 2px 4px;border-top: 1px solid #000;">16:26</td>
  63. <td style="padding: 2px 12px 2px 4px;border-top: 1px solid #000;"><a style="text-decoration: underline; color:#333333;word-wrap:normal;" href="http://reiseauskunft.bahn.de/bin/query.exe/en?E=P&storeRecData=pushService&dbkanal_009=L01_S01_D001_KNL0011_pushm_LZ03&timestamp=1562346136&SS=8000036&ZS=8400285&T=201907051626&VH=T%248000036%248000086%24201907051626%24201907051747%24ICE++848%C2%A7T%248000086%248400058%24201907051827%24201907052028%24ICE++122%C2%A7T%248400058%248400285%24201907052034%24201907052049%24IC++2270"><span>Access current information</span></a></td>
  64. </tr>
  65. <tr class="last">
  66. <td style="padding: 2px 12px 2px 4px;border-bottom: 1px solid #000;">Haarlem</td>
  67. <td style="padding: 2px 12px 2px 4px;border-bottom: 1px solid #000;">05.07.2019</td>
  68. <td style="padding: 2px 12px 2px 4px;border-bottom: 1px solid #000;">an</td>
  69. <td style="padding: 2px 12px 2px 4px;border-bottom: 1px solid #000;">20:49</td>
  70. <td style="padding: 2px 12px 2px 4px;border-bottom: 1px solid #000;">&nbsp;</td>
  71. </tr>
  72. </table>
  73. <br/>
  74. <div style="margin-top: 20px; margin-bottom: 4px;">
  75. Kind regards,
  76. </div>
  77. <p>
  78. <div style="overflow: hidden;">
  79. <img title="Your Team from www.bahn.de" alt="Your Team from www.bahn.de" src="http://www.bahn.de/wmedia/view/mdb/media/app/push-email/unterschrift_pk_en.gif" />
  80. </div>
  81. </p>
  82. <div style="margin-top:20px; margin-bottom:20px; border-color:#cccccc; border-width:1px 0 0 0; border-style:solid;"></div>
  83. <p style="margin-bottom: 4px;">
  84. <span style="font-weight:bold;">Additional information</span>
  85. </p>
  86. <p style="margin-bottom: 4px;">
  87. <a style="color: #333333; text-decoration: underline;" href="http://www.bahn.de/app_tarifinfo_pk_en.shtml">Information on the validity of tickets and reservations</a>
  88. </p>
  89. <p style="margin-bottom: 4px;">
  90. Current real-time information is not available for all modes of transportation. Possible portions of your itinerary by public transportation (e.g. by bus or tram) may therefore not be included in our information service.
  91. <br/><br/>
  92. Should your trip not be possible as planned (e.g. a missed connection due to a delay, or cancellation etc.), your passenger rights are still valid. These can be read at <a style="color: #333333;text-decoration: underline;" href="http://www.bahn.de/passengersrights">www.bahn.de/passengersrights</a>.
  93. <br/>
  94. </p>
  95. <p style="margin-bottom: 4px;">
  96. All information on the delay alarm will be deleted at the end of the journey.
  97. </p>
  98. <p style="margin-bottom: 4px;margin-top: 20px;">
  99. <a style="color: #333333; text-decoration: underline;" href="http://www.bahn.de/app_hilfe_pushnotification_pk_en_GBR.shtml">Push notification instead of e-mail</a>
  100. </p>
  101. <p style="margin-bottom: 4px;">
  102. If you use the DB Navigator app, you can receive the delay alarm on your smart phone as a push notification instead of as an e-mail.
  103. </p>
  104. <p style="margin-bottom: 4px;">
  105. <a style="color: #333333; text-decoration: underline;" href="http://www.bahn.de/app_hilfe_pushnotification_pk_en_GBR.shtml">How to activate push notifications</a>
  106. </p>
  107. </div>
  108. <div style="margin-left:24px; margin-right:24px;margin-top:20px; margin-bottom:20px; border-color:#cccccc; border-width:1px 0 0 0; border-style:solid;"></div>
  109. <div style="font-size:10px; padding-left: 24px;padding-right:24px;">
  110. <p><span style="font-weight:bold;">Publishing details</span></p>
  111. <p>
  112. DB Vertrieb GmbH<br/>
  113. Stephensonstraße 1<br/>
  114. 60326 Frankfurt am Main, Germany<br/>
  115. </p>
  116. <p>
  117. German Register of Companies (Handelsregister) B for the Local Court of Frankfurt am Main<br/>
  118. HRB 79808<br/>
  119. VAT ID No.: DE 814160246<br/>
  120. </p>
  121. <p>DB Vertrieb GmbH is represented by the Chairman of the Management Board Georg Lauber, the Managing Director responsible for Digital Business, Nils Hartgen and the Managing Director responsible for Finance & Controlling, Dr. Christian Runzheimer.</p>
  122. </div>
  123. <div style="margin-top:16px;padding:0;border:0;background-color:#f00;height:32px;text-align:right;vertival-align:bottom;">
  124. <p style="padding-top:10px;">
  125. <span style="padding-right:40px;color:#fff">&copy;&nbsp;Deutsche Bahn AG&nbsp;</span>
  126. </p>
  127. </div>
  128. </div>
  129. <p class="webtrack">
  130. <img src="http://t.bahn.de/b/ss/dbbahnprod/1/H.20.3--NS/996711116?pageName=BAHN_ASK_DEU_DE_BAHN_PushServiceMail&amp;ch=BAHN_ASK_DEU_DE_BAHN&amp;events=event48" width="5" height="5" alt="" />
  131. </p>
  132. </p>
  133. </body>
  134. </html>`;