From b5a5c7f6f27523a07b9ffcb33b0f6fb27e9daaef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 23 Apr 2021 17:07:03 +0200 Subject: [PATCH] Mobile file: kleinere DOM fixes --- templates/mobile_webpages/file/list.html | 2 +- templates/mobile_webpages/file/upload_dialog.html | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/templates/mobile_webpages/file/list.html b/templates/mobile_webpages/file/list.html index b6d1bcde2..30c493b7b 100644 --- a/templates/mobile_webpages/file/list.html +++ b/templates/mobile_webpages/file/list.html @@ -12,7 +12,7 @@ [%- SET checkname = source.chk_action %] [%- IF edit_attachments %] - [% P.M.checkbox_tag(checkname _ '_checkall', label=source.chkall_title) %] + [% P.M.checkbox_tag(checkname _ '_checkall', label=' ', checkall=checkname _ "[]") %] [%- END %] [% LxERP.t8('Date') | html %] [% source.file_title | html %] diff --git a/templates/mobile_webpages/file/upload_dialog.html b/templates/mobile_webpages/file/upload_dialog.html index 47f63cfe2..85df476cd 100644 --- a/templates/mobile_webpages/file/upload_dialog.html +++ b/templates/mobile_webpages/file/upload_dialog.html @@ -7,21 +7,20 @@
[% SET multiple = 'true' %] [% IF SELF.object_type == 'shop_image' %][% multiple = 'false' %][% END %] -
-
+
[% 'Filename' | $T8 %]
-
+
-
+
[% P.M.button_tag( P.escape_js_call("kivi.File.upload_selected_files", SELF.object_id, SELF.object_type, SELF.file_type, SELF.maxsize, SELF.is_global), LxERP.t8("Upload file"), @@ -31,7 +30,6 @@ [% P.M.button_tag("kivi.File.reset_upload_form()", LxERP.t8('Reset'), flat=1) %]
-

-- 2.20.1