Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
4ff7936b
Commit
4ff7936b
authored
Jun 30, 2022
by
Karen Konou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Annuaire Contact page] More fields
parent
959cc7c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
181 additions
and
1 deletion
+181
-1
Contact.purs
src/Gargantext/Components/Nodes/Annuaire/User/Contact.purs
+181
-1
No files found.
src/Gargantext/Components/Nodes/Annuaire/User/Contact.purs
View file @
4ff7936b
...
...
@@ -16,7 +16,7 @@ import Gargantext.Hooks.Session (useSession)
import Gargantext.Types (NodeID)
import Gargantext.Utils (nbsp)
import Gargantext.Utils.Reactix as R2
import Gargnatext.Components.GraphQL.Contact (AnnuaireContact, _ac_
firstName, _ac_lastName
)
import Gargnatext.Components.GraphQL.Contact (AnnuaireContact, _ac_
city, _ac_country, _ac_firstName, _ac_labTeamDeptsFirst, _ac_lastName, _ac_office, _ac_organizationFirst, _ac_role, _ac_touchMail, _ac_touchPhone, _ac_touchUrl
)
import Reactix as R
import Reactix.DOM.HTML as H
...
...
@@ -137,6 +137,186 @@ contactFormCpt = here.component "form" cpt where
}
]
]
,
H.div
{ className: "form-group" }
[
H.div
{ className: "form-group__label" }
[
B.label_ "Organisation"
]
,
H.div
{ className: "form-group__field" }
[
B.formInput
{ status: Disabled
, callback: const R.nothing
, value: view _ac_organizationFirst fdata
}
]
]
,
H.div
{ className: "form-group" }
[
H.div
{ className: "form-group__label" }
[
B.label_ "Lab/Team/Dept"
]
,
H.div
{ className: "form-group__field" }
[
B.formInput
{ status: Disabled
, callback: const R.nothing
, value: view _ac_labTeamDeptsFirst fdata
}
]
]
,
H.div
{ className: "form-group" }
[
H.div
{ className: "form-group__label" }
[
B.label_ "Office"
]
,
H.div
{ className: "form-group__field" }
[
B.formInput
{ status: Disabled
, callback: const R.nothing
, value: view _ac_office fdata
}
]
]
,
H.div
{ className: "form-group" }
[
H.div
{ className: "form-group__label" }
[
B.label_ "City"
]
,
H.div
{ className: "form-group__field" }
[
B.formInput
{ status: Disabled
, callback: const R.nothing
, value: view _ac_city fdata
}
]
]
,
H.div
{ className: "form-group" }
[
H.div
{ className: "form-group__label" }
[
B.label_ "Country"
]
,
H.div
{ className: "form-group__field" }
[
B.formInput
{ status: Disabled
, callback: const R.nothing
, value: view _ac_country fdata
}
]
]
,
H.div
{ className: "form-group" }
[
H.div
{ className: "form-group__label" }
[
B.label_ "Role"
]
,
H.div
{ className: "form-group__field" }
[
B.formInput
{ status: Disabled
, callback: const R.nothing
, value: view _ac_role fdata
}
]
]
,
H.div
{ className: "form-group" }
[
H.div
{ className: "form-group__label" }
[
B.label_ "Phone"
]
,
H.div
{ className: "form-group__field" }
[
B.formInput
{ status: Disabled
, callback: const R.nothing
, value: view _ac_touchPhone fdata
}
]
]
,
H.div
{ className: "form-group" }
[
H.div
{ className: "form-group__label" }
[
B.label_ "Mail"
]
,
H.div
{ className: "form-group__field" }
[
B.formInput
{ status: Disabled
, callback: const R.nothing
, value: view _ac_touchMail fdata
}
]
]
,
H.div
{ className: "form-group" }
[
H.div
{ className: "form-group__label" }
[
B.label_ "URL"
]
,
H.div
{ className: "form-group__field" }
[
B.formInput
{ status: Disabled
, callback: const R.nothing
, value: view _ac_touchUrl fdata
}
]
]
]
]
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment