Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -18,14 +18,14 @@ | ... | @@ -18,14 +18,14 @@ |
18 | }"> | 18 | }"> |
19 | <tr class="ddrTR"> | 19 | <tr class="ddrTR"> |
20 | <ui:forEach ui:resultSet="{= ?hrs }"> | 20 | <ui:forEach ui:resultSet="{= ?hrs }"> |
21 | - <th class="ddrTH" style="{= IF(?left, 'text-align: left', ?none) }" | 21 | + <th class="ddrTH" style="text-align: {= IF(?left, 'left', 'center') }" |
22 | ><ui:parse ui:str="{= html:encodeBRs(spif:replaceAll(?header, ' ', ' ')) }" /></th> | 22 | ><ui:parse ui:str="{= html:encodeBRs(spif:replaceAll(?header, ' ', ' ')) }" /></th> |
23 | </ui:forEach> | 23 | </ui:forEach> |
24 | </tr> | 24 | </tr> |
25 | <ui:forEach ui:resultSet="{# SELECT ?row ?rowIndex WHERE { ?rs spr:rowIndices ?rowIndex } }"> | 25 | <ui:forEach ui:resultSet="{# SELECT ?row ?rowIndex WHERE { ?rs spr:rowIndices ?rowIndex } }"> |
26 | <tr class="ddrTR"> | 26 | <tr class="ddrTR"> |
27 | <ui:forEach ui:resultSet="{# SELECT ?cell ?colIndex WHERE { (?rs ?rowIndex) spr:rowCells (?cell ?colIndex) } }"> | 27 | <ui:forEach ui:resultSet="{# SELECT ?cell ?colIndex WHERE { (?rs ?rowIndex) spr:rowCells (?cell ?colIndex) } }"> |
28 | - <td class="ddrTD" style="{= IF(spr:cell(?hrs, ?colIndex, 1), 'text-align: left', 'text-align: center') }">{= ?cell }</td> | 28 | + <td class="ddrTD" style="text-align: {= IF(spr:cell(?hrs, ?colIndex, 1), 'left', 'center') }">{= ?cell }</td> |
29 | </ui:forEach> | 29 | </ui:forEach> |
30 | </tr> | 30 | </tr> |
31 | </ui:forEach> | 31 | </ui:forEach> | ... | ... |
-
Please register or login to post a comment