Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 723e3155

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 723e315506945237aa616b1cac79b0943594608a
  • Vorgänger da7ea731
  • Nachfolger b568872b

Neues kivitendo Design Aenderungen in templates/webpages/price_rule/..

Unterschiede anzeigen:

templates/webpages/price_rule/form.html
1
[%- USE T8 %]
2
[%- USE L %][%- USE P %]
3
[%- USE HTML %][%- USE LxERP %]
1
[% USE T8 %]
2
[% USE L %]
3
[% USE P %]
4
[% USE HTML %]
5
[% USE LxERP %]
4 6

  
5 7
<h1>[% title %]</h1>
6 8

  
7
[%- INCLUDE 'common/flash.html' %]
8

  
9
 <form method="post" action="controller.pl" id="form">
10
  [% L.hidden_tag("price_rule.id",   SELF.price_rule.id) %]
11
  [% L.hidden_tag("price_rule.type", SELF.price_rule.type) %]
12

  
13
  <table>
14
   <tr>
15
    <th align="right">[% 'Name' | $T8 %]</th>
16
    <td>[% L.input_tag("price_rule.name", SELF.price_rule.name, size=60, class='initial_focus') %]</td>
17
   </tr>
18
   <tr>
19
    <th align="right">[% 'Priority' | $T8 %]</th>
20
    <td>[% L.select_tag('price_rule.priority', [ [3, LxERP.t8('Normal') ], [ 4, LxERP.t8('Override') ] ], default=SELF.price_rule.priority, style='width: 300px') %]</td>
21
   </tr>
22

  
23
   <tr>
24
    <th align="right">[% 'Valid' | $T8 %]</th>
25
    <td>[% L.select_tag('price_rule.obsolete', [ [ 0, LxERP.t8('Valid') ], [ 1 , LxERP.t8('Obsolete')]], default=SELF.price_rule.obsolete, title_key='description', style='width: 300px') %]</td>
26
   </tr>
27

  
28
   <tr>
29
   <tr>
9
[% INCLUDE 'common/flash.html' %]
10

  
11
<form method="post" action="controller.pl" id="form">
12
[% L.hidden_tag("price_rule.id",   SELF.price_rule.id) %]
13
[% L.hidden_tag("price_rule.type", SELF.price_rule.type) %]
14

  
15
<div class="wrapper">
16

  
17
<table class="tbl-horizontal">
18
  <tbody>
19
    <tr>
20
       <th>[% 'Name' | $T8 %]</th>
21
       <td>[% L.input_tag("price_rule.name", SELF.price_rule.name, class='initial_focus wi-wide') %]</td>
22
    </tr>
23
    <tr>
24
       <th>[% 'Priority' | $T8 %]</th>
25
       <td>[% L.select_tag('price_rule.priority', [ [3, LxERP.t8('Normal') ], [ 4, LxERP.t8('Override') ] ], default=SELF.price_rule.priority, class='wi-normal') %]</td>
26
    </tr>
27
    <tr>
28
      <th>[% 'Valid' | $T8 %]</th>
29
      <td>[% L.select_tag('price_rule.obsolete', [ [ 0, LxERP.t8('Valid') ], [ 1 , LxERP.t8('Obsolete')]], default=SELF.price_rule.obsolete, title_key='description', class='wi-normal') %]</td>
30
    </tr>
31
  </tbody>
32
</table>
33

  
34

  
35

  
36
<div id="price_rule_items">
37
  <table class="tbl-list" style="clear:left;">
38
    <caption>[% 'If all of the following match' | $T8 %]:</caption>
39
    <thead><tr>
40
      <th class="center">X</th>
41
      <th>Objekt</th>
42
      <th>Bedingung</th>
43
      <th>Wert</th>
44
    </tr></thead>
45
    <tbody>
46
      [% FOREACH item = SELF.price_rule.items %]
47
         [% PROCESS 'price_rule/item.html' item=item %]
48
      [% END %]
49
    </tbody>
50
    <tbody id="price_rule_new_items"></tbody>
51
    <tfoot id="price_rule_emtpy_item" class="blank">[% PROCESS 'price_rule/empty_item.html' %]</tfoot>
30 52
  </table>
53
</div>
31 54

  
32
<h3>[% 'If all of the following match' | $T8 %]:</h3>
33

  
34
<div id='price_rule_items' style='margin-left: 20px;'>
35
  [% FOREACH item = SELF.price_rule.items %]
36
     [% PROCESS 'price_rule/item.html' item=item %]
37
  [% END %]
38
  <div id='price_rule_new_items'></div>
39
  <div>[% PROCESS 'price_rule/empty_item.html' %]</div>
55
<div class="input-panel control-panel">
56
  <h3>[% 'Then' | $T8 %]…</h3>
57
  <p>[% 'Set (set to)' | $T8 %] [% L.select_tag('price_rule.price_type', SELF.all_price_types, default=SELF.price_rule.price_type) %] [% 'to (set to)' | $T8 %] [% L.input_tag('price_rule.price_or_discount_as_number', SELF.price_rule.price_or_discount_as_number) %] <a id="price_rule_price_type_help" class="interact cursor-help" title="[% 'Price type explanation' | $T8 %]">[?]</a></p>
40 58
</div>
41 59

  
42
<h3>[% 'Then' | $T8 %]:</h3>
43
<div>[% 'Set (set to)' | $T8 %] [% L.select_tag('price_rule.price_type', SELF.all_price_types, default=SELF.price_rule.price_type) %] [% 'to (set to)' | $T8 %] [% L.input_tag('price_rule.price_or_discount_as_number', SELF.price_rule.price_or_discount_as_number) %] <a id='price_rule_price_type_help' class='interact cursor-help' title='[% 'Price type explanation' | $T8 %]'>[?]</a>
44 60
</div>
45
 </form>
61

  
62
</form>

Auch abrufbar als: Unified diff