mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-09-29 16:18:22 +00:00
Remove code from old ui
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
module Util.Html exposing
|
||||
( KeyCode(..)
|
||||
, checkbox
|
||||
, checkbox2
|
||||
, classActive
|
||||
, intToKeyCode
|
||||
@@ -22,25 +21,6 @@ import Html.Events exposing (keyCode, on, preventDefaultOn)
|
||||
import Json.Decode as D
|
||||
|
||||
|
||||
checkboxChecked : Html msg
|
||||
checkboxChecked =
|
||||
i [ class "ui check square outline icon" ] []
|
||||
|
||||
|
||||
checkboxUnchecked : Html msg
|
||||
checkboxUnchecked =
|
||||
i [ class "ui square outline icon" ] []
|
||||
|
||||
|
||||
checkbox : Bool -> Html msg
|
||||
checkbox flag =
|
||||
if flag then
|
||||
checkboxChecked
|
||||
|
||||
else
|
||||
checkboxUnchecked
|
||||
|
||||
|
||||
checkbox2 : Bool -> Html msg
|
||||
checkbox2 flag =
|
||||
if flag then
|
||||
|
Reference in New Issue
Block a user