{% extends "base.html" %}

{% from macros import embed %}

{% block head %}
<script>const portMapTCP = {{port_map_tcp}}; const portMapUDP = {{port_map_udp}};</script>
{% endblock %}

{% block content %}

<div id="bokeh-div">
  {%      for doc in docs %}
  {{        embed(doc) if doc.elementid }}
  {%-       for root in doc.roots %}
  {{            embed(root) }}
  {%        endfor %}
  {%      endfor %}
  {{ plot_script }}
</div>
<div id="hosts-details">
</div>

{% include "html-templates.html" %}

<script>initDb();</script>

{% endblock %}
