Rev 14267 | Rev 17898 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14267 | Rev 17544 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | !set a=!nonempty lines $a |
4 | !set a=!nonempty lines $a |
5 | !set acnt=!linecnt $a |
5 | !set acnt=!linecnt $a |
6 | 6 | ||
7 | <table class="wimsborder wimscenter"> |
7 | <table class="wimsborder wimscenter"> |
8 | !for j = 1 to $acnt |
8 | !for j = 1 to $acnt |
9 | !set aa=!line $j of $a |
9 | !set aa=!line $j of $a |
10 | !if $(aa[1])!=$empty and $(aa[2])!=$empty |
10 | !if $(aa[1])!=$empty and $(aa[2])!=$empty |
11 | <tr><th>$(aa[1])</th><td>$(aa[2..-1])</td></tr> |
11 | <tr><th>$(aa[1])</th><td>$(aa[2..-1])</td></tr> |
12 | !endif |
12 | !endif |
13 | !next |
13 | !next |
14 | <tr><th><span class="wims_color1">wims_color1</span></th><td>theme style for menu</td></tr> |
14 | <tr><th><span class="wims_color1">wims_color1</span></th><td>theme style for menu</td></tr> |
15 | <tr><th><span class="wims_color2">wims_color2</span></th><td>theme style for button</td></tr> |
15 | <tr><th><span class="wims_color2">wims_color2</span></th><td>theme style for button</td></tr> |
16 | <tr><th><span class="wims_color3">wims_color3</span></th><td>theme style for help button</td></tr> |
16 | <tr><th><span class="wims_color3">wims_color3</span></th><td>theme style for help button</td></tr> |
17 | </table> |
17 | </table> |
Line 26... | Line 26... | ||
26 | --wims_ref_menucolor |
26 | --wims_ref_menucolor |
27 | --wims_ref_bgcolor |
27 | --wims_ref_bgcolor |
28 | --wims_ref_button_color |
28 | --wims_ref_button_color |
29 | --wims_ref_button_bgcolor |
29 | --wims_ref_button_bgcolor |
30 | </pre> |
30 | </pre> |
31 | - | ||
32 | <pre> |
31 | <pre> |
33 | <style> .mystyle { |
32 | <style> .mystyle { |
34 | padding:1em;border-left:solid; |
33 | padding:1em;border-left:solid; |
35 | border-left-width:.2em; |
34 | border-left-width:.2em; |
36 | border-left-color:var(--wims_ref_bgcolor); |
35 | border-left-color:var(--wims_ref_bgcolor); |
37 | } |
36 | } |
38 | </style> |
37 | </style> |
39 | </pre> |
38 | </pre> |
40 | - | ||
41 | <style> |
39 | <style> |
42 | .mystyle {padding:1em; |
40 | .mystyle {padding:1em; |
43 | border-left:solid; |
41 | border-left:solid; |
44 | border-left-width:.2em; |
42 | border-left-width:.2em; |
45 | border-left-color:var(--wims_ref_bgcolor); |
43 | border-left-color:var(--wims_ref_bgcolor); |
46 | } |
44 | } |
47 | </style> |
45 | </style> |
- | 46 | ||
- | 47 | Another example which can be useful: |
|
- | 48 | <pre> |
|
- | 49 | <div class="wims_columns"> |
|
- | 50 | <div class="medium_size img_col">image</div> |
|
- | 51 | <div class="medium_size text_col">text</div> |
|
- | 52 | </div> |
|
- | 53 | </pre> |