1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-04 10:24:42 +02:00

[BS5] fix card header btns

This commit is contained in:
FreddleSpl0it 2022-04-13 21:45:00 +02:00
parent 7075b9f0c0
commit 88bd7bff1e
No known key found for this signature in database
GPG Key ID: 6315227FF33D2425
12 changed files with 25 additions and 25 deletions

View File

@ -1,6 +1,6 @@
<div role="tabpanel" class="tab-pane fade" id="tab-mailq" role="tabpanel" aria-labelledby="tab-mailq">
<div class="card">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.admin.queue_manager }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-secondary refresh_table" data-draw="draw_queue" data-table="queuetable">{{ lang.admin.refresh }}</button>

View File

@ -108,7 +108,7 @@
<div role="tabpanel" class="tab-pane" id="tab-postfix-logs">
<div class="card panel-xs-lg">
<div class="card-header">Postfix <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">Postfix <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="general_syslog" data-table="postfix_log" data-log-url="postfix" data-nrows="100">+ 100</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="general_syslog" data-table="postfix_log" data-log-url="postfix" data-nrows="1000">+ 1000</button>
@ -125,7 +125,7 @@
<div role="tabpanel" class="tab-pane" id="tab-ui">
<div class="card panel-xs-lg">
<div class="card-header"> Mailcow UI <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex"> Mailcow UI <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="mailcow_ui" data-table="ui_logs" data-log-url="ui" data-nrows="1000">+ 1000</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="mailcow_ui" data-table="ui_logs" data-log-url="ui" data-nrows="10000">+ 10000</button>
@ -142,7 +142,7 @@
<div role="tabpanel" class="tab-pane" id="tab-sasl">
<div class="card panel-xs-lg">
<div class="card-header">SASL <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">SASL <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="sasl_log_table" data-table="sasl_logs" data-log-url="ui" data-nrows="1000">+ 1000</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="sasl_log_table" data-table="sasl_logs" data-log-url="ui" data-nrows="10000">+ 10000</button>
@ -159,7 +159,7 @@
<div role="tabpanel" class="tab-pane" id="tab-dovecot-logs">
<div class="card panel-xs-lg">
<div class="card-header">Dovecot <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">Dovecot <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="general_syslog" data-table="dovecot_log" data-log-url="dovecot" data-nrows="100">+ 100</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="general_syslog" data-table="dovecot_log" data-log-url="dovecot" data-nrows="1000">+ 1000</button>
@ -176,7 +176,7 @@
<div role="tabpanel" class="tab-pane" id="tab-sogo-logs">
<div class="card panel-xs-lg">
<div class="card-header">SOGo <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">SOGo <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="general_syslog" data-table="sogo_log" data-log-url="sogo" data-nrows="100">+ 100</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="general_syslog" data-table="sogo_log" data-log-url="sogo" data-nrows="1000">+ 1000</button>
@ -193,7 +193,7 @@
<div role="tabpanel" class="tab-pane" id="tab-netfilter-logs">
<div class="card panel-xs-lg">
<div class="card-header">Netfilter <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">Netfilter <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="general_syslog" data-table="netfilter_log" data-log-url="netfilter" data-nrows="100">+ 100</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="general_syslog" data-table="netfilter_log" data-log-url="netfilter" data-nrows="1000">+ 1000</button>
@ -210,7 +210,7 @@
<div role="tabpanel" class="tab-pane" id="tab-rspamd-history">
<div class="card panel-xs-lg">
<div class="card-header">Rspamd history <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">Rspamd history <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="rspamd_history" data-table="rspamd_history" data-log-url="rspamd-history" data-nrows="100">+ 100</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="rspamd_history" data-table="rspamd_history" data-log-url="rspamd-history" data-nrows="1000">+ 1000</button>
@ -232,7 +232,7 @@
<div role="tabpanel" class="tab-pane" id="tab-autodiscover-logs">
<div class="card panel-xs-lg">
<div class="card-header">Autodiscover <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">Autodiscover <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="autodiscover_log" data-table="autodiscover_log" data-log-url="autodiscover" data-nrows="100">+ 100</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="autodiscover_log" data-table="autodiscover_log" data-log-url="autodiscover" data-nrows="1000">+ 1000</button>
@ -249,7 +249,7 @@
<div role="tabpanel" class="tab-pane" id="tab-watchdog-logs">
<div class="card panel-xs-lg">
<div class="card-header">Watchdog <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">Watchdog <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="watchdog" data-table="watchdog_log" data-log-url="watchdog" data-nrows="100">+ 100</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="watchdog" data-table="watchdog_log" data-log-url="watchdog" data-nrows="1000">+ 1000</button>
@ -266,7 +266,7 @@
<div role="tabpanel" class="tab-pane" id="tab-acme-logs">
<div class="card panel-xs-lg">
<div class="card-header">ACME <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">ACME <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="general_syslog" data-table="acme_log" data-log-url="acme" data-nrows="100">+ 100</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="general_syslog" data-table="acme_log" data-log-url="acme" data-nrows="1000">+ 1000</button>
@ -283,7 +283,7 @@
<div role="tabpanel" class="tab-pane" id="tab-api-logs">
<div class="card panel-xs-lg">
<div class="card-header">API <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">API <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="apilog" data-table="api_log" data-log-url="api" data-nrows="100">+ 100</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="apilog" data-table="api_log" data-log-url="api" data-nrows="1000">+ 1000</button>
@ -300,7 +300,7 @@
<div role="tabpanel" class="tab-pane" id="tab-api-rl">
<div class="card panel-xs-lg">
<div class="card-header">Ratelimits <span class="badge bg-info table-lines"></span>
<div class="card-header d-flex">Ratelimits <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="rllog" data-table="rl_log" data-log-url="ratelimited" data-nrows="100">+ 100</button>
<button class="btn btn-xs btn-xs-lg btn-secondary add_log_lines" data-post-process="rllog" data-table="rl_log" data-log-url="ratelimited" data-nrows="1000">+ 1000</button>

View File

@ -1,6 +1,6 @@
<div role="tabpanel" class="tab-pane fade" id="tab-bcc" role="tabpanel" aria-labelledby="tab-bcc">
<div class="card">
<div class="card-header">
<div class="card mb-4">
<div class="card-header d-flex">
{{ lang.mailbox.bcc_maps }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto d-none d-sm-flex">
<button class="btn btn-xs btn-success" href="#" data-acl="{{ acl.bcc_maps }}" data-bs-toggle="modal" data-bs-target="#addBCCModalAdmin"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_bcc_entry }}</button>
@ -36,7 +36,7 @@
</div>
</div>
<div class="card{% if mailcow_cc_role != 'admin' %} hidden{% endif %}">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.mailbox.recipient_maps }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto d-none d-sm-flex">
<button class="btn btn-xs btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addRecipientMapModalAdmin"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_recipient_map_entry }}</button>

View File

@ -1,6 +1,6 @@
<div role="tabpanel" class="tab-pane fade" id="tab-domain-aliases" role="tabpanel" aria-labelledby="tab-domain-aliases">
<div class="card">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.mailbox.domain_aliases }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto d-none d-sm-flex">
<button class="btn btn-xs btn-success" href="#" data-acl="{{ acl.alias_domains }}" data-bs-toggle="modal" data-bs-target="#addAliasDomainModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_domain_alias }}</button>

View File

@ -1,6 +1,6 @@
<div role="tabpanel" class="tab-pane fade show active" id="tab-domains" role="tabpanel" aria-labelledby="tab-domains">
<div class="card">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.mailbox.domains }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto d-none d-sm-flex">
{% if mailcow_cc_role == 'admin' %}

View File

@ -1,6 +1,6 @@
<div role="tabpanel" class="tab-pane fade" id="tab-filters" role="tabpanel" aria-labelledby="tab-filters">
<div class="card">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.mailbox.filters }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto d-none d-sm-flex">
<button class="btn btn-xs btn-success" href="#" data-acl="{{ acl.filters }}" data-bs-toggle="modal" data-bs-target="#addFilterModalAdmin"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_filter }}</button>

View File

@ -1,6 +1,6 @@
<div role="tabpanel" class="tab-pane fade" id="tab-mailboxes" role="tabpanel" aria-labelledby="tab-mailboxes">
<div class="card">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.mailbox.mailboxes }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto d-none d-sm-flex">
<button class="btn btn-xs btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addMailboxModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_mailbox }}</button>

View File

@ -1,6 +1,6 @@
<div role="tabpanel" class="tab-pane fade" id="tab-mbox-aliases" role="tabpanel" aria-labelledby="tab-mbox-aliases">
<div class="card">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.mailbox.aliases }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto d-none d-sm-flex">
<button class="btn btn-xs btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addAliasModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_alias }}</button>

View File

@ -1,6 +1,6 @@
<div role="tabpanel" class="tab-pane fade" id="tab-resources" role="tabpanel" aria-labelledby="tab-resources">
<div class="card">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.mailbox.resources }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto d-none d-sm-flex">
<button class="btn btn-xs btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addResourceModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_resource }}</button>

View File

@ -1,6 +1,6 @@
<div role="tabpanel" class="tab-pane fade" id="tab-syncjobs" role="tabpanel" aria-labelledby="tab-syncjobs">
<div class="card">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.mailbox.sync_jobs }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto d-none d-sm-flex">
<button data-acl="{{ acl.syncjobs }}" class="btn btn-xs btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addSyncJobModalAdmin"><i class="bi bi-plus-lg"></i> {{ lang.user.create_syncjob }}</button>

View File

@ -1,6 +1,6 @@
<div role="tabpanel" class="tab-pane fade{% if mailcow_cc_role != 'admin' %} d-none{% endif %}" id="tab-tls-policy" role="tabpanel" aria-labelledby="tab-tls-policy">
<div class="card">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.mailbox.tls_policy_maps_long }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto d-none d-sm-flex">
<button class="btn btn-xs btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addTLSPolicyMapAdmin"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_tls_policy_map }}</button>

View File

@ -4,7 +4,7 @@
<div class="row">
<div class="col-md-12">
<div class="card card-xs-lg">
<div class="card-header">
<div class="card-header d-flex">
{{ lang.quarantine.quarantine }} <span class="badge bg-info table-lines"></span>
<div class="btn-group ms-auto">
<button class="btn btn-xs btn-xs-lg btn-secondary refresh_table" data-draw="draw_quarantine_table" data-table="quarantinetable">{{ lang.quarantine.refresh }}</button>