equal
deleted
inserted
replaced
17 decl activable_labels(*ptr) alias - { |
17 decl activable_labels(*ptr) alias - { |
18 optional_labels(*ptr) { |
18 optional_labels(*ptr) { |
19 with "subelements","'active inactive'"; |
19 with "subelements","'active inactive'"; |
20 content; |
20 content; |
21 } |
21 } |
|
22 }; |
|
23 |
|
24 in xsl decl widget_class(%name, *clsname="%nameWidget", match="widget[@type='%name']", mode="widget_class") alias template { |
|
25 | class `text **clsname` extends Widget{ |
|
26 content; |
|
27 | } |
|
28 }; |
|
29 |
|
30 in xsl decl widget_defs(%name, match="widget[@type='%name']", mode="widget_defs") alias template { |
|
31 param "hmi_element"; |
|
32 content; |
|
33 }; |
|
34 |
|
35 in xsl decl widget_page(%name, match="widget[@type='%name']", mode="widget_page") alias template { |
|
36 param "page_desc"; |
|
37 content; |
|
38 }; |
|
39 |
|
40 decl gen_index_xhtml alias - { |
|
41 content; |
22 }; |
42 }; |
23 |
43 |
24 template "svg:*", mode="hmi_widgets" { |
44 template "svg:*", mode="hmi_widgets" { |
25 const "widget", "func:widget(@id)"; |
45 const "widget", "func:widget(@id)"; |
26 const "eltid","@id"; |
46 const "eltid","@id"; |