@@ -135,7 +135,6 @@ tableVieScoreBothOver utcOffset hgOrPg early free sgs _ln dnf' dfNt _vy vw _wg p
135
135
el " thead" $ do
136
136
137
137
el " tr" $ do
138
- elAttr " th" (" colspan" =: " 4" ) $ text " "
139
138
elAttr " th" (" colspan" =: " 9" <> " class" =: " th-points" ) $ dynText pointStats
140
139
141
140
el " tr" $ do
@@ -144,10 +143,6 @@ tableVieScoreBothOver utcOffset hgOrPg early free sgs _ln dnf' dfNt _vy vw _wg p
144
143
elClass " th" " th-placing" $ text " Place"
145
144
elClass " th" " th-pilot" . dynText $ ffor w hashIdHyphenPilot
146
145
147
- elClass " th" " th-distance-points" $ text " Distance"
148
- elDynClass " th" (fst <$> cTimePoints) $ text " Time"
149
- elClass " th" " th-leading-points" $ text " Lead"
150
- elDynClass " th" (fst <$> cArrivalPoints) $ text " Arrival"
151
146
elClass " th" " th-total-points" $ text " Total"
152
147
elClass " th" " th-norm th-total-points" $ text " ✓"
153
148
elClass " th" " th-norm th-total-points" $ text " ✓"
@@ -157,38 +152,6 @@ tableVieScoreBothOver utcOffset hgOrPg early free sgs _ln dnf' dfNt _vy vw _wg p
157
152
elClass " tr" " tr-allocation" $ do
158
153
elAttr " th" (" colspan" =: " 4" <> " class" =: " th-allocation" ) $ text " Available Points (Units)"
159
154
160
- elClass " th" " th-distance-alloc" . dynText $
161
- maybe
162
- " "
163
- ( (\ x -> showTaskDistancePoints (Just x) x)
164
- . Pt. distance
165
- )
166
- <$> pt
167
-
168
- elClass " th" " th-time-alloc" . dynText $
169
- maybe
170
- " "
171
- ( (\ x -> showTaskTimePoints (Just x) x)
172
- . Pt. time
173
- )
174
- <$> pt
175
-
176
- elClass " th" " th-leading-alloc" . dynText $
177
- maybe
178
- " "
179
- ( (\ x -> showTaskLeadingPoints (Just x) x)
180
- . Pt. leading
181
- )
182
- <$> pt
183
-
184
- elClass " th" " th-arrival-alloc" . dynText $
185
- maybe
186
- " "
187
- ( (\ x -> showTaskArrivalPoints (Just x) x)
188
- . Pt. arrival
189
- )
190
- <$> pt
191
-
192
155
elClass " th" " th-task-alloc" . dynText $
193
156
maybe
194
157
" "
@@ -217,7 +180,7 @@ tableVieScoreBothOver utcOffset hgOrPg early free sgs _ln dnf' dfNt _vy vw _wg p
217
180
dnfRows w dnfPlacing dnf'
218
181
return ()
219
182
220
- let tdFoot = elAttr " td" (" colspan" =: " 13 " )
183
+ let tdFoot = elAttr " td" (" colspan" =: " 9 " )
221
184
let foot = el " tr" . tdFoot . text
222
185
223
186
el " tfoot" $ do
@@ -329,15 +292,6 @@ pointRow w cTime cArrival dfNt pt tp sAltFs sAltAs x = do
329
292
elClass " td" " td-placing" . dynText $ showRank . place <$> xB
330
293
elClass " td" " td-pilot" . dynText $ snd <$> classPilot
331
294
332
- elClass " td" " td-distance-points" . dynText
333
- $ showMax Pt. distance showTaskDistancePoints pt points
334
- elDynClass " td" cTime . dynText
335
- $ showMax Pt. time showTaskTimePoints pt points
336
- elClass " td" " td-leading-points" . dynText
337
- $ showMax Pt. leading showTaskLeadingPoints pt points
338
- elDynClass " td" cArrival . dynText
339
- $ showMax Pt. arrival showTaskArrivalPoints pt points
340
-
341
295
elClass " td" " td-total-points" . dynText
342
296
$ zipDynWith showTaskPointsRounded tp (total <$> xB)
343
297
@@ -377,19 +331,6 @@ dnfRow
377
331
-> Dynamic t Pilot
378
332
-> m ()
379
333
dnfRow w place rows pilot = do
380
- let dnfMajor =
381
- case rows of
382
- Nothing -> return ()
383
- Just n -> do
384
- elAttr
385
- " td"
386
- ( " rowspan" =: (T. pack $ show n)
387
- <> " colspan" =: " 7"
388
- <> " class" =: " td-dnf"
389
- )
390
- $ text " DNF"
391
- return ()
392
-
393
334
let dnfMinor =
394
335
case rows of
395
336
Nothing -> return ()
@@ -407,7 +348,6 @@ dnfRow w place rows pilot = do
407
348
elClass " td" " td-norm td-placing" $ text " "
408
349
elClass " td" " td-placing" . text $ showRank place
409
350
elClass " td" " td-pilot" . dynText $ ffor2 w pilot showPilot
410
- dnfMajor
411
351
elClass " td" " td-total-points" $ text " 0"
412
352
dnfMinor
413
353
return ()
0 commit comments