Front facing camera (#289)

* Front facing camera

* Adding in configuration and update script
This commit is contained in:
Rafael Taranto 2019-07-05 17:17:59 +01:00 committed by Josh Harvey
parent 90de4fe24d
commit 00c4187081
10 changed files with 142 additions and 8 deletions

View file

@ -178,6 +178,19 @@ customerView customer =
, alt "N/A"
] []
]
, h2 [] [ text "Front Facing Camera Photo" ]
, case customer.frontCameraPath of
Nothing ->
text "N/A"
Just frontCameraPath ->
div []
[ img
[ src ("/front-camera-photo/" ++ frontCameraPath)
, height 200
, alt "N/A"
] []
]
]