@@ -113,7 +105,7 @@ nodeMainSpan d p folderOpen session frontends = R.createElement el p []
...
@@ -113,7 +105,7 @@ nodeMainSpan d p folderOpen session frontends = R.createElement el p []
E.preventDefault e
E.preventDefault e
E.stopPropagation e
E.stopPropagation e
blob <- R2.dataTransferFileBlob e
blob <- R2.dataTransferFileBlob e
void $ runAff (\_ -> pure unit) do
void $ launchAff do
contents <- readAsText blob
contents <- readAsText blob
liftEffect $ setDroppedFile
liftEffect $ setDroppedFile
$ const
$ const
...
@@ -357,7 +349,7 @@ panelAction d {id, name, nodeType, action, session, search} p = case action of
...
@@ -357,7 +349,7 @@ panelAction d {id, name, nodeType, action, session, search} p = case action of
(Just (Documentation x)) -> fragmentPT $ "More information on" <> show nodeType
(Just (Documentation x)) -> fragmentPT $ "More information on" <> show nodeType
(Just (Link _)) -> fragmentPT "Soon, you will be able to link the corpus with your Annuaire (and reciprocally)."
(Just (Link _)) -> fragmentPT "Soon, you will be able to link the corpus with your Annuaire (and reciprocally)."
(Just Upload) -> uploadFileView d {id, mFileType: Nothing}
(Just Upload) -> uploadFileView d {session, id}
(Just Download) -> fragmentPT "Soon, you will be able to dowload your file here"
(Just Download) -> fragmentPT "Soon, you will be able to dowload your file here"
(Just SearchBox) -> R.fragment [ H.p {"style": {"margin" :"10px"}} [ H.text $ "Search and create a private corpus with the search query as corpus name." ]
(Just SearchBox) -> R.fragment [ H.p {"style": {"margin" :"10px"}} [ H.text $ "Search and create a private corpus with the search query as corpus name." ]