From 27c8a03c165e3875d839eaefe9fbe54334d96ab5 Mon Sep 17 00:00:00 2001 From: JabSysEmb Date: Sun, 14 May 2023 12:01:13 +0300 Subject: [PATCH 1/2] fix style issue for rtl languages --- src/main/resources/templates/convert/img-to-pdf.html | 9 +++++++++ .../resources/templates/other/change-metadata.html | 9 +++++++++ src/main/resources/templates/other/ocr-pdf.html | 10 +++++++++- .../resources/templates/security/add-password.html | 9 +++++++++ .../templates/security/change-permissions.html | 9 +++++++++ 5 files changed, 45 insertions(+), 1 deletion(-) diff --git a/src/main/resources/templates/convert/img-to-pdf.html b/src/main/resources/templates/convert/img-to-pdf.html index b64f43f1..6a441673 100644 --- a/src/main/resources/templates/convert/img-to-pdf.html +++ b/src/main/resources/templates/convert/img-to-pdf.html @@ -83,4 +83,13 @@
+ \ No newline at end of file diff --git a/src/main/resources/templates/other/change-metadata.html b/src/main/resources/templates/other/change-metadata.html index a1632b94..182e6696 100644 --- a/src/main/resources/templates/other/change-metadata.html +++ b/src/main/resources/templates/other/change-metadata.html @@ -260,4 +260,13 @@
+ diff --git a/src/main/resources/templates/other/ocr-pdf.html b/src/main/resources/templates/other/ocr-pdf.html index d9c400bb..af8234eb 100644 --- a/src/main/resources/templates/other/ocr-pdf.html +++ b/src/main/resources/templates/other/ocr-pdf.html @@ -80,5 +80,13 @@
- + \ No newline at end of file diff --git a/src/main/resources/templates/security/add-password.html b/src/main/resources/templates/security/add-password.html index 866b2903..7c9e3fea 100644 --- a/src/main/resources/templates/security/add-password.html +++ b/src/main/resources/templates/security/add-password.html @@ -77,4 +77,13 @@
+ diff --git a/src/main/resources/templates/security/change-permissions.html b/src/main/resources/templates/security/change-permissions.html index 329a1790..246b003b 100644 --- a/src/main/resources/templates/security/change-permissions.html +++ b/src/main/resources/templates/security/change-permissions.html @@ -68,4 +68,13 @@
+ From 54a5c621c4ecfccecf10ab32cc0c4661c46ec400 Mon Sep 17 00:00:00 2001 From: JabSysEmb Date: Sun, 14 May 2023 14:03:09 +0300 Subject: [PATCH 2/2] add style in common file general.css --- src/main/resources/static/css/general.css | 8 ++++++++ src/main/resources/templates/convert/img-to-pdf.html | 9 --------- src/main/resources/templates/other/change-metadata.html | 9 --------- src/main/resources/templates/other/ocr-pdf.html | 9 --------- src/main/resources/templates/security/add-password.html | 9 --------- .../resources/templates/security/change-permissions.html | 9 --------- 6 files changed, 8 insertions(+), 45 deletions(-) diff --git a/src/main/resources/static/css/general.css b/src/main/resources/static/css/general.css index 90d08d12..2d53c5cc 100644 --- a/src/main/resources/static/css/general.css +++ b/src/main/resources/static/css/general.css @@ -51,6 +51,14 @@ html[lang-direction=rtl] * { border-bottom-left-radius: 0.25rem !important; } +html[lang-direction="rtl"] input.form-check-input { + position: relative; + margin-left: 0px; +} +html[lang-direction="rtl"] label.form-check-label { + display: inline; +} + .margin-auto-parent { width: 100%; display: flex; diff --git a/src/main/resources/templates/convert/img-to-pdf.html b/src/main/resources/templates/convert/img-to-pdf.html index 6a441673..b64f43f1 100644 --- a/src/main/resources/templates/convert/img-to-pdf.html +++ b/src/main/resources/templates/convert/img-to-pdf.html @@ -83,13 +83,4 @@
- \ No newline at end of file diff --git a/src/main/resources/templates/other/change-metadata.html b/src/main/resources/templates/other/change-metadata.html index 182e6696..a1632b94 100644 --- a/src/main/resources/templates/other/change-metadata.html +++ b/src/main/resources/templates/other/change-metadata.html @@ -260,13 +260,4 @@
- diff --git a/src/main/resources/templates/other/ocr-pdf.html b/src/main/resources/templates/other/ocr-pdf.html index af8234eb..0dfca950 100644 --- a/src/main/resources/templates/other/ocr-pdf.html +++ b/src/main/resources/templates/other/ocr-pdf.html @@ -80,13 +80,4 @@
- \ No newline at end of file diff --git a/src/main/resources/templates/security/add-password.html b/src/main/resources/templates/security/add-password.html index 7c9e3fea..866b2903 100644 --- a/src/main/resources/templates/security/add-password.html +++ b/src/main/resources/templates/security/add-password.html @@ -77,13 +77,4 @@
- diff --git a/src/main/resources/templates/security/change-permissions.html b/src/main/resources/templates/security/change-permissions.html index 246b003b..329a1790 100644 --- a/src/main/resources/templates/security/change-permissions.html +++ b/src/main/resources/templates/security/change-permissions.html @@ -68,13 +68,4 @@
-