Code4SA / medicine-price-registry

An API on the South African Single Exit Price mechanism for medicines
http://mpr.code4sa.org
Apache License 2.0
39 stars 16 forks source link

UI changes + fixes #10

Closed ndorfin closed 10 years ago

ndorfin commented 10 years ago

Hey Adi,

This pull request addresses several issues and makes a number of enhancements to the UI. I've added icons for each dosage form type, but you'll notice the data is very inconsistent. Some dosage forms are 3-letter words that don't make any sense. Ideally these should be cleaned up by the API? Some products are also missing their SEPs!

I've also wrapped the results up in an accordion, that is collapsed by default. This'll make mobile usage a tad better.

I fixed the small-screen layout issues for the ingredients and details, and also prioritised the product information, so that the reg-number appears as meta-data in the footer for each product.

Ciao, S

ndorfin commented 10 years ago

Mistakenly introduced some bugs and didn't test before I sent the pull-request. Adding a third commit.