<turbo-stream action="update" target="modal-root"><template>
  
<div data-controller="dialog">
  <dialog class="dialog dialog-size-lg" data-dialog-target="dialog">
    <div class="dialog-header">
      <h2 class="dialog-title">Best results in competition</h2>
      <button class="dialog-close" aria-label="Close" data-action="dialog#close">
        <span class="icon icon--xmark" aria-hidden="true"></span>
      </button>
    </div>

    <div class="dialog-body">
      
  <div data-controller="person-details-chart">
    <div data-person-details-chart-target="chart" style="height: 200px;"></div>
    <script type="application/json" data-person-details-chart-target="data">
      [["2022-11-15T07:18:24.800Z",279.3953425857219],["2022-11-15T10:22:58.000Z",298.2914696652047],["2022-11-17T08:02:38.600Z",286.4144882295811],["2022-11-18T07:16:01.800Z",290.3793949499085]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Suit</th>
        <th class="text-right">Result</th>
        <th class="text-right">Aufnahmdatum</th>
      </tr>
    </thead>
    <tbody>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Power tracking suit</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/93481">298</a>
          </td>
          <td class="text-right">15.11.2022</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Power tracking suit</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/93518">290</a>
          </td>
          <td class="text-right">18.11.2022</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Power tracking suit</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/93479">286</a>
          </td>
          <td class="text-right">17.11.2022</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Power tracking suit</span></td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/93482">279</a>
          </td>
          <td class="text-right">15.11.2022</td>
        </tr>
    </tbody>
  </table>

    </div>
  </dialog>
</div>

</template></turbo-stream>