Advertisement
-Miura-

Untitled

Jul 25th, 2024 (edited)
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.41 KB | None | 0 0
  1. variables:
  2.   html_template: |-
  3.     <!DOCTYPE html>
  4.    <html>
  5.      <head>
  6.        <style>
  7.        html {
  8.         font-family:verdana
  9.         }
  10.         td {
  11.           height: 30px;
  12.         }
  13.         .header_table {
  14.           color: #ffffff;
  15.           background: #00498D;
  16.           text-align: center;
  17.         }
  18.         .header_row {
  19.           color: #ffffff;
  20.           background: #0064c2;
  21.           text-align: center;
  22.           font-style: italic;
  23.         }
  24.         .header_col {
  25.           color: #ffffff;
  26.           background: #00498D;
  27.           text-align: right;
  28.           padding-right: 10px;
  29.         }
  30.         .value {
  31.           text-align: right;
  32.         }
  33.         .hightlight_col {
  34.           background: #dbdbdb;
  35.         }
  36.         </style>
  37.      </head>
  38.      <body>
  39.         <table style="border-collapse: collapse">
  40.          <tbody>
  41.            <tr class="header_table">
  42.              <td width=100px>&nbsp;</td>
  43.              <td width=100px>Oud</td>
  44.              <td width=100px>Nieuw</td>
  45.              <td width=100px>Verschil</td>
  46.            </tr>
  47.            <tr>
  48.              <td class="header_col">&nbsp;</td>
  49.              <td class="header_row" colspan="3">Electra - Normaal</td>
  50.            </tr>
  51.            <tr>
  52.              <td class="header_col">Import</td>
  53.              <td class="value">{ELECTRA_NORMAAL_IMPORT_PREV}</td>
  54.              <td class="value hightlight_col">{ELECTRA_NORMAAL_IMPORT_CURR}</td>
  55.              <td class="value">{ELECTRA_NORMAAL_IMPORT_DIFF}</td>
  56.            </tr>
  57.            <tr>
  58.              <td class="header_col">Export</td>
  59.              <td class="value">{ELECTRA_NORMAAL_EXPORT_PREV}</td>
  60.              <td class="value hightlight_col">{ELECTRA_NORMAAL_EXPORT_CURR}</td>
  61.              <td class="value">{ELECTRA_NORMAAL_EXPORT_DIFF}</td>
  62.            </tr>
  63.            <tr>
  64.              <td class="header_col" >&nbsp;</td>
  65.              <td class="header_row" colspan="3">Electra - Dal</td>
  66.            </tr>
  67.            <tr>
  68.              <td class="header_col">Import</td>
  69.              <td class="value">{ELECTRA_DAL_IMPORT_PREV}</td>
  70.              <td class="value hightlight_col">{ELECTRA_DAL_IMPORT_CURR}</td>
  71.              <td class="value">{ELECTRA_DAL_IMPORT_DIFF}</td>
  72.            </tr>
  73.            <tr>
  74.              <td class="header_col">Export</td>
  75.              <td class="value">{ELECTRA_DAL_EXPORT_PREV}</td>
  76.              <td class="value hightlight_col">{ELECTRA_DAL_EXPORT_CURR}</td>
  77.              <td class="value">{ELECTRA_DAL_EXPORT_DIFF}</td>
  78.            </tr>
  79.            <tr>
  80.              <td class="header_col" >&nbsp;</td>
  81.              <td class="header_row" colspan="3">Solar</td>
  82.            </tr>
  83.            <tr>
  84.              <td class="header_col">Opgewekt</td>
  85.              <td class="value">{SOLAR_PREV}</td>
  86.              <td class="value hightlight_col">{SOLAR_CURR}6</td>
  87.              <td class="value">{SOLAR_DIFF}</td>
  88.            </tr>
  89.            <tr>
  90.              <td class="header_col">&nbsp;</td>
  91.              <td class="header_row" colspan="3">Gas</td>
  92.            </tr>
  93.            <tr>
  94.              <td class="header_col">Import</td>
  95.              <td class="value">{GAS_PREV}</td>
  96.              <td class="value hightlight_col">{GAS_CURR}</td>
  97.              <td class="value">{GAS_DIFF}</td>
  98.            </tr>
  99.          </tbody>
  100.        </table>
  101.      </body>
  102.    </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement