File tree Expand file tree Collapse file tree 1 file changed +26
-21
lines changed Expand file tree Collapse file tree 1 file changed +26
-21
lines changed Original file line number Diff line number Diff line change @@ -353,29 +353,34 @@ colLg_ xs sm md lg = div' {class = "col-xs-" ++ toString xs ++ " col-sm-" ++ toS
353
353
tableStriped' : ClassString -> List Html -> Html
354
354
tableStriped' c = table' { class = " table table-striped " ++ c}
355
355
{- |
356
- import Html
356
+ import Html exposing (..)
357
357
import Html.Shorthand exposing (..)
358
-
359
- tableStriped_
360
- [ thead_
361
- [ th' {class = "text-left"} [ text "Item #" ]
362
- , th' {class = "text-left"} [ text "Long Description" ]
363
- , th' {class = "text-right"} [ text "Units" ]
364
- , th' {class = "text-right"} [ text "Price" ]
365
- ]
366
- , tr_
367
- [ td_ [ text "X" ]
368
- , td_ [ text "This is an X"]
369
- , td_ [ text "55"]
370
- , td_ [ text "$ 100"]
371
- ]
372
- , tr_
373
- [ td_ [ text "Y" ]
374
- , td_ [ text "This is an Y"]
375
- , td_ [ text "3"]
376
- , td_ [ text "$ 10"]
358
+ import Bootstrap.Html exposing (..)
359
+
360
+ view : Html
361
+ view = tableStriped_
362
+ [ thead_
363
+ [ th' {class = "text-left"} [ text "Item #" ]
364
+ , th' {class = "text-left"} [ text "Long Description" ]
365
+ , th' {class = "text-right"} [ text "Units" ]
366
+ , th' {class = "text-right"} [ text "Price" ]
367
+ ]
368
+ , tr_
369
+ [ td_ [ text "X" ]
370
+ , td_ [ text "This is an X"]
371
+ , td_ [ text "55"]
372
+ , td_ [ text "$ 100"]
373
+ ]
374
+ , tr_
375
+ [ td_ [ text "Y" ]
376
+ , td_ [ text "This is an Y"]
377
+ , td_ [ text "3"]
378
+ , td_ [ text "$ 10"]
379
+ ]
377
380
]
378
- ]
381
+
382
+ main : Html
383
+ main = view
379
384
-}
380
385
tableStriped_ : List Html -> Html
381
386
tableStriped_ = tableBodyStriped' " "
You can’t perform that action at this time.
0 commit comments