Revision 87013c2a
Von Sven Schöling vor mehr als 3 Jahren hinzugefügt
templates/mobile_webpages/file/list.html | ||
---|---|---|
12 | 12 |
<tr> |
13 | 13 |
[%- SET checkname = source.chk_action %] |
14 | 14 |
[%- IF edit_attachments %] |
15 |
<th>[% P.M.checkbox_tag(checkname _ '_checkall', label=source.chkall_title) %]
|
|
15 |
<th>[% P.M.checkbox_tag(checkname _ '_checkall', label=' ', checkall=checkname _ "[]") %]</th>
|
|
16 | 16 |
[%- END %] |
17 | 17 |
<th>[% LxERP.t8('Date') | html %]</th> |
18 | 18 |
<th>[% source.file_title | html %]</th> |
templates/mobile_webpages/file/upload_dialog.html | ||
---|---|---|
7 | 7 |
<form method="post" id="upload_form" enctype="multipart/form-data" action="controller.pl"> |
8 | 8 |
[% SET multiple = 'true' %] |
9 | 9 |
[% IF SELF.object_type == 'shop_image' %][% multiple = 'false' %][% END %] |
10 |
<div class="row"> |
|
11 | 10 |
<div class="file-field input-field col s12"> |
12 |
<div class="btn s3">
|
|
11 |
<div class="btn m3 s12">
|
|
13 | 12 |
<span>[% 'Filename' | $T8 %]</span> |
14 | 13 |
<input |
15 | 14 |
name="uploadfiles[]" type="file" [% IF multiple %]multiple[% END %] |
16 | 15 |
id="upload_files" size="45" accept="[% SELF.accept_types %]" capture="camera" |
17 | 16 |
onchange="kivi.File.allow_upload_submit();"> |
18 | 17 |
</div> |
19 |
<div class="file-path-wrapper s9">
|
|
18 |
<div class="file-path-wrapper m9 s12">
|
|
20 | 19 |
<input class="file-path validate" type="text"> |
21 | 20 |
</div> |
22 | 21 |
</div> |
23 | 22 |
|
24 |
<div class="s12"> |
|
23 |
<div class="m12 s12">
|
|
25 | 24 |
[% P.M.button_tag( |
26 | 25 |
P.escape_js_call("kivi.File.upload_selected_files", SELF.object_id, SELF.object_type, SELF.file_type, SELF.maxsize, SELF.is_global), |
27 | 26 |
LxERP.t8("Upload file"), |
... | ... | |
31 | 30 |
[% P.M.button_tag("kivi.File.reset_upload_form()", LxERP.t8('Reset'), flat=1) %] |
32 | 31 |
</div> |
33 | 32 |
|
34 |
</div> |
|
35 | 33 |
|
36 | 34 |
|
37 | 35 |
<hr> |
Auch abrufbar als: Unified diff
Mobile file: kleinere DOM fixes