{{define "admin/check_log_tables.html"}} {{template "admin/layout_head" .}}
{{template "admin_pagehead" (dict "Icon" "bx-data" "Title" (T "admin.log_tables.title") "Desc" (T "admin.log_tables.desc"))}}
{{T "admin.log_tables.link_logs"}} {{T "admin.log_tables.summary_prefix"}} {{len (index .Data "Tables")}} {{T "admin.log_tables.summary_mid"}} {{index .Data "TotalRows"}} {{T "admin.log_tables.summary_suffix"}}
{{with index .Data "Ok"}}
{{T "admin.log_tables.dropped_prefix"}} {{.}} {{T "admin.log_tables.dropped_suffix"}}
{{end}} {{with index .Data "Err"}} {{if eq . "empty"}}
{{T "admin.log_tables.err_empty"}}
{{else}}
{{.}}
{{end}} {{end}}

{{T "admin.log_tables.list_title"}}

{{T "admin.log_tables.list_sub"}}

{{range index .Data "Tables"}} {{else}} {{end}}
{{T "admin.log_tables.col_name"}} {{T "admin.log_tables.col_month"}} {{T "admin.log_tables.col_rows"}} {{T "admin.log_tables.col_size"}} {{T "admin.log_tables.col_range"}} {{T "admin.log_tables.col_status"}}
{{if .CanDrop}} {{else}}—{{end}} {{.TableName}} {{.MonthLabel}} {{.RowCount}} {{.DataSizeLabel}} {{if gt .MinCheckedAt 0}}{{.MinCheckedAt | unixTime}}{{else}}—{{end}} {{if gt .MaxCheckedAt 0}} ~ {{.MaxCheckedAt | unixTime}}{{end}} {{if .IsCurrentMonth}}{{T "admin.log_tables.badge_current"}}{{end}} {{if .IsLegacy}}{{T "admin.log_tables.badge_legacy"}}{{end}} {{if .CanDrop}}{{T "admin.log_tables.badge_droppable"}}{{end}}
{{T "admin.log_tables.empty"}}

{{T "admin.log_tables.save_hint"}}

{{template "admin/layout_foot" .}} {{end}}