cleans up project structure
This commit is contained in:
@@ -29,7 +29,7 @@ icon params =
|
||||
btn : msg -> { text : String, icon : String, color : String } -> Html msg
|
||||
btn msg params =
|
||||
button
|
||||
[ class <| "button is-medium level-item " ++ params.color
|
||||
[ class <| "button " ++ params.color
|
||||
, onClick msg
|
||||
]
|
||||
[ icon { icon = params.icon, size = Nothing, ratio = Nothing }
|
||||
@@ -38,7 +38,7 @@ btn msg params =
|
||||
|
||||
|
||||
buttons btns =
|
||||
div [ class "buttons" ] btns
|
||||
div [ class "buttons level-item" ] btns
|
||||
|
||||
|
||||
confirmButtons confirm cancel =
|
||||
@@ -66,3 +66,7 @@ datatable headers rows =
|
||||
headers
|
||||
, tbody [] rows
|
||||
]
|
||||
|
||||
|
||||
|
||||
-- Section
|
||||
|
||||
Reference in New Issue
Block a user