Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8cfe6c22

Von Sven Schöling vor mehr als 3 Jahren hinzugefügt

  • ID 8cfe6c223e05a4b095c3a6157f895042480dc19f
  • Vorgänger d3412c6d
  • Nachfolger 714f86ed

ImageUpload: template update

Unterschiede anzeigen:

templates/mobile_webpages/image_upload/local_list.html
7 7

  
8 8
  <div id="updoad_result"></div>
9 9

  
10
  <p>Schritt 1: Bilder machen</p>
11

  
10 12
  <div id="stored-images" class="container">
11 13
  </div>
12 14

  
......
14 16
  <div class="container">
15 17
    <div class="row">
16 18

  
17
      <div class="file-field input-field col">
18
        <div class="btn m3 s12">
19
          <span>[% 'Upload Image' | $T8 %]</span>
19
      <div class="file-field input-field col s12">
20
        <div class="btn m3 s12 col">
21
          <span><i class='material-icons col s12 center'>add_a_photo</i></span>
20 22
          <input
21 23
            name="uploadfiles[]" type="file" [% IF multiple %]multiple[% END %]
22 24
            id="upload_files" accept="[% SELF.accept_types %]" capture="camera"
......
28 30
      </div>
29 31

  
30 32
    </div>
33
  </div>
31 34

  
35
    <hr>
36

  
37
    <p>Schritt 2: Dateien hochladen</p>
38
  <div class="container">
32 39
    <div class="row">
33
      [% P.M.input_tag("object_number", "", label=LxERP.t8("Number")) %]
34
      [% P.M.button_tag("submit", LxERP.t8("Upload")) %]
40
      [% P.M.input_tag("object_number", "", label=LxERP.t8("Number"), class="col s4", onchange="kivi.ImageUpload.resolve_object(event)") %]
41
      <div id="object_description" class="col s8">-</div>
42
      [% P.M.button_tag("submit", LxERP.t8("Upload Images"), class="col s12") %]
35 43
    </div>
36 44

  
37 45

  
38
    </div>
39 46
  </div>
47
</div>
48

  
49
<div id="warn_modal" class="modal">
50
  <div class="modal-content">
51
    <h4>Warning</h4>
52

  
53
    <p></p>
54
  </div>
55
</div>
40 56

  
41 57
<div id="upload_modal" class="modal">
42 58
  <div class="modal-content">
43 59
    <h4>Uploading</h4>
44 60

  
45
    <p>A bunch of text</p>
61
    <div class="progress">
62
      <div class="indeterminate"></div>
63
    </div>
46 64
  </div>
47 65
</div>
66

  
67

  
68
[% L.hidden_tag("object_type", FORM.object_type) %]
69
[% L.hidden_tag("object_id") %]

Auch abrufbar als: Unified diff