<div id="tableslistcontainer">
    {{ Util_getListNavigator(
        database_count,
        pos,
        url_params,
        'server_databases.php',
        'frame_content',
        max_db_list
    ) }}
    <form class="ajax" action="server_databases.php" method="post" name="dbStatsForm" id="dbStatsForm">
        {{ Url_getHiddenInputs(url_params) }}
        {% set url_params = url_params|merge({
            'sort_by': 'SCHEMA_NAME',
            'sort_order': sort_by == 'SCHEMA_NAME' and sort_order == 'asc' ? 'desc' : 'asc'
        }) %}
        <div class="responsivetable">
            <table id="tabledatabases" class="data">
                {% include 'server/databases/table_header.twig' with {
                    'url_params': url_params,
                    'sort_by': sort_by,
                    'sort_order': sort_order,
                    'sort_order_text': sort_order == 'asc' ? 'Ascending'|trans : 'Descending'|trans,
                    'column_order': column_order,
                    'first_database': first_database,
                    'master_replication': master_replication,
                    'slave_replication': slave_replication,
                    'is_superuser': is_superuser,
                    'allow_user_drop_database': allow_user_drop_database
                } only %}
