From 497f388dcd0e6c7c634a8e512be1d049fc59c164 Mon Sep 17 00:00:00 2001 From: Flat Date: Thu, 7 Jul 2016 18:31:10 +0900 Subject: [PATCH 1/2] Use `white-space: nowrap;` rather than replacing spaces with  s --- web/css/styles.min.css | 1 + web/templates/admin/list_backup.html | 2 +- web/templates/admin/list_backup_detail.html | 2 +- web/templates/admin/list_backup_exclusions.html | 2 +- web/templates/admin/list_cron.html | 2 +- web/templates/admin/list_db.html | 2 +- web/templates/admin/list_dns.html | 2 +- web/templates/admin/list_dns_rec.html | 2 +- web/templates/admin/list_firewall.html | 2 +- web/templates/admin/list_firewall_banlist.html | 2 +- web/templates/admin/list_ip.html | 2 +- web/templates/admin/list_mail.html | 2 +- web/templates/admin/list_mail_acc.html | 2 +- web/templates/admin/list_packages.html | 2 +- web/templates/admin/list_services.html | 2 +- web/templates/admin/list_user.html | 4 ++-- web/templates/admin/list_web.html | 2 +- web/templates/user/list_cron.html | 2 +- web/templates/user/list_db.html | 2 +- web/templates/user/list_dns.html | 4 ++-- web/templates/user/list_dns_rec.html | 2 +- web/templates/user/list_mail.html | 2 +- web/templates/user/list_mail_acc.html | 2 +- web/templates/user/list_user.html | 4 ++-- web/templates/user/list_web.html | 2 +- 25 files changed, 28 insertions(+), 27 deletions(-) diff --git a/web/css/styles.min.css b/web/css/styles.min.css index e0a3e1127..fa27dd582 100644 --- a/web/css/styles.min.css +++ b/web/css/styles.min.css @@ -2929,6 +2929,7 @@ form#vstobjects.suspended { padding: 3px 14px 3px 27px; position: absolute; text-transform: uppercase; + white-space: nowrap; word-break: keep-all; z-index: -1; } diff --git a/web/templates/admin/list_backup.html b/web/templates/admin/list_backup.html index 0dcac926d..043f14e76 100644 --- a/web/templates/admin/list_backup.html +++ b/web/templates/admin/list_backup.html @@ -1,6 +1,6 @@
- +
diff --git a/web/templates/admin/list_backup_detail.html b/web/templates/admin/list_backup_detail.html index abdb28d02..39790652e 100644 --- a/web/templates/admin/list_backup_detail.html +++ b/web/templates/admin/list_backup_detail.html @@ -1,6 +1,6 @@
- +
diff --git a/web/templates/admin/list_backup_exclusions.html b/web/templates/admin/list_backup_exclusions.html index 28d075746..8a00c9bab 100644 --- a/web/templates/admin/list_backup_exclusions.html +++ b/web/templates/admin/list_backup_exclusions.html @@ -1,6 +1,6 @@
- +
diff --git a/web/templates/admin/list_cron.html b/web/templates/admin/list_cron.html index 4ec2de21f..2a0d56b3f 100644 --- a/web/templates/admin/list_cron.html +++ b/web/templates/admin/list_cron.html @@ -1,6 +1,6 @@
- +
diff --git a/web/templates/admin/list_firewall.html b/web/templates/admin/list_firewall.html index 8f00ed112..defa4c8e5 100644 --- a/web/templates/admin/list_firewall.html +++ b/web/templates/admin/list_firewall.html @@ -1,6 +1,6 @@
- +
diff --git a/web/templates/admin/list_ip.html b/web/templates/admin/list_ip.html index 3d4c78fc6..ab4dfb3d1 100644 --- a/web/templates/admin/list_ip.html +++ b/web/templates/admin/list_ip.html @@ -1,6 +1,6 @@
- +
diff --git a/web/templates/admin/list_user.html b/web/templates/admin/list_user.html index d52d80986..6f081c242 100644 --- a/web/templates/admin/list_user.html +++ b/web/templates/admin/list_user.html @@ -2,9 +2,9 @@
'; + echo ''; } else { - echo ''; + echo ''; } ?>
diff --git a/web/templates/user/list_mail.html b/web/templates/user/list_mail.html index 2d3dd836e..5ce0d17e7 100644 --- a/web/templates/user/list_mail.html +++ b/web/templates/user/list_mail.html @@ -1,6 +1,6 @@
- +