Hide geolocation button by default

- Geolocation button was showing up when geolocation was not supported
(IE8). This hides the button by default and displays it only when
geolocation is supported.
- Removes unneeded ERB.
Moves geolocation button above input field

Fixes #503 - Moves geolocation button on inside location filter input
field above
the input field. This makes it so when the geolocation button is hidden
initially the
layout doesn’t change when the geolocation button shows up.
Update OHANA_API_ENDPOINT to point to HTTPS.

Now that the API has been updated to use HTTPS by default, the endpoint
here needs to be updated.

Make sure to update your local application.yml and update your env var
on Heroku.
Merge pull request #575 from codeforamerica/default-hide-geolcation

Default hide geolcation
Update compass-rails to 2.0.0

- Updates compass-rails to 2.0.0
- Updates compass to 0.12.7
Updates map marker filename

Changes underscore to hyphen to be consistent with file naming
convention in other modules.
Adds applicationjs to all routes

application.js was excluded from the result and detail view routes.
This adds it to all route modules.
Update default location text. Closes #554.
Adds right-hand padding on text input filters

Fixes #562 - adds right-hand padding on text input filters.
Improve page caching & add documentation.

- Disable page caching by default and enable it via the
`ENABLE_CACHING` env var.

-  Don’t cache no results page.
Update and simplify caching documentation.
Update caching documentation.
Update OHANA_API_ENDPOINT to point to HTTPS.

Now that the API has been updated to use HTTPS by default, the endpoint
here needs to be updated.

Make sure to update your local application.yml and update your env var
on Heroku.
Hide geolocation button by default

- Geolocation button was showing up when geolocation was not supported
(IE8). This hides the button by default and displays it only when
geolocation is supported.
- Removes unneeded ERB.
Moves geolocation button above input field

Fixes #503 - Moves geolocation button on inside location filter input
field above
the input field. This makes it so when the geolocation button is hidden
initially the
layout doesn’t change when the geolocation button shows up.
Refactors Google Translate code

- Moves Google Translate initialization to application.js so it’s
applied to all routes.
- Refactors Google Translate Manager to remove polling code and to
integrate Google supplied initialization scripts.
- Refactors language translation link settings:
- Strips whitespace around language code setting so any amount of
spacing can be introduced into the settings and the app won’t silently
not configure the language code URL properly.
- Adds ability to remove all language links and the app won’t break.
Ties into #483.
- Edits language links code comments to be consistent with other
settings in the settings file and adds a space after the colon in the
settings to be consistent with Ruby style guide key/value styling.
- Refactors area above and below search box on homepage so that when
language links are absent the height of the utility area doesn’t
collapse. Also, renames bottom utility area to be more generic.
- Adds translation services section to customization readme.
- Moves google translate manager JS to `util` directory.
- Moves drop-down layout handling code to its own module.
- Capitalizes modules that include creation method for creating a new
instance.
- Adds error handling so if Google script changes container HTML an
error will be thrown.
- Fixes #287 Google Translate cookie wasn’t being set on inside pages.
This commit adds the Google Translate cookie concern to inside pages in
addition to the homepage.
- Adds types to alert manager.
- Adds ability to show alert for when search results need to be updated.
- Removes input-manager.
- Adds type to geolocation button alert
- Adds error type to geolocation button alert.
Merge pull request #574 from codeforamerica/alert-manager-update

Alert manager update
Merge upstream/master into local machine.

For some reason, I had a conflict with my local master branch.
Refactors google maps loading + jshint offenses

- Loads google maps asynchronously using the example code from the
Google Docs at
https://developers.google.com/maps/documentation/javascript/examples/map
-simple-async
- Moves map plugins to the /vendor/ directory instead of having them
inline. Yes!!
- Removes async plugin as it is no longer needed.
- Fixes JSHint offenses.
- Fixes some Haml style guide offenses.