mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
Improve virtual list responsiveness and quota tooltip (#1050)
This PR includes two small UI improvements: * Add horizontal scroll wrappers to virtual mailbox/alias lists so action buttons and table content do not overflow narrow desktop/tablet widths. * Add a domain quota tooltip showing assigned quota and real used quota, while preserving the existing visible assigned quota text and usage-based bar color. Tested locally with PHP lint for DomainHandler.php. thanks @trapoSAMA
This commit is contained in:
1 parent
74c50fb12b
commit
730ddcb909
6 files changed
+23
-3
No files matched your search
@@ -121,6 +121,7 @@ class DomainHandler extends PFAHandler
|
||||
# Domain quota
|
||||
'quota' => self::pacol($edit_dom_q,$edit_dom_q, 0, 'num', 'pAdminEdit_domain_quota' , 'pAdminEdit_domain_maxquota_text' , $domain_quota_default),
|
||||
'total_quota' => self::pacol(0, 0, 1, 'vnum', '' , '' , '', array(), 0, 0, "$query_used_domainquota AS total_quota" /*extrafrom*//* already in mailbox_count */),
|
||||
'total_quota_used' => self::pacol(0, 0, 1, 'vnum', '' , '' , '', array(), 0, 0, "$query_display_domainquota AS total_quota_used" /*extrafrom*//* already in mailbox_count */),
|
||||
'total_quot' => self::pacol(0, 0, $dom_q, 'quot', 'pAdminEdit_domain_quota' , '' , 0, array(), 0, 0, db_quota_text($query_used_domainquota, 'quota', 'total_quot')),
|
||||
'_total_quot_percent' => self::pacol(0, 0, $dom_q, 'vnum', '' , '' , 0, array(), 0, 0, db_quota_percent($query_display_domainquota, 'quota', '_total_quot_percent')),
|
||||
|
||||
|
||||
Reference in new issue
Block a user