<div id="buttons" class="btn-group" role="group">
    <a
        role="button"
        class="btn {{ 'btn-primary' if packet_event == 'packet' else 'btn-secondary'}}"
        href="/packet_list/{{node_id}}?{{query_string}}"
    >
        TX/RX
    </a>
    <a
        role="button"
        class="btn {{ 'btn-primary' if packet_event == 'uplinked' else 'btn-secondary'}}"
        href="/uplinked_list/{{node_id}}?{{query_string}}"
    >
        Uplinked
    </a>
</div>
