init web ems all
This commit is contained in:
10
phpMyAdmin/templates/server/binlog/log_row.twig
Executable file
10
phpMyAdmin/templates/server/binlog/log_row.twig
Executable file
@@ -0,0 +1,10 @@
|
||||
<tr class="noclick">
|
||||
<td>{{ value['Log_name'] }}</td>
|
||||
<td class="right">{{ value['Pos'] }}</td>
|
||||
<td>{{ value['Event_type'] }}</td>
|
||||
<td class="right">{{ value['Server_id'] }}</td>
|
||||
<td class="right">
|
||||
{{- value['Orig_log_pos'] is defined ? value['Orig_log_pos'] : value['End_log_pos'] -}}
|
||||
</td>
|
||||
<td>{{ Util_formatSql(value['Info'], not dontlimitchars) }}</td>
|
||||
</tr>
|
||||
29
phpMyAdmin/templates/server/binlog/log_selector.twig
Executable file
29
phpMyAdmin/templates/server/binlog/log_selector.twig
Executable file
@@ -0,0 +1,29 @@
|
||||
<form action="server_binlog.php" method="post">
|
||||
{{ Url_getHiddenInputs(url_params) }}
|
||||
<fieldset>
|
||||
<legend>
|
||||
{% trans 'Select binary log to view' %}
|
||||
</legend>
|
||||
{% set full_size = 0 %}
|
||||
<select name="log">
|
||||
{% for each_log in binary_logs %}
|
||||
<option value="{{ each_log['Log_name'] }}"
|
||||
{{- each_log['Log_name'] == log ? ' selected="selected"' }}>
|
||||
{{ each_log['Log_name'] }}
|
||||
{% if each_log['File_size'] is defined %}
|
||||
({{ Util_formatByteDown(each_log['File_size'], 3, 2)|join(' ') }})
|
||||
{% set full_size = full_size + each_log['File_size'] %}
|
||||
{% endif %}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
{{ binary_logs|length }}
|
||||
{% trans 'Files' %},
|
||||
{% if full_size > 0 %}
|
||||
{{ Util_formatByteDown(full_size)|join(' ') }}
|
||||
{% endif %}
|
||||
</fieldset>
|
||||
<fieldset class="tblFooters">
|
||||
<input type="submit" value="{% trans 'Go' %}" />
|
||||
</fieldset>
|
||||
</form>
|
||||
Reference in New Issue
Block a user