Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d4239609

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID d42396099d13d99ba32435267e82dddea4c1aae4
  • Vorgänger 988d8487
  • Nachfolger 96f21f5c

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

Unterschiede anzeigen:

templates/webpages/simple_system_setting/_bank_account_form.html
1
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%]
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE L %]
4
[% USE P %]
2 5

  
3
[% SET style="width: 400px" %]
6
<div class="wrapper">
4 7

  
5
<table>
6
 <tr>
7
  <th align="right">[% LxERP.t8('Description') %]</th>
8
  <td>[%- L.input_tag("object.name", SELF.object.name, style=style, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
9
 </tr>
10
 <tr>
11
  <th align="right">[% LxERP.t8('IBAN') %]</th>
12
  <td>[%- L.input_tag("object.iban", SELF.object.iban, style=style, "data-validate"="required", "data-title"=LxERP.t8("IBAN")) %]</td>
13
 </tr>
14
 <tr>
15
  <th align="right">[% LxERP.t8('Bank') %]</th>
16
  <td>[%- L.input_tag("object.bank", SELF.object.bank, style=style) %]</td>
17
 </tr>
18
 <tr>
19
  <th align="right">[% LxERP.t8('Account number') %]</th>
20
  <td>[%- L.input_tag("object.account_number", SELF.object.account_number, style=style) %]</td>
21
 </tr>
22
 <tr>
23
  <th align="right">[% LxERP.t8('BIC') %]</th>
24
  <td>[%- L.input_tag("object.bic", SELF.object.bic, style=style) %]</td>
25
 </tr>
26
 <tr>
27
  <th align="right">[% LxERP.t8('Bank code') %]</th>
28
  <td>[%- L.input_tag("object.bank_code", SELF.object.bank_code, style=style) %]</td>
29
 </tr>
30
 <tr>
31
  <th align="right">[% LxERP.t8('Chart') %]</th>
32
  <td>[% P.chart.picker('object.chart_id', SELF.object.chart_id, type='AR_paid,AP_paid', category='A,L,Q', choose=1, style=style, "data-validate"="required", "data-title"=LxERP.t8("Chart")) %]</td>
33
 </tr>
34
 <tr>
35
  <th align="right">[% LxERP.t8('Obsolete') %]</th>
36
  <td>[% L.checkbox_tag('object.obsolete', checked = SELF.object.obsolete, for_submit=1) %]</td>
37
 </tr>
38
 <tr>
39
  <td align="left">[% LxERP.t8('Reconciliation') %]:</td>
40
  <td></td>
41
 </tr>
42
 <tr>
43
  <th align="right">[% LxERP.t8('Starting date') %]</th>
44
  <td>[% L.date_tag('object.reconciliation_starting_date', SELF.object.reconciliation_starting_date) %]</td>
45
 </tr>
46
 <tr>
47
  <th align="right">[% LxERP.t8('Starting balance') %]</th>
48
  <td>[%- L.input_tag('object.reconciliation_starting_balance_as_number', SELF.object.reconciliation_starting_balance_as_number) %]</td>
49
 </tr>
8
<table class="tbl-horizontal">
9
  <caption>[% 'Bank account' | $T8 %]</caption>
10
  <tbody>
11
    <tr>
12
      <th>[% LxERP.t8('Description') %]</th>
13
      <td>[% L.input_tag("object.name", SELF.object.name, class='wi-wider', "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
14
    </tr>
15
    <tr>
16
      <th>[% LxERP.t8('IBAN') %]</th>
17
      <td>[% L.input_tag("object.iban", SELF.object.iban, class='wi-wider', "data-validate"="required", "data-title"=LxERP.t8("IBAN")) %]</td>
18
    </tr>
19
    <tr>
20
      <th>[% LxERP.t8('Bank') %]</th>
21
      <td>[% L.input_tag("object.bank", SELF.object.bank, class='wi-wider') %]</td>
22
    </tr>
23
    <tr>
24
      <th>[% LxERP.t8('Account number') %]</th>
25
      <td>[% L.input_tag("object.account_number", SELF.object.account_number, class='wi-wider') %]</td>
26
    </tr>
27
    <tr>
28
      <th>[% LxERP.t8('BIC') %]</th>
29
      <td>[% L.input_tag("object.bic", SELF.object.bic, class='wi-wider') %]</td>
30
    </tr>
31
    <tr>
32
      <th>[% LxERP.t8('Bank code') %]</th>
33
      <td>[% L.input_tag("object.bank_code", SELF.object.bank_code, class='wi-wider') %]</td>
34
    </tr>
35
    <tr>
36
      <th>[% LxERP.t8('Chart') %]</th>
37
      <td>[% P.chart.picker("object.chart_id", SELF.object.chart_id, type='AR_paid,AP_paid', category='A,L,Q', choose=1, class='wi-wider', "data-validate"="required", "data-title"=LxERP.t8("Chart")) %]</td>
38
    </tr>
39
    <tr>
40
      <th>[% LxERP.t8('Obsolete') %]</th>
41
      <td>[% L.checkbox_tag('object.obsolete', checked = SELF.object.obsolete, for_submit=1) %]</td>
42
    </tr>
43
    <tr>
44
      <th class="caption" colspan="2">[% LxERP.t8('Reconciliation') %]: </th>
45
    </tr>
46
    <tr>
47
      <th>[% LxERP.t8('Starting date') %]</th>
48
      <td>[% L.date_tag('object.reconciliation_starting_date', SELF.object.reconciliation_starting_date, class="wi-small date") %]</td>
49
    </tr>
50
    <tr>
51
      <th>[% LxERP.t8('Starting balance') %]</th>
52
      <td>[% L.input_tag('object.reconciliation_starting_balance_as_number', SELF.object.reconciliation_starting_balance_as_number, class="wi-small numeric") %]</td>
53
    </tr>
54
  </tbody>
50 55
</table>
56

  
57
</div><!-- /.wrapper -->
templates/webpages/simple_system_setting/_business_form.html
1 1
[%- USE LxERP -%][%- USE L -%]
2 2
[% SET style="width: 200px" %]
3
<table>
4
 <tr>
5
  <td>[%- LxERP.t8("Description") %]</td>
6
  <td>[% L.input_tag("object.description", SELF.object.description, style=style, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
7
 </tr>
8

  
9
 <tr>
10
  <td>[%- LxERP.t8("Discount") %]</td>
11
  <td>[% L.input_tag("object.discount_as_percent", SELF.object.discount_as_percent, style=style) %]%</td>
12
 </tr>
13

  
14
 <tr>
15
  <td>[%- LxERP.t8("Customernumberinit") %]</td>
16
  <td>[% L.input_tag("object.customernumberinit", SELF.object.customernumberinit, style=style) %]</td>
17
 </tr>
18

  
19
 [%- IF LXCONFIG.features.vertreter %]
20
 <tr>
21
  <td>[%- LxERP.t8("Representative") %]</td>
22
  <td>[% L.checkbox_tag("object.salesman", "value", 1, "checked", SELF.object.salesman, for_submit=1) %]</td>
23
 </tr>
24
 [%- END %]
25
</table>
3
<div class="wrapper">
4
  <table class="tbl-horizontal">
5
    <tbody>
6
      <tr>
7
        <th> [%- LxERP.t8("Description") %] </th>
8
        <td> [% L.input_tag("object.description", SELF.object.description, style=style, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
9
      </tr>
10
      <tr>
11
        <th> [%- LxERP.t8("Discount") %] </th>
12
        <td> [% L.input_tag("object.discount_as_percent", SELF.object.discount_as_percent, style=style) %]% </td>
13
      </tr>
14
      <tr>
15
        <th> [%- LxERP.t8("Customernumberinit") %] </th>
16
        <td> [% L.input_tag("object.customernumberinit", SELF.object.customernumberinit, style=style) %] </td>
17
      </tr>
18
      [%- IF LXCONFIG.features.vertreter %] 
19
      <tr>
20
        <th> [%- LxERP.t8("Representative") %] </th>
21
        <td> [% L.checkbox_tag("object.salesman", "value", 1, "checked", SELF.object.salesman, for_submit=1) %] </td>
22
      </tr>
23
      [%- END %] 
24
    </tbody>
25
  </table>
26
</div>
templates/webpages/simple_system_setting/_default_form.html
1 1
[%- USE LxERP -%][%- USE L -%]
2
<table>
3
 <tr>
4
  <th align="right">[% LxERP.t8("Description") %]</th>
5
  <td>[% L.input_tag("object.description", LxERP.t8(SELF.object.description), "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
6
 </tr>
7
</table>
2
<div class="wrapper">
3
  <table class="tbl-horizontal">
4
    <tbody>
5
      <tr>
6
        <th> [% LxERP.t8("Description") %] </th>
7
        <td> [% L.input_tag("object.description", LxERP.t8(SELF.object.description), "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
8
      </tr>
9
    </tbody>
10
  </table>
11
</div>
templates/webpages/simple_system_setting/_language_form.html
1
[%- USE LxERP -%][%- USE L -%][%- USE HTML -%]
2
[% SET style="width: 250px" %]
3
<table>
4
 <tr>
5
  <th align="right">[% LxERP.t8("Language") %]</th>
6
  <td>[% L.input_tag("object.description", SELF.object.description, style=style, "data-validate"="required", "data-title"=LxERP.t8("Language")) %]</td>
7
 <tr>
8
 <tr>
9
  <th align="right">[% LxERP.t8("Template Code") %]</th>
10
  <td>[% L.input_tag("object.template_code", SELF.object.template_code, style=style) %]</td>
11
 </tr>
12
 <tr>
13
  <th align="right">[% LxERP.t8("Article Code") %]</th>
14
  <td>[% L.input_tag("object.article_code", SELF.object.article_code, style=style) %]</td>
15
 </tr>
16
 <tr>
17
  <th align="right">[% LxERP.t8("Number Format") %]</th>
18
  <td>[% L.select_tag("object.output_numberformat", SELF.numberformats, default=SELF.object.output_numberformat, with_empty=1, empty_title=LxERP.t8("use program settings"), style=style) %]</td>
19
 </tr>
20
 <tr>
21
  <th align="right">[% LxERP.t8("Date Format") %]</th>
22
  <td>[% L.select_tag("object.output_dateformat", SELF.dateformats, default=SELF.object.output_dateformat, with_empty=1, empty_title=LxERP.t8("use program settings"), style=style) %]</td>
23
 </tr>
24
 <tr>
25
  <th align="right">[% LxERP.t8("Long Dates") %]</th>
26
  <td>[% L.yes_no_tag("object.output_longdates", SELF.object.output_longdates, style=style) %]</td>
27
 </tr>
28
</table>
1
[% USE LxERP %]
2
[% USE L %]
3
[% USE HTML %]
4

  
5
<div class="wrapper">
6
  <table class="tbl-horizontal">
7
    <tbody>
8
      <tr>
9
        <th> [% LxERP.t8("Language") %] </th>
10
        <td> [% L.input_tag("object.description", SELF.object.description, class='wi-wider', "data-validate"="required", "data-title"=LxERP.t8("Language")) %] </td>
11
      </tr>
12
      <tr>
13
        <th> [% LxERP.t8("Template Code") %] </th>
14
        <td> [% L.input_tag("object.template_code", SELF.object.template_code, class='wi-wider') %] </td>
15
      </tr>
16
      <tr>
17
        <th> [% LxERP.t8("Article Code") %] </th>
18
        <td> [% L.input_tag("object.article_code", SELF.object.article_code, class='wi-wider') %] </td>
19
      </tr>
20
      <tr>
21
        <th> [% LxERP.t8("Number Format") %] </th>
22
        <td> [% L.select_tag("object.output_numberformat", SELF.numberformats, default=SELF.object.output_numberformat, with_empty=1, empty_title=LxERP.t8("use program settings"), class='wi-wider') %] </td>
23
      </tr>
24
      <tr>
25
        <th> [% LxERP.t8("Date Format") %] </th>
26
        <td> [% L.select_tag("object.output_dateformat", SELF.dateformats, default=SELF.object.output_dateformat, with_empty=1, empty_title=LxERP.t8("use program settings"), class='wi-wider') %] </td>
27
      </tr>
28
      <tr>
29
        <th> [% LxERP.t8("Long Dates") %] </th>
30
        <td> [% L.yes_no_tag("object.output_longdates", SELF.object.output_longdates, class='wi-wider') %] </td>
31
      </tr>
32
    </tbody>
33
  </table>
34
</div>
templates/webpages/simple_system_setting/_part_classification_form.html
1
[%- USE LxERP -%][%- USE L -%]
2
<table>
3
 <tr>
4
  <th align="right">[% LxERP.t8('Description') %]</th>
5
  <td>[% L.input_tag("object.description",  LxERP.t8(SELF.object.description), "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
6
 </tr>
7
 <tr>
8
  <th align="right">[% LxERP.t8('TypeAbbreviation') %]</th>
9
  <td>[% L.input_tag("object.abbreviation",  LxERP.t8(SELF.object.abbreviation), size="2", maxlength="2" ) %]</td>
10
 </tr>
11
 <tr>
12
  <th align="right">[% LxERP.t8('Used for Purchase') %]</th>
13
  <td>[% L.checkbox_tag("object.used_for_purchase", checked=(SELF.object.used_for_purchase ? 1:''), for_submit=1) %]</td>
14
 </tr>
15
 <tr>
16
  <th align="right">[% LxERP.t8('Used for Sale') %]</th>
17
  <td>[% L.checkbox_tag("object.used_for_sale", checked=(SELF.object.used_for_sale ? 1:''), for_submit=1) %]</td>
18
 </tr>
19
 <tr>
20
  <th align="right">[% LxERP.t8('Report separately') %]</th>
21
  <td>[% L.checkbox_tag("object.report_separate", checked=(SELF.object.report_separate ? 1:''), for_submit=1) %]</td>
22
 </tr>
23
</table>
1
[%- USE LxERP -%]
2
[%- USE L -%]
3
<div class="wrapper">
4
  <table class="tbl-horizontal">
5
    <tbody>
6
      <tr>
7
        <th> [% LxERP.t8('Description') %] </th>
8
        <td> [% L.input_tag("object.description", LxERP.t8(SELF.object.description), "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
9
      </tr>
10
      <tr>
11
        <th> [% LxERP.t8('TypeAbbreviation') %] </th>
12
        <td> [% L.input_tag("object.abbreviation", LxERP.t8(SELF.object.abbreviation), size="2", maxlength="2" ) %] </td>
13
      </tr>
14
      <tr>
15
        <th> [% LxERP.t8('Used for Purchase') %] </th>
16
        <td> [% L.checkbox_tag("object.used_for_purchase", checked=(SELF.object.used_for_purchase ? 1:''), for_submit=1) %] </td>
17
      </tr>
18
      <tr>
19
        <th> [% LxERP.t8('Used for Sale') %] </th>
20
        <td> [% L.checkbox_tag("object.used_for_sale", checked=(SELF.object.used_for_sale ? 1:''), for_submit=1) %] </td>
21
      </tr>
22
      <tr>
23
        <th> [% LxERP.t8('Report separately') %] </th>
24
        <td> [% L.checkbox_tag("object.report_separate", checked=(SELF.object.report_separate ? 1:''), for_submit=1) %] </td>
25
      </tr>
26
    </tbody>
27
  </table>
28
</div>
templates/webpages/simple_system_setting/_parts_group_form.html
1 1
[%- USE LxERP -%][%- USE L -%]
2
<table>
3
 <tr>
4
  <th align="right">[% LxERP.t8("Description") %]</th>
5
  <td>
6
   [%- L.input_tag("object.partsgroup", SELF.object.partsgroup, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]
7
  </td>
8
 </tr>
9
 <tr>
10
  <th align="right">[% LxERP.t8("Obsolete") %]</th>
11
  <td>[% L.checkbox_tag("object.obsolete", checked=SELF.object.obsolete, for_submit=1) %]</td>
12
 </tr>
2
<div class="wrapper">
3
<table class="tbl-horizontal">
4
  <tbody>
5
    <tr>
6
      <th> [% LxERP.t8("Description") %] </th>
7
      <td> [%- L.input_tag("object.partsgroup", SELF.object.partsgroup, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
8
    </tr>
9
    <tr>
10
      <th> [% LxERP.t8("Obsolete") %] </th>
11
      <td> [% L.checkbox_tag("object.obsolete", checked=SELF.object.obsolete, for_submit=1) %] </td>
12
    </tr>
13
  </tbody>
13 14
</table>
15
</div>
templates/webpages/simple_system_setting/_price_factor_form.html
1
[%- USE LxERP -%][%- USE L -%][%- USE HTML -%]
1
[%- USE LxERP -%]
2
[%- USE L -%]
3
[%- USE HTML -%]
2 4
[%- SET orphaned = SELF.object.orphaned %]
3
<table>
4
 <tr>
5
  <th align="right">[% LxERP.t8("Description") %]</th>
6
  <td>[% L.input_tag("object.description", LxERP.t8(SELF.object.description), "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
7
 </tr>
8
 <tr>
9
  <th align="right">[% LxERP.t8("Factor") %]</th>
10
  <td>
11
   [% IF orphaned %]
12
    [% L.input_tag("object.factor_as_number", LxERP.t8(SELF.object.factor_as_number), "data-validate"="required", "data-title"=LxERP.t8("Factor")) %]
13
   [% ELSE %]
14
    [% HTML.escape(SELF.object.factor_as_number) %]
15
   [% END %]
16
  </td>
17
 </tr>
18
</table>
5
<div class="wrapper">
6
  <div class="col">
7
  <table class="tbl-horizontal">
8
    <tbody>
9
      <tr>
10
        <th> [% LxERP.t8("Description") %] </th>
11
        <td> [% L.input_tag("object.description", LxERP.t8(SELF.object.description), "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
12
      </tr>
13
      <tr>
14
        <th> [% LxERP.t8("Factor") %] </th>
15
        <td> [% IF orphaned %] [% L.input_tag("object.factor_as_number", LxERP.t8(SELF.object.factor_as_number), "data-validate"="required", "data-title"=LxERP.t8("Factor")) %] [% ELSE %] <span>[% HTML.escape(SELF.object.factor_as_number) %]</span> [% END %] </td>
16
      </tr>
17
    </tbody>
18
  </table>
19 19

  
20 20
[% UNLESS orphaned %]
21
 <p>
22
  [% LxERP.t8("Note: the object is already in use. Therefore some values cannot be changed.") %]
23
 </p>
21
<div class="long-description" style="float:none;"><p> [% LxERP.t8("Note: the object is already in use. Therefore some values cannot be changed.") %] </p></div>
24 22
[% END %]
23
</div>
24
</div>
templates/webpages/simple_system_setting/_pricegroup_form.html
1
[%- USE LxERP -%][%- USE L -%]
2
<table>
3
 <tr>
4
  <th align="right">[% LxERP.t8("Description") %]</th>
5
  <td>
6
   [%- L.input_tag("object.pricegroup", SELF.object.pricegroup, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]
7
  </td>
8
 </tr>
9
 <tr>
10
  <th align="right">[% LxERP.t8("Obsolete") %]</th>
11
  <td>[% L.checkbox_tag("object.obsolete", checked=SELF.object.obsolete, for_submit=1) %]</td>
12
 </tr>
1
[%- USE LxERP -%]
2
[%- USE L -%]
3
<div class="wrapper">
4
<table class="tbl-horizontal">
5
  <tbody>
6
    <tr>
7
      <th> [% LxERP.t8("Description") %] </th>
8
      <td> [%- L.input_tag("object.pricegroup", SELF.object.pricegroup, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
9
    </tr>
10
    <tr>
11
      <th> [% LxERP.t8("Obsolete") %] </th>
12
      <td> [% L.checkbox_tag("object.obsolete", checked=SELF.object.obsolete, for_submit=1) %] </td>
13
    </tr>
14
  </tbody>
13 15
</table>
16
</div>
templates/webpages/simple_system_setting/_requirement_spec_acceptance_status_form.html
1
[%- USE LxERP -%][%- USE L -%]
2
[% SET style="width: 250px" %]
3
<table>
4
 <tr>
5
  <td>[% LxERP.t8("Name") %]</td>
6
  <td>[% L.select_tag("object.name",  SELF.valid_names, default=SELF.object.name, style=style) %]</td>
7
 </tr>
1
[% USE LxERP %]
2
[% USE L %]
8 3

  
9
 <tr>
10
  <td>[% LxERP.t8("Description") %]</td>
11
  <td>[% L.input_tag("object.description", SELF.object.description, style=style, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
12
 </tr>
13
</table>
4
<div class="wrapper">
5
  <table class="tbl-horizontal">
6
    <tbody>
7
      <tr>
8
        <th> [% LxERP.t8("Name") %] </th>
9
        <td> [% L.select_tag("object.name", SELF.valid_names, default=SELF.object.name, class="wi-wider") %] </td>
10
      </tr>
11
      <tr>
12
        <th> [% LxERP.t8("Description") %] </th>
13
        <td> [% L.input_tag("object.description", SELF.object.description, class="wi-wider", "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
14
      </tr>
15
    </tbody>
16
  </table>
17
</div>
templates/webpages/simple_system_setting/_requirement_spec_predefined_text_form.html
1
[%- USE LxERP -%][%- USE L -%]<table>
2
 <tr>
3
  <th align="right">[% LxERP.t8("Description") %]</th>
4
  <td>[% L.input_tag("object.description", SELF.object.description, size=60, class="initial_focus", "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
5
 </tr>
6

  
7
 <tr>
8
  <th align="right">[% LxERP.t8("Title") %]</th>
9
  <td>[% L.input_tag("object.title", SELF.object.title, size=60) %]</td>
10
 </tr>
11

  
12
 <tr valign="top">
13
  <th align="right">[% LxERP.t8("Content") %]</th>
14
  <td>[% L.textarea_tag("object.text_as_restricted_html", SELF.object.text_as_restricted_html, class="texteditor", style="width: 800px; height: 300px") %]</td>
15
 </tr>
16

  
17
 <tr>
18
  <th align="right">[% LxERP.t8("Useable for…") %]</th>
19
  <td>
20
   [% L.checkbox_tag("object.useable_for_text_blocks", label=LxERP.t8("Text blocks"), for_submit=1, value=1, checked=SELF.object.useable_for_text_blocks) %]
21
   [% L.checkbox_tag("object.useable_for_sections",    label=LxERP.t8("Sections"),    for_submit=1, value=1, checked=SELF.object.useable_for_sections) %]
22
  </td>
23
 </tr>
1
[%- USE LxERP -%]
2
[%- USE L -%]
3
<div class="wrapper">
4
<table class="tbl-horizontal">
5
  <tbody>
6
    <tr>
7
      <th> [% LxERP.t8("Description") %] </th>
8
      <td> [% L.input_tag("object.description", SELF.object.description, size=60, class="initial_focus", "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
9
    </tr>
10
    <tr>
11
      <th> [% LxERP.t8("Title") %] </th>
12
      <td> [% L.input_tag("object.title", SELF.object.title, size=60) %] </td>
13
    </tr>
14
    <tr>
15
      <th> [% LxERP.t8("Content") %] </th>
16
      <td> [% L.textarea_tag("object.text_as_restricted_html", SELF.object.text_as_restricted_html, class="texteditor", style="width: 800px; height: 300px") %] </td>
17
    </tr>
18
    <tr>
19
      <th> [% LxERP.t8("Useable for…") %] </th>
20
      <td> [% L.checkbox_tag("object.useable_for_text_blocks", label=LxERP.t8("Text blocks"), for_submit=1, value=1, checked=SELF.object.useable_for_text_blocks) %] [% L.checkbox_tag("object.useable_for_sections", label=LxERP.t8("Sections"), for_submit=1, value=1, checked=SELF.object.useable_for_sections) %] </td>
21
    </tr>
22
  </tbody>
24 23
</table>
24
</div>
templates/webpages/simple_system_setting/_requirement_spec_status_form.html
1
[%- USE LxERP -%][%- USE L -%]
2
[% SET style="width: 250px" %]
3
<table>
4
 <tr>
5
  <td>[% LxERP.t8("Name") %]</td>
6
  <td>[% L.select_tag("object.name",  SELF.valid_names, default=SELF.object.name, style=style) %]</td>
7
 </tr>
1
[%- USE LxERP -%]
2
[%- USE L -%]
8 3

  
9
 <tr>
10
  <td>[% LxERP.t8("Description") %]</td>
11
  <td>[% L.input_tag("object.description", SELF.object.description, style=style, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
12
 </tr>
13
</table>
4
<div class="wrapper">
5
  <table class="tbl-horizontal">
6
    <tbody>
7
      <tr>
8
        <td> [% LxERP.t8("Name") %] </td>
9
        <td> [% L.select_tag("object.name", SELF.valid_names, default=SELF.object.name, class="wi-wide") %] </td>
10
      </tr>
11
      <tr>
12
        <td> [% LxERP.t8("Description") %] </td>
13
        <td> [% L.input_tag("object.description", SELF.object.description, "data-validate"="required", "data-title"=LxERP.t8("Description"), class="wi-wide") %] </td>
14
      </tr>
15
    </tbody>
16
  </table>
17
</div>
templates/webpages/simple_system_setting/_requirement_spec_type_form.html
1 1
[% USE HTML %][% USE L %][% USE LxERP %]
2
<table>
3
 <tr>
4
  <th align="right">[% LxERP.t8("Description") %]</th>
5
  <td>[% L.input_tag("object.description", SELF.object.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
6
 </tr>
7

  
8
 <tr>
9
  <th align="right">[% LxERP.t8("Print template base file name") %]<sup>(1)</sup></th>
10
  <td>[% L.input_tag("object.template_file_name", SELF.object.template_file_name, "data-validate"="required", "data-title"=LxERP.t8("Print template base file name")) %]</td>
11
 </tr>
12

  
13
 <tr>
14
  <th align="right">[% LxERP.t8("Section number format") %]<sup>(2)</sup></th>
15
  <td>[% L.input_tag("object.section_number_format", SELF.object.section_number_format, size="15", "data-validate"="required", "data-title"=LxERP.t8("Section number format")) %]</td>
16
 </tr>
17

  
18
 <tr>
19
  <th align="right">[% LxERP.t8("Function block number format") %]<sup>(2)</sup></th>
20
  <td>[% L.input_tag("object.function_block_number_format", SELF.object.function_block_number_format, size="15", "data-validate"="required", "data-title"=LxERP.t8("Function block number format")) %]</td>
21
 </tr>
22
</table>
23

  
24
<p>
25
 <sup>(1)</sup>: [% LxERP.t8("The base file name without a path or an extension to be used for printing for this type of requirement spec.") %]
26
 <br>
27
 <sup>(2)</sup>: [% LxERP.t8("The numbering will start at 1 with each requirement spec.") %]
28
</p>
2
<div class="wrapper">
3
  <div class="col">
4
  <table class="tbl-horizontal">
5
    <tbody>
6
      <tr>
7
        <th> [% LxERP.t8("Description") %] </th>
8
        <td> [% L.input_tag("object.description", SELF.object.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
9
      </tr>
10
      <tr>
11
        <th> [% LxERP.t8("Print template base file name") %] <sup> (1) </sup> </th>
12
        <td> [% L.input_tag("object.template_file_name", SELF.object.template_file_name, "data-validate"="required", "data-title"=LxERP.t8("Print template base file name")) %] </td>
13
      </tr>
14
      <tr>
15
        <th> [% LxERP.t8("Section number format") %] <sup> (2) </sup> </th>
16
        <td> [% L.input_tag("object.section_number_format", SELF.object.section_number_format, size="15", "data-validate"="required", "data-title"=LxERP.t8("Section number format")) %] </td>
17
      </tr>
18
      <tr>
19
        <th> [% LxERP.t8("Function block number format") %] <sup> (2) </sup> </th>
20
        <td> [% L.input_tag("object.function_block_number_format", SELF.object.function_block_number_format, size="15", "data-validate"="required", "data-title"=LxERP.t8("Function block number format")) %] </td>
21
      </tr>
22
    </tbody>
23
  </table>
24
  <div class="long-description">
25
    <p>
26
      <sup> (1) </sup> [% LxERP.t8("The base file name without a path or an extension to be used for printing for this type of requirement spec.") %] <br>
27
      <sup> (2) </sup> [% LxERP.t8("The numbering will start at 1 with each requirement spec.") %]
28
    </p>
29
  </div>
30
  </div>
31
</div>
templates/webpages/simple_system_setting/list.html
3 3
<h1>[% HTML.escape(title) %]</h1>
4 4

  
5 5
[%- INCLUDE 'common/flash.html' %]
6
<div class="wrapper">
6 7

  
7
<table width="100%" id="object_list">
8
<table id="object_list" class="tbl-list wi-moderate">
8 9
 <thead>
9
  <tr class="listheading">
10
  <tr>
10 11
   [% IF SELF.supports_reordering %]
11
    <th align="center" width="1%"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
12
    <th class="img center"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
12 13
   [% END %]
13 14
   [% FOREACH attribute = SELF.list_attributes %]
14 15
    <th[% IF attribute.align %] align="[% attribute.align %]"[% END %]>[% HTML.escape(attribute.title) %]</th>
......
18 19

  
19 20
 <tbody>
20 21
  [%- FOREACH object = SELF.all_objects %]
21
   <tr class="listrow" id="object_id_[% object.id %]">
22
   <tr id="object_id_[% object.id %]">
22 23
   [% IF SELF.supports_reordering %]
23
    <td align="center" class="dragdrop">[% L.img_tag(src="image/updown.png", alt=LxERP.t8("reorder item")) %]</td>
24
    <td class="img center" class="dragdrop">[% L.img_tag(src="image/updown.png", alt=LxERP.t8("reorder item")) %]</td>
24 25
   [% END %][%# IF SELF.supports_reordering %]
25 26
   [% FOREACH attribute = SELF.list_attributes %]
26 27
    <td[% IF attribute.align %] align="[% attribute.align %]"[% END %]>
......
40 41
 </tbody>
41 42
</table>
42 43

  
44
</div>
45

  
43 46
[% IF SELF.supports_reordering %]
44 47
[% L.sortable_element("#object_list tbody", url=SELF.url_for(action="reorder", type=SELF.type), with="object_id") %]
45 48
[% END %]

Auch abrufbar als: Unified diff