Remove old ui code in frontend

This commit is contained in:
Eike Kettner
2021-03-09 20:16:05 +01:00
parent ee694dc719
commit b95338e744
90 changed files with 50 additions and 11038 deletions

View File

@ -5,7 +5,6 @@ module Comp.EquipmentForm exposing
, getEquipment
, isValid
, update
, view
, view2
)
@ -73,27 +72,6 @@ update _ msg model =
( { model | notes = Util.Maybe.fromString str }, Cmd.none )
view : Model -> Html Msg
view model =
div [ class "ui form" ]
[ div
[ classList
[ ( "field", True )
, ( "error", not (isValid model) )
]
]
[ label [] [ text "Name*" ]
, input
[ type_ "text"
, onInput SetName
, placeholder "Name"
, value model.name
]
[]
]
]
--- View2