Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a7184bbe

Von Moritz Bunkus vor mehr als 7 Jahren hinzugefügt

  • ID a7184bbe78976d071b6818b81738d61adb3b9aca
  • Vorgänger c1122929
  • Nachfolger c25c69bc

Artikelsuche: Inputs gleich lang gemacht

Unterschiede anzeigen:

templates/webpages/ic/search.html
3 3
[%- USE LxERP %]
4 4
[%- USE L %]
5 5
[%- USE P %]
6
[% SET style="width: 250px" %]
6 7
<h1>[% title %]</h1>
7 8

  
8 9
 <form method="post" action="ic.pl">
......
45 46
      </tr>
46 47
      <tr>
47 48
       <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
48
       <td><input name="partnumber" size="20"></td>
49
       <td>[% L.input_tag("partnumber", "", style=style) %]</td>
49 50
       <th align="right" nowrap>[% 'EAN' | $T8 %]</th>
50
       <td><input name="ean" size="20"></td>
51
       <td>[% L.input_tag("ean", "", style=style) %]</td>
51 52
      </tr>
52 53
      <tr>
53 54
       <th align="right" nowrap>[% 'Part Classification' | $T8 %]:</th>
54
       <td>[% P.select_classification('classification_id') %]</td>
55
       <td>[% P.select_classification('classification_id', style=style) %]</td>
55 56
      </tr>
56 57
      <tr>
57 58
       <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
58
       <td colspan="3"><input name="description" size="40" class="initial_focus"></td>
59
       <td colspan="3">[% L.input_tag("description", "", style=style, class="initial_focus") %]</td>
59 60
      </tr>
60 61
      <tr>
61 62
       <th align="right" nowrap>[% 'Partsgroup' | $T8 %]</th>
62
       <td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, default=partsgroup, title_key="partsgroup", style="width: 250px") %]</td>
63
       <th align="right" nowrap>[% 'Serial Number' | $T8 %]</th> <td><input name="serialnumber" size="20"></td>
63
       <td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, default=partsgroup, title_key="partsgroup", style=style) %]</td>
64
       <th align="right" nowrap>[% 'Serial Number' | $T8 %]</th>
65
       <td>[% L.input_tag("serialnumber", "", style=style) %]</td>
64 66
      </tr>
65 67

  
66 68
      [%- UNLESS is_service %]
67 69
      <tr>
68
       <th align="right" nowrap>[% 'Make' | $T8 %]</th> <td><input name="make" size="20"></td>
69
       <th align="right" nowrap>[% 'Model' | $T8 %]</th> <td><input name="model" size="20"></td>
70
       <th align="right" nowrap>[% 'Make' | $T8 %]</th>
71
       <td>[% L.input_tag("make", "", style=style) %]</td>
72
       <th align="right" nowrap>[% 'Model' | $T8 %]</th>
73
       <td>[% L.input_tag("model", "", style=style) %]</td>
70 74
      </tr>
71 75
      [%- END %]
72 76

  
73 77
      <tr>
74 78
       <th align="right" nowrap>[% 'Drawing' | $T8 %]</th>
75
       <td><input name="drawing" size="20"></td>
79
       <td>[% L.input_tag("drawing", "", style=style) %]</td>
76 80
       <th align="right" nowrap>[% 'Microfiche' | $T8 %]</th>
77
       <td><input name="microfiche" size="20"></td>
81
       <td>[% L.input_tag("microfiche", "", style=style) %]</td>
78 82
      </tr>
79 83

  
80 84
      <tr>
81 85
       <th align="right" nowrap>[% 'Shop article' | $T8 %]</th>
82
       <td>[% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='---') %]</td>
86
       <td>[% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='---', style=style) %]</td>
83 87
      </tr>
84 88

  
85 89
      <tr>
86 90
       <th align="right">[% 'Insert Date' | $T8 %]</th>
87 91
       <td>
88
        [% 'From' | $T8 %][% L.date_tag('insertdatefrom') %]
89
        [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %]
92
        [% L.date_tag('insertdatefrom') %]
93
        [% 'Bis' | $T8 %]
94
        [% L.date_tag('insertdateto') %]
90 95
       </td>
91 96
      </tr>
92 97

  

Auch abrufbar als: Unified diff