<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">
      [["2017-08-05T06:20:39.200Z",1956.662351670985],["2017-08-05T07:41:31.600Z",1911.474537830196],["2017-08-05T09:33:17.400Z",1917.9404385282203],["2017-08-05T11:17:37.000Z",1962.1480212319473]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Suit</th>
          <th>Place</th>
        <th class="text-right">Result</th>
        <th class="text-right">Recorded at</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;Onesie</span></td>
            <td>Poncione</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/12241">1962</a>
          </td>
          <td class="text-right">05.08.2017</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Onesie</span></td>
            <td>Poncione</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/12238">1957</a>
          </td>
          <td class="text-right">05.08.2017</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Onesie</span></td>
            <td>Poncione</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/12240">1918</a>
          </td>
          <td class="text-right">05.08.2017</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Onesie</span></td>
            <td>Poncione</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/12239">1911</a>
          </td>
          <td class="text-right">05.08.2017</td>
        </tr>
    </tbody>
  </table>

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

</template></turbo-stream>