{* DNS server actions page.

   Reuses the full web-server actions layout (status snapshot, services,
   users, packages, IPs, maintenance, log) — Hestia DNS-only nodes expose
   the same admin surface — but with the PHP tab hidden. DNS servers don't
   host customer PHP applications and must not allow PHP installation.

   Note: only Hestia-driver DNS servers actually render this page; PowerDNS
   has its own (driver-specific) shape and is routed elsewhere by the page
   controller if applicable. *}

{include file="$dir/templates/server_actions_web.tpl"}

<style>
    /* Native :has() — Chrome/Edge 105+, Safari 15.4+. */
    .nav-tabs li:has(> a[href="#puq-tab-php"]),
    #puq-tab-php { display: none !important; }
</style>

{literal}
<script>
(function(){
    $(function(){
        var $phpLink = $('.nav-tabs a[href="#puq-tab-php"]');
        $phpLink.closest('li').hide();
        $('#puq-tab-php').hide();
        if ($phpLink.parent('li').hasClass('active')) {
            $('a[href="#puq-tab-config"]').tab('show');
        }
    });
})();
</script>
{/literal}
