Buchen und Verändern für gl sperren, falls kreditorische Folgebuchung
[kivitendo-erp.git] / templates / mobile_webpages / file / upload_dialog.html
1 [%- USE L -%]
2 [%- USE P -%]
3 [%- USE T8 -%]
4 [%- USE LxERP -%]
5 [%- USE JavaScript -%]
6
7 <form method="post" id="upload_form" enctype="multipart/form-data" action="controller.pl">
8   [% SET multiple = 'true' %]
9   [% IF SELF.object_type == 'shop_image' %][% multiple = 'false' %][% END %]
10     <div class="file-field input-field col s12">
11       <div class="btn m3 s12">
12         <span>[% 'Filename' | $T8 %]</span>
13         <input
14           name="uploadfiles[]" type="file" [% IF multiple %]multiple[% END %]
15           id="upload_files" size="45" accept="[% SELF.accept_types %]" capture="camera"
16           onchange="kivi.File.allow_upload_submit();">
17       </div>
18       <div class="file-path-wrapper m9 s12">
19         <input class="file-path validate" type="text">
20       </div>
21     </div>
22
23     <div class="m12 s12">
24      [% P.M.button_tag(
25        P.escape_js_call("kivi.File.upload_selected_files", SELF.object_id, SELF.object_type, SELF.file_type, SELF.maxsize, SELF.is_global),
26        LxERP.t8("Upload file"),
27        id="upload_selected_button",
28        disabled=1)
29      %]
30      [% P.M.button_tag("kivi.File.reset_upload_form()", LxERP.t8('Reset'), flat=1) %]
31     </div>
32
33
34
35  <hr>
36
37  <div id="upload_result"></div>
38 </form>