oq-ui-api/geonode/exposure/util.py, views.py:

Adjusted the population query so that it doesn't always operate on
the country level (but can work on any admin level).

This was a bug.
oq-ui-client2/src/exposure/exposure_export.js:

Refactored the client to add the population exposure export option.
oq-ui-api/geonode/exposure/forms.py:

Split forms into Building and Population.

Also changed the way we handle admin level selections (per new requirements).
oq-ui-client2/exposure_building_form.html:

Element ID updates.
oq-ui-client2/exposure_export.html:

Minor fix to the collection of URL_PARAMS, so that we can capture
strings as well (not just numbers).
oq-ui-client2/exposure_export.html:

Changed the id of the div used as a placeholder for the export forms.
oq-ui-api/geonode/exposure/views.py:

Minor fixes.
oq-ui-client2/exposure_population_form.html:

Added exposure population export form.
oq-ui-api/geonode/exposure/util.py:

Added _get_available_admin_levels query function.
oq-ui-api/geonode/exposure/util.py:

Added a query for getting all of the exposure data in a single query,
for the national level.
oq-ui-api/geonode/exposure/util.py:

Removed some unused queries.
oq-ui-api/geonode/exposure/views.py:

Cleaned up the method we use to get the available admin levels in a
given bounding box.
oq-ui-api/geonode/exposure/views.py:

Removed some obsolete/unused exposure generator code.
oq-ui-api/geonode/exposure/views.py:

Started sketching out the national level building exposure export.
oq-ui-api/geonode/exposure/util.py:

Added to a docstring.
oq-ui-api/geonode/exposure/util.py:

Added subnational exposure query.
oq-ui-api/geonode/exposure/views.py:

Removed some unused constants/maps.
oq-ui-api/geonode/exposure/views.py:

Renamed `stream_response_gnerator` to `stream_building_exposure`.
oq-ui-api/geonode/exposure/views.py:

Deleted some comments.
oq-ui-api/geonode/exposure/views.py:

Added subnational export. There is some code duplication, which I'll
fix later.