{%- import "icons.html" as icons -%}
{%- let base_path = askama::get_value::<crate::config::uri_path::UriPath>("HTTP_SERVER__BASE_PATH")? -%}
{%- let poll_freq = askama::get_value::<u64>("UPSD__POLL_FREQ")? -%}

<div class="content-card flex flex-col gap-4"
  hx-ext="morph"
  hx-get="{{base_path}}/ups/{{device.name}}/?tab=clients&section=tab_content"
  hx-trigger="every {{poll_freq}}s"
  hx-swap="morph:innerHTML"
  hx-indicator="#indicator"
  hx-target="#tab-content"
>
  <h2 class="opacity-60 text-lg tracki