|
83 | 83 | {# The title="" attr doesn't work in Safari. #} |
84 | 84 | {% if has_arcs %} |
85 | 85 | <tr class="tablehead grouphead"> |
86 | | - <th> </th> |
| 86 | + <th class="spacer"> </th> |
87 | 87 | {% if region_noun %} |
88 | | - <th> </th> |
| 88 | + <th class="spacer"> </th> |
89 | 89 | {% endif %} |
90 | | - <th colspan="4" class="group-label">Statements</th> |
91 | | - <th colspan="3" class="group-label">Branches</th> |
92 | | - <th colspan="1" class="group-label">Overall</th> |
| 90 | + <th class="spacer"> </th> |
| 91 | + <th class="left" colspan="{% if has_arcs %}4{% else %}3{% endif %}">Statements</th> |
| 92 | + <th class="spacer"> </th> |
| 93 | + <th class="left" colspan="3">Branches</th> |
| 94 | + <th class="spacer"> </th> |
| 95 | + <th>Total</th> |
93 | 96 | </tr> |
94 | 97 | {% endif %} |
95 | 98 | <tr class="tablehead" title="Click to sort"> |
96 | | - <th id="file" class="name left" aria-sort="none" data-shortcut="f">File<span class="arrows"></span></th> |
| 99 | + <th id="file" class="name" aria-sort="none" data-shortcut="f">File<span class="arrows"></span></th> |
97 | 100 | {% if region_noun %} |
98 | | - <th id="region" class="name left" aria-sort="none" data-default-sort-order="ascending" data-shortcut="n">{{ region_noun }}<span class="arrows"></span></th> |
| 101 | + <th id="region" class="name" aria-sort="none" data-default-sort-order="ascending" data-shortcut="n">{{ region_noun }}<span class="arrows"></span></th> |
99 | 102 | {% endif %} |
| 103 | + <th class="spacer"> </th> |
100 | 104 | {% if has_arcs %} |
101 | 105 | <th id="statements_coverage" aria-sort="none" data-default-sort-order="descending">coverage<span class="arrows"></span></th> |
102 | 106 | {% endif %} |
103 | 107 | <th id="statements" aria-sort="none" data-default-sort-order="descending" data-shortcut="s">statements<span class="arrows"></span></th> |
104 | 108 | <th id="missing" aria-sort="none" data-default-sort-order="descending" data-shortcut="m">missing<span class="arrows"></span></th> |
105 | 109 | <th id="excluded" aria-sort="none" data-default-sort-order="descending" data-shortcut="x">excluded<span class="arrows"></span></th> |
106 | 110 | {% if has_arcs %} |
| 111 | + <th class="spacer"> </th> |
107 | 112 | <th id="branches_coverage" aria-sort="none" data-default-sort-order="descending">coverage<span class="arrows"></span></th> |
108 | 113 | <th id="branches" aria-sort="none" data-default-sort-order="descending" data-shortcut="b">branches<span class="arrows"></span></th> |
109 | 114 | <th id="partial" aria-sort="none" data-default-sort-order="descending" data-shortcut="p">partial<span class="arrows"></span></th> |
110 | 115 | {% endif %} |
111 | | - <th id="coverage" class="right" aria-sort="none" data-shortcut="c">coverage<span class="arrows"></span></th> |
| 116 | + <th class="spacer"> </th> |
| 117 | + <th id="coverage" aria-sort="none" data-shortcut="c">coverage<span class="arrows"></span></th> |
112 | 118 | </tr> |
113 | 119 | </thead> |
114 | 120 | <tbody> |
115 | 121 | {% for region in regions %} |
116 | 122 | <tr class="region"> |
117 | | - <td class="name left"><a href="{{region.url}}">{{region.file|escape|pretty_file}}</a></td> |
| 123 | + <td class="name"><a href="{{region.url}}">{{region.file|escape|pretty_file}}</a></td> |
118 | 124 | {% if region_noun %} |
119 | | - <td class="name left"><a href="{{region.url}}">{{region.description}}</a></td> |
| 125 | + <td class="name"><a href="{{region.url}}">{{region.description}}</a></td> |
120 | 126 | {% endif %} |
| 127 | + <td class="spacer"> </td> |
121 | 128 | {% if has_arcs %} |
122 | 129 | <td data-ratio="{{region.nums.ratio_statements|pair}}">{{region.nums.pc_statements_str}}%</td> |
123 | 130 | {% endif %} |
124 | 131 | <td>{{region.nums.n_statements}}</td> |
125 | 132 | <td>{{region.nums.n_missing}}</td> |
126 | 133 | <td>{{region.nums.n_excluded}}</td> |
127 | 134 | {% if has_arcs %} |
| 135 | + <td class="spacer"> </td> |
128 | 136 | <td data-ratio="{{region.nums.ratio_branches|pair}}">{{region.nums.pc_branches_str}}%</td> |
129 | 137 | <td>{{region.nums.n_branches}}</td> |
130 | 138 | <td>{{region.nums.n_partial_branches}}</td> |
131 | 139 | {% endif %} |
132 | | - <td class="right" data-ratio="{{region.nums.ratio_covered|pair}}">{{region.nums.pc_covered_str}}%</td> |
| 140 | + <td class="spacer"> </td> |
| 141 | + <td data-ratio="{{region.nums.ratio_covered|pair}}">{{region.nums.pc_covered_str}}%</td> |
133 | 142 | </tr> |
134 | 143 | {% endfor %} |
135 | 144 | </tbody> |
136 | 145 | <tfoot> |
137 | 146 | <tr class="total"> |
138 | | - <td class="name left">Total</td> |
| 147 | + <td class="name">Total</td> |
139 | 148 | {% if region_noun %} |
140 | | - <td class="name left"> </td> |
| 149 | + <td class="name"> </td> |
141 | 150 | {% endif %} |
| 151 | + <td class="spacer"> </td> |
142 | 152 | {% if has_arcs %} |
143 | 153 | <td data-ratio="{{totals.ratio_statements|pair}}">{{totals.pc_statements_str}}%</td> |
144 | 154 | {% endif %} |
145 | 155 | <td>{{totals.n_statements}}</td> |
146 | 156 | <td>{{totals.n_missing}}</td> |
147 | 157 | <td>{{totals.n_excluded}}</td> |
148 | 158 | {% if has_arcs %} |
| 159 | + <td class="spacer"> </td> |
149 | 160 | <td data-ratio="{{totals.ratio_branches|pair}}">{{totals.pc_branches_str}}%</td> |
150 | 161 | <td>{{totals.n_branches}}</td> |
151 | 162 | <td>{{totals.n_partial_branches}}</td> |
152 | 163 | {% endif %} |
153 | | - <td class="right" data-ratio="{{totals.ratio_covered|pair}}">{{totals.pc_covered_str}}%</td> |
| 164 | + <td class="spacer"> </td> |
| 165 | + <td data-ratio="{{totals.ratio_covered|pair}}">{{totals.pc_covered_str}}%</td> |
154 | 166 | </tr> |
155 | 167 | </tfoot> |
156 | 168 | </table> |
|
0 commit comments