Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7502b084

Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt

  • ID 7502b084c59fd904c28f799e5ef6039a4ccea399
  • Vorgänger 2e8dd1d8
  • Nachfolger c21cba95

Pflichtenheftitems: Tabreihenfolge gefixt

Unterschiede anzeigen:

templates/webpages/requirement_spec_item/_function_block_form.html
19 19
 [% END %]
20 20

  
21 21
 <div>
22
  <div style="width: 19%; float: right;">
23
   [%- LxERP.t8("Dependencies") %]:<br>
24
   [%- L.select_tag(id_base _ '.dependencies[]', DEPENDENCIES, default=SELECTED_DEPENDENCIES, with_optgroups=1, multiple=1, size=8, style="width: 100%") %]
22
  <div style="width: 58%; float: left">
23
   <div>
24
[%- IF SELF.item.id -%]
25
    [% LxERP.t8("Description of #1", SELF.item.fb_number) %]
26
[%- ELSIF SELF.item.item_type == 'function-block' -%]
27
    [%- LxERP.t8("Add function block") %]
28
[%- ELSE -%]
29
    [%- LxERP.t8("Add sub function block") %]
30
[%- END -%]:<br>
31
    [% L.textarea_tag(id_base _ '.description', SELF.item.description, rows=8, style="width: 100%") %]
32
   </div>
33

  
34
   <div style="margin-top: 10px">
35
    [% L.ajax_submit_tag('controller.pl?action=RequirementSpecItem/ajax_' _ (SELF.item.id ? 'update' : 'create'), '#' _ id_base _ '_form', LxERP.t8('Save'), id=id_base _ '_submit') %]
36
    <a href="#" onclick="kivi.requirement_spec.cancel_edit_item_form('[% id_base %]', { [% a_options %] })">[%- LxERP.t8("Cancel") %]</a>
37
   </div>
25 38
  </div>
26 39

  
27
  <div style="width: 19%; float: right; margin-right: 5px">
40
  <div style="width: 19%; float: left; margin-left: 20px">
28 41
   [%- LxERP.t8("Complexity") %]:<br>
29 42
   [%- L.select_tag(id_base _ '.complexity_id', SELF.complexities, title_key='description', default=SELF.item.complexity_id, style="width: 100%") %]<br>
30 43

  
......
37 50
[%- END %]
38 51
  </div>
39 52

  
40
  <div style="width: 59%">
41
[%- IF SELF.item.id -%]
42
   [% LxERP.t8("Description of #1", SELF.item.fb_number) %]
43
[%- ELSIF SELF.item.item_type == 'function-block' -%]
44
   [%- LxERP.t8("Add function block") %]
45
[%- ELSE -%]
46
   [%- LxERP.t8("Add sub function block") %]
47
[%- END -%]:<br>
48
   [% L.textarea_tag(id_base _ '.description', SELF.item.description, rows=8, style="width: 100%") %]
53
  <div style="width: 19%; float: left; margin-left: 10px">
54
   [%- LxERP.t8("Dependencies") %]:<br>
55
   [%- L.select_tag(id_base _ '.dependencies[]', DEPENDENCIES, default=SELECTED_DEPENDENCIES, with_optgroups=1, multiple=1, size=8, style="width: 100%") %]
49 56
  </div>
57

  
58
  <div style="clear: both"></div>
50 59
 </div>
51 60

  
52 61
 <p>
53
  [% L.ajax_submit_tag('controller.pl?action=RequirementSpecItem/ajax_' _ (SELF.item.id ? 'update' : 'create'), '#' _ id_base _ '_form', LxERP.t8('Save'), id=id_base _ '_submit') %]
54
  <a href="#" onclick="kivi.requirement_spec.cancel_edit_item_form('[% id_base %]', { [% a_options %] })">[%- LxERP.t8("Cancel") %]</a>
55 62
 </p>
56 63
</form>

Auch abrufbar als: Unified diff