HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pma.bikenow.co/templates/server/replication/master_replication.twig
{% if not clear_screen %}
  <div class="card mb-2">
    <div class="card-header">{% trans 'Master replication' %}</div>
    <div class="card-body">
    {% trans 'This server is configured as master in a replication process.' %}
    <ul>
      <li>
        <a href="#master_status_href" id="master_status_href">
          {% trans 'Show master status' %}
        </a>
        {{ master_status_table|raw }}
      </li>
      <li>
        <p>
          <a href="#master_slaves_href" id="master_slaves_href">
            {% trans 'Show connected slaves' %}
          </a>
        </p>

        <div id="replication_slaves_section" style="display: none;">
          <table class="pma-table data">
            <thead>
              <tr>
                <th>{% trans 'Server ID' %}</th>
                <th>{% trans 'Host' %}</th>
              </tr>
            </thead>
            <tbody>
              {% for slave in slaves %}
                <tr>
                  <td class="value">{{ slave['Server_id'] }}</td>
                  <td class="value">{{ slave['Host'] }}</td>
                </tr>
              {% endfor %}
            </tbody>
          </table>
          <br>
          {{ 'Only slaves started with the --report-host=host_name option are visible in this list.'|trans|notice }}
          <br>
        </div>
      </li>
      <li>
        <a href="{{ url('/server/replication') }}" data-post="{{ get_common(url_params, '') }}" id="master_addslaveuser_href">
          {% trans 'Add slave replication user' %}
        </a>
      </li>
{% endif %}
{% if master_add_user %}
    {{ master_add_slave_user|raw }}
{% elseif not clear_screen %}
    </ul>
    </div>
  </div>
{% endif %}