<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>{{title}} Plato Report Visualization</title>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
  </head>
  <style>
    body {
      margin: 0;
      height: 100vh;
      overflow-y: hidden;
    }
    h1 {
      margin: 0;
    }
    .flex-fill {
      flex: 1 !important;
    }
    .d-flex {
      display: flex;
    }
    .align-items-center {
      align-items: center;
    }
    .align-items-stretch {
      -webkit-box-align: stretch !important;
      -ms-flex-align: stretch !important;
      align-items: stretch !important;
    }
    .align-items-baseline {
      -webkit-box-align: baseline !important;
      -ms-flex-align: baseline !important;
      align-items: baseline !important;
    }
    .justify-content-center {
      justify-content: center;
    }
    .align-self-center {
      -ms-flex-item-align: center !important;
      -ms-grid-row-align: center !important;
      align-self: center !important;
    }
    .flex-column {
      -webkit-box-orient: vertical !important;
      -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
      flex-direction: column !important;
    }
  </style>
  <body class="d-flex flex-column">
    <h1 class="align-self-center">{{title}} Plato Report Visualization</h1>
    <div class="d-flex flex-fill">
      <div class="flex-fill">
        <canvas id="maintainability" width="400" height="200"></canvas>
      </div>
      <div class="flex-fill">
        <canvas id="cyclomaticComplexities" width="400" height="200"></canvas>
      </div>
    </div>
    <div class="d-flex flex-fill">
      <div class="flex-fill">
        <canvas id="halsteadVolumes" width="400" height="200"></canvas>
      </div>
      <div class="flex-fill">
        <canvas id="logicalLines" width="400" height="200"></canvas>
      </div>
    </div>
    <script src="index.js" type="module"></script>
  </body>
</html>
