monitorizare-vot-ong
monitorizare-vot-ong copied to clipboard
[Counties] Extra import options
Depends on https://github.com/code4romania/monitorizare-vot-ong/issues/204
The import counties button should be turned into a dropdown picker with the following options:
- [ ] import counties from csv (should perform the action implemented in https://github.com/code4romania/monitorizare-vot-ong/issues/204)
- [ ] download template - should call
GET api/v1/county/csvFormat
- which will download existing county info in csv format or an example template csv file in case no countries are available
Option only allowed for the master admin account (an ngo admin belonging to an ngo that has the organizer flag set to true)
Backend part was implemented in https://github.com/code4romania/monitorizare-vot/issues/253.
UI available here: https://www.figma.com/file/61NHR7fwmV1Dsv4Pb6F8T7/code4ro_mv_user-management_2018.04.21-(Copy)?node-id=754%3A0
Please use bootstrap classes as much as possible and avoid adding custom css styles to keep the codebase clean & consistent. The new UI should be as similar as possible to the one in figma, not pixel perfect.
Also, make sure all texts are extracted in translation files.