Locations UI and editing (#9480)

* Better handling of errors
Mapquest seems to return the center of the US on error.......

* Editable locations WIP

* Change to bootgrid ajax table WIP

* Graphs working, using handlebars
update js libs
add current location button

* remove sql query, change icon

* Add the map to the device view, only when gps is expanded.
Allow edit on device page, share js code

* fix chevron rotation, improve click area

* extra warning

* fix overview layout (remove containers)

* fix style

* fix html divs, change collapse ui a bit
move css, update css/js versions

* start zoomed out on new locations

* don't double load scripts, zoom to 17

* fix php-md errors, remove unused use statement

* improve non-admin experience

* Move locations page to Laravel
More functions in Url and Html util classes
reduce code duplication

* translation buttons too

* fix whitespace

* move formatters to the frontend

* small changes

* disable traffic for locations with no devices

* change down 0 to green from gray

* missing "

* Fix paginate all

* working fix for paginate all

* allow sort by counts

* fix down sort

* a little safety

* Don't call the function twice

* btn-xs
This commit is contained in:
Tony Murray
2018-11-29 19:23:40 -06:00
committed by GitHub
parent 7c4fac489a
commit 957ecc2441
45 changed files with 1308 additions and 3015 deletions

View File

@@ -92,6 +92,7 @@ class GoogleMapsApi extends BaseApi implements Geocoder
* @param \Psr\Http\Message\ResponseInterface $response
* @param array $data decoded response data
* @return bool
* @throws Exception you may throw an Exception if validation fails
*/
protected function checkResponse($response, $data)
{