Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 95cc39d3

Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt

  • ID 95cc39d31152f8ae810182238bf759399c960cde
  • Vorgänger 44bd63cd
  • Nachfolger 8325902c

Mobile: unbenutzte Template-Datei image_upload/form.html entfernt

Unterschiede anzeigen:

templates/mobile_webpages/image_upload/form.html
1
[% USE HTML %]
2
[% USE T8 %]
3
[% USE P %]
4
[% USE LxERP %]
5

  
6
<h1>[% title | html %]</h1>
7

  
8
<form action="controller.pl">
9

  
10
[% IF !SELF.object.id %]
11

  
12
  <p>[% 'Input delivery order number (picker NYI)' | $T8 %]</p>
13

  
14
  [% P.M.input_tag("object_number", "", label=LxERP.t8("Number")) %]
15
  [% P.M.submit_tag("submit", LxERP.t8("Update")) %]
16
[% ELSE %]
17
  <h2>[% SELF.object.displayable_name | html %]</h2>
18

  
19
  [% P.hidden_tag("object_id", SELF.object.id) %]
20
[% END %]
21

  
22
[% P.hidden_tag("object_type", SELF.object_type) %]
23
[% P.hidden_tag("action", "ImageUpload/upload_image") %]
24
</form>
25

  
26
[%# IF SELF.object.id %]
27
  <div id="image_list_[% SELF.object_type | html %]"></div>
28
  <script>
29
    $(function() { $.get('controller.pl', { action: "File/list", "file_type": "image", "object_type": "[% SELF.object_type %]", "object_id": "[% SELF.object.id %]", "json": "1"}, kivi.eval_json_result) });
30
  </script>
31
[%# END %]

Auch abrufbar als: Unified diff