diff --git a/bower.json b/bower.json index 2721960..039de8f 100644 --- a/bower.json +++ b/bower.json @@ -3,5 +3,9 @@ "private": "true", "devDependencies": { "ionic": "driftyco/ionic-bower#1.3.1" + }, + "dependencies": { + "angular-material": "^1.1.1", + "ui-leaflet": "^2.0.0" } } diff --git a/config.xml b/config.xml index 19f1cc2..a453b0c 100644 --- a/config.xml +++ b/config.xml @@ -40,8 +40,9 @@ - - + + + + - diff --git a/res/drawable-land-hdpi/screen.png b/res/drawable-land-hdpi/screen.png new file mode 100644 index 0000000..66b12fe Binary files /dev/null and b/res/drawable-land-hdpi/screen.png differ diff --git a/res/drawable-land-ldpi/screen.png b/res/drawable-land-ldpi/screen.png new file mode 100644 index 0000000..7dceec7 Binary files /dev/null and b/res/drawable-land-ldpi/screen.png differ diff --git a/res/drawable-land-mdpi/screen.png b/res/drawable-land-mdpi/screen.png new file mode 100644 index 0000000..0dc2ba7 Binary files /dev/null and b/res/drawable-land-mdpi/screen.png differ diff --git a/res/drawable-land-xhdpi/screen.png b/res/drawable-land-xhdpi/screen.png new file mode 100644 index 0000000..39ae00c Binary files /dev/null and b/res/drawable-land-xhdpi/screen.png differ diff --git a/res/drawable-land-xxhdpi/screen.png b/res/drawable-land-xxhdpi/screen.png new file mode 100644 index 0000000..3f591b1 Binary files /dev/null and b/res/drawable-land-xxhdpi/screen.png differ diff --git a/res/drawable-land-xxxhdpi/screen.png b/res/drawable-land-xxxhdpi/screen.png new file mode 100644 index 0000000..253e6f1 Binary files /dev/null and b/res/drawable-land-xxxhdpi/screen.png differ diff --git a/res/drawable-port-hdpi/screen.png b/res/drawable-port-hdpi/screen.png new file mode 100644 index 0000000..e0dbb62 Binary files /dev/null and b/res/drawable-port-hdpi/screen.png differ diff --git a/res/drawable-port-ldpi/screen.png b/res/drawable-port-ldpi/screen.png new file mode 100644 index 0000000..4c42608 Binary files /dev/null and b/res/drawable-port-ldpi/screen.png differ diff --git a/res/drawable-port-mdpi/screen.png b/res/drawable-port-mdpi/screen.png new file mode 100644 index 0000000..27271d8 Binary files /dev/null and b/res/drawable-port-mdpi/screen.png differ diff --git a/res/drawable-port-xhdpi/screen.png b/res/drawable-port-xhdpi/screen.png new file mode 100644 index 0000000..7126cb5 Binary files /dev/null and b/res/drawable-port-xhdpi/screen.png differ diff --git a/res/drawable-port-xxhdpi/screen.png b/res/drawable-port-xxhdpi/screen.png new file mode 100644 index 0000000..1dd0773 Binary files /dev/null and b/res/drawable-port-xxhdpi/screen.png differ diff --git a/res/drawable-port-xxxhdpi/screen.png b/res/drawable-port-xxxhdpi/screen.png new file mode 100644 index 0000000..ca36dc7 Binary files /dev/null and b/res/drawable-port-xxxhdpi/screen.png differ diff --git a/res/mipmap-hdpi/icon.png b/res/mipmap-hdpi/icon.png new file mode 100644 index 0000000..b910093 Binary files /dev/null and b/res/mipmap-hdpi/icon.png differ diff --git a/res/mipmap-ldpi/icon.png b/res/mipmap-ldpi/icon.png new file mode 100644 index 0000000..16cd5db Binary files /dev/null and b/res/mipmap-ldpi/icon.png differ diff --git a/res/mipmap-mdpi/icon.png b/res/mipmap-mdpi/icon.png new file mode 100644 index 0000000..64a6cbc Binary files /dev/null and b/res/mipmap-mdpi/icon.png differ diff --git a/res/mipmap-xhdpi/icon.png b/res/mipmap-xhdpi/icon.png new file mode 100644 index 0000000..1605f69 Binary files /dev/null and b/res/mipmap-xhdpi/icon.png differ diff --git a/res/mipmap-xxhdpi/icon.png b/res/mipmap-xxhdpi/icon.png new file mode 100644 index 0000000..56fb29e Binary files /dev/null and b/res/mipmap-xxhdpi/icon.png differ diff --git a/res/mipmap-xxxhdpi/icon.png b/res/mipmap-xxxhdpi/icon.png new file mode 100644 index 0000000..e4a9152 Binary files /dev/null and b/res/mipmap-xxxhdpi/icon.png differ diff --git a/www/img/avatars/anteater.png b/www/img/avatars/anteater.png deleted file mode 100644 index 798416a..0000000 Binary files a/www/img/avatars/anteater.png and /dev/null differ diff --git a/www/img/avatars/bat.png b/www/img/avatars/bat.png deleted file mode 100644 index 0516c08..0000000 Binary files a/www/img/avatars/bat.png and /dev/null differ diff --git a/www/img/avatars/beetle.png b/www/img/avatars/beetle.png deleted file mode 100644 index 0f9bd08..0000000 Binary files a/www/img/avatars/beetle.png and /dev/null differ diff --git a/www/img/avatars/bulldog.png b/www/img/avatars/bulldog.png deleted file mode 100644 index a40bf36..0000000 Binary files a/www/img/avatars/bulldog.png and /dev/null differ diff --git a/www/img/avatars/butterfly.png b/www/img/avatars/butterfly.png deleted file mode 100644 index e880707..0000000 Binary files a/www/img/avatars/butterfly.png and /dev/null differ diff --git a/www/img/avatars/camel.png b/www/img/avatars/camel.png deleted file mode 100644 index dedf394..0000000 Binary files a/www/img/avatars/camel.png and /dev/null differ diff --git a/www/img/avatars/cat.png b/www/img/avatars/cat.png deleted file mode 100644 index 2da894e..0000000 Binary files a/www/img/avatars/cat.png and /dev/null differ diff --git a/www/img/avatars/chameleon.png b/www/img/avatars/chameleon.png deleted file mode 100644 index 91f30f6..0000000 Binary files a/www/img/avatars/chameleon.png and /dev/null differ diff --git a/www/img/avatars/clown-fish.png b/www/img/avatars/clown-fish.png deleted file mode 100644 index 2473fcc..0000000 Binary files a/www/img/avatars/clown-fish.png and /dev/null differ diff --git a/www/img/avatars/cobra.png b/www/img/avatars/cobra.png deleted file mode 100644 index bdede1f..0000000 Binary files a/www/img/avatars/cobra.png and /dev/null differ diff --git a/www/img/avatars/cow.png b/www/img/avatars/cow.png deleted file mode 100644 index 36c0ab0..0000000 Binary files a/www/img/avatars/cow.png and /dev/null differ diff --git a/www/img/avatars/crab.png b/www/img/avatars/crab.png deleted file mode 100644 index 673710d..0000000 Binary files a/www/img/avatars/crab.png and /dev/null differ diff --git a/www/img/avatars/crocodile.png b/www/img/avatars/crocodile.png deleted file mode 100644 index a0cc9fb..0000000 Binary files a/www/img/avatars/crocodile.png and /dev/null differ diff --git a/www/img/avatars/duck.png b/www/img/avatars/duck.png deleted file mode 100644 index 2c48212..0000000 Binary files a/www/img/avatars/duck.png and /dev/null differ diff --git a/www/img/avatars/elephant.png b/www/img/avatars/elephant.png deleted file mode 100644 index 8fc8238..0000000 Binary files a/www/img/avatars/elephant.png and /dev/null differ diff --git a/www/img/avatars/frog.png b/www/img/avatars/frog.png deleted file mode 100644 index c41de7c..0000000 Binary files a/www/img/avatars/frog.png and /dev/null differ diff --git a/www/img/avatars/giraffe.png b/www/img/avatars/giraffe.png deleted file mode 100644 index 178bfcc..0000000 Binary files a/www/img/avatars/giraffe.png and /dev/null differ diff --git a/www/img/avatars/hen.png b/www/img/avatars/hen.png deleted file mode 100644 index 7bd5bbf..0000000 Binary files a/www/img/avatars/hen.png and /dev/null differ diff --git a/www/img/avatars/hippopotamus.png b/www/img/avatars/hippopotamus.png deleted file mode 100644 index b8987cf..0000000 Binary files a/www/img/avatars/hippopotamus.png and /dev/null differ diff --git a/www/img/avatars/kangaroo.png b/www/img/avatars/kangaroo.png deleted file mode 100644 index c73debf..0000000 Binary files a/www/img/avatars/kangaroo.png and /dev/null differ diff --git a/www/img/avatars/lion.png b/www/img/avatars/lion.png deleted file mode 100644 index 3865da6..0000000 Binary files a/www/img/avatars/lion.png and /dev/null differ diff --git a/www/img/avatars/llama.png b/www/img/avatars/llama.png deleted file mode 100644 index d02bfef..0000000 Binary files a/www/img/avatars/llama.png and /dev/null differ diff --git a/www/img/avatars/macaw.png b/www/img/avatars/macaw.png deleted file mode 100644 index d8306a6..0000000 Binary files a/www/img/avatars/macaw.png and /dev/null differ diff --git a/www/img/avatars/monkey.png b/www/img/avatars/monkey.png deleted file mode 100644 index 433176d..0000000 Binary files a/www/img/avatars/monkey.png and /dev/null differ diff --git a/www/img/avatars/moose.png b/www/img/avatars/moose.png deleted file mode 100644 index cbae9e8..0000000 Binary files a/www/img/avatars/moose.png and /dev/null differ diff --git a/www/img/avatars/mouse.png b/www/img/avatars/mouse.png deleted file mode 100644 index 1d6d69a..0000000 Binary files a/www/img/avatars/mouse.png and /dev/null differ diff --git a/www/img/avatars/octopus.png b/www/img/avatars/octopus.png deleted file mode 100644 index 427c31c..0000000 Binary files a/www/img/avatars/octopus.png and /dev/null differ diff --git a/www/img/avatars/ostrich.png b/www/img/avatars/ostrich.png deleted file mode 100644 index e4497e4..0000000 Binary files a/www/img/avatars/ostrich.png and /dev/null differ diff --git a/www/img/avatars/owl.png b/www/img/avatars/owl.png deleted file mode 100644 index 732dc88..0000000 Binary files a/www/img/avatars/owl.png and /dev/null differ diff --git a/www/img/avatars/panda.png b/www/img/avatars/panda.png deleted file mode 100644 index e06893c..0000000 Binary files a/www/img/avatars/panda.png and /dev/null differ diff --git a/www/img/avatars/pelican.png b/www/img/avatars/pelican.png deleted file mode 100644 index 547041f..0000000 Binary files a/www/img/avatars/pelican.png and /dev/null differ diff --git a/www/img/avatars/penguin.png b/www/img/avatars/penguin.png deleted file mode 100644 index 295e7f1..0000000 Binary files a/www/img/avatars/penguin.png and /dev/null differ diff --git a/www/img/avatars/pig.png b/www/img/avatars/pig.png deleted file mode 100644 index 1f3f237..0000000 Binary files a/www/img/avatars/pig.png and /dev/null differ diff --git a/www/img/avatars/rabbit.png b/www/img/avatars/rabbit.png deleted file mode 100644 index cf23843..0000000 Binary files a/www/img/avatars/rabbit.png and /dev/null differ diff --git a/www/img/avatars/ray.png b/www/img/avatars/ray.png deleted file mode 100644 index f421efd..0000000 Binary files a/www/img/avatars/ray.png and /dev/null differ diff --git a/www/img/avatars/rhinoceros.png b/www/img/avatars/rhinoceros.png deleted file mode 100644 index 0d2601e..0000000 Binary files a/www/img/avatars/rhinoceros.png and /dev/null differ diff --git a/www/img/avatars/sea-cow.png b/www/img/avatars/sea-cow.png deleted file mode 100644 index 6585715..0000000 Binary files a/www/img/avatars/sea-cow.png and /dev/null differ diff --git a/www/img/avatars/shark.png b/www/img/avatars/shark.png deleted file mode 100644 index 24804b7..0000000 Binary files a/www/img/avatars/shark.png and /dev/null differ diff --git a/www/img/avatars/sheep.png b/www/img/avatars/sheep.png deleted file mode 100644 index 451bfde..0000000 Binary files a/www/img/avatars/sheep.png and /dev/null differ diff --git a/www/img/avatars/siberian-husky.png b/www/img/avatars/siberian-husky.png deleted file mode 100644 index 9de786f..0000000 Binary files a/www/img/avatars/siberian-husky.png and /dev/null differ diff --git a/www/img/avatars/sloth.png b/www/img/avatars/sloth.png deleted file mode 100644 index 2f7322a..0000000 Binary files a/www/img/avatars/sloth.png and /dev/null differ diff --git a/www/img/avatars/snake.png b/www/img/avatars/snake.png deleted file mode 100644 index 19567d9..0000000 Binary files a/www/img/avatars/snake.png and /dev/null differ diff --git a/www/img/avatars/spider.png b/www/img/avatars/spider.png deleted file mode 100644 index 4c5fc5b..0000000 Binary files a/www/img/avatars/spider.png and /dev/null differ diff --git a/www/img/avatars/squirrel.png b/www/img/avatars/squirrel.png deleted file mode 100644 index f4afbd3..0000000 Binary files a/www/img/avatars/squirrel.png and /dev/null differ diff --git a/www/img/avatars/swan.png b/www/img/avatars/swan.png deleted file mode 100644 index 713525a..0000000 Binary files a/www/img/avatars/swan.png and /dev/null differ diff --git a/www/img/avatars/tiger.png b/www/img/avatars/tiger.png deleted file mode 100644 index b85ee3d..0000000 Binary files a/www/img/avatars/tiger.png and /dev/null differ diff --git a/www/img/avatars/toucan.png b/www/img/avatars/toucan.png deleted file mode 100644 index d16afd8..0000000 Binary files a/www/img/avatars/toucan.png and /dev/null differ diff --git a/www/img/avatars/turtle.png b/www/img/avatars/turtle.png deleted file mode 100644 index b589cba..0000000 Binary files a/www/img/avatars/turtle.png and /dev/null differ diff --git a/www/img/avatars/whale.png b/www/img/avatars/whale.png deleted file mode 100644 index db39b49..0000000 Binary files a/www/img/avatars/whale.png and /dev/null differ diff --git a/www/img/carimg/aerial-tramway.png b/www/img/carimg/aerial-tramway.png deleted file mode 100644 index 668d19e..0000000 Binary files a/www/img/carimg/aerial-tramway.png and /dev/null differ diff --git a/www/img/carimg/aeroplane.png b/www/img/carimg/aeroplane.png deleted file mode 100644 index 87dbecb..0000000 Binary files a/www/img/carimg/aeroplane.png and /dev/null differ diff --git a/www/img/carimg/airplane.png b/www/img/carimg/airplane.png deleted file mode 100644 index 73e764c..0000000 Binary files a/www/img/carimg/airplane.png and /dev/null differ diff --git a/www/img/carimg/auto-ricksaw.png b/www/img/carimg/auto-ricksaw.png deleted file mode 100644 index bccbbb5..0000000 Binary files a/www/img/carimg/auto-ricksaw.png and /dev/null differ diff --git a/www/img/carimg/beetle.png b/www/img/carimg/beetle.png deleted file mode 100644 index f2b6489..0000000 Binary files a/www/img/carimg/beetle.png and /dev/null differ diff --git a/www/img/carimg/bike.png b/www/img/carimg/bike.png deleted file mode 100644 index b7161ff..0000000 Binary files a/www/img/carimg/bike.png and /dev/null differ diff --git a/www/img/carimg/boat-1.png b/www/img/carimg/boat-1.png deleted file mode 100644 index ebc556e..0000000 Binary files a/www/img/carimg/boat-1.png and /dev/null differ diff --git a/www/img/carimg/boat-2.png b/www/img/carimg/boat-2.png deleted file mode 100644 index 54c52b4..0000000 Binary files a/www/img/carimg/boat-2.png and /dev/null differ diff --git a/www/img/carimg/boat.png b/www/img/carimg/boat.png deleted file mode 100644 index ed707ff..0000000 Binary files a/www/img/carimg/boat.png and /dev/null differ diff --git a/www/img/carimg/bus.png b/www/img/carimg/bus.png deleted file mode 100644 index 4cb5d95..0000000 Binary files a/www/img/carimg/bus.png and /dev/null differ diff --git a/www/img/carimg/car.png b/www/img/carimg/car.png deleted file mode 100644 index b7c8440..0000000 Binary files a/www/img/carimg/car.png and /dev/null differ diff --git a/www/img/carimg/catamaran.png b/www/img/carimg/catamaran.png deleted file mode 100644 index 77fd3bd..0000000 Binary files a/www/img/carimg/catamaran.png and /dev/null differ diff --git a/www/img/carimg/chairlift.png b/www/img/carimg/chairlift.png deleted file mode 100644 index f81f7e0..0000000 Binary files a/www/img/carimg/chairlift.png and /dev/null differ diff --git a/www/img/carimg/classic-car.png b/www/img/carimg/classic-car.png deleted file mode 100644 index cd3ba48..0000000 Binary files a/www/img/carimg/classic-car.png and /dev/null differ diff --git a/www/img/carimg/double-decker-bus.png b/www/img/carimg/double-decker-bus.png deleted file mode 100644 index 9c79098..0000000 Binary files a/www/img/carimg/double-decker-bus.png and /dev/null differ diff --git a/www/img/carimg/helicopter.png b/www/img/carimg/helicopter.png deleted file mode 100644 index 05a018b..0000000 Binary files a/www/img/carimg/helicopter.png and /dev/null differ diff --git a/www/img/carimg/hot-air-balloon.png b/www/img/carimg/hot-air-balloon.png deleted file mode 100644 index a05a93d..0000000 Binary files a/www/img/carimg/hot-air-balloon.png and /dev/null differ diff --git a/www/img/carimg/house-boat.png b/www/img/carimg/house-boat.png deleted file mode 100644 index 23d4a20..0000000 Binary files a/www/img/carimg/house-boat.png and /dev/null differ diff --git a/www/img/carimg/jeep.png b/www/img/carimg/jeep.png deleted file mode 100644 index 3aef2c6..0000000 Binary files a/www/img/carimg/jeep.png and /dev/null differ diff --git a/www/img/carimg/jet-boating.png b/www/img/carimg/jet-boating.png deleted file mode 100644 index 429a43e..0000000 Binary files a/www/img/carimg/jet-boating.png and /dev/null differ diff --git a/www/img/carimg/locomotive.png b/www/img/carimg/locomotive.png deleted file mode 100644 index df725bc..0000000 Binary files a/www/img/carimg/locomotive.png and /dev/null differ diff --git a/www/img/carimg/lorry.png b/www/img/carimg/lorry.png deleted file mode 100644 index 77e9e7a..0000000 Binary files a/www/img/carimg/lorry.png and /dev/null differ diff --git a/www/img/carimg/minibus.png b/www/img/carimg/minibus.png deleted file mode 100644 index 674cf05..0000000 Binary files a/www/img/carimg/minibus.png and /dev/null differ diff --git a/www/img/carimg/minivan-taxi.png b/www/img/carimg/minivan-taxi.png deleted file mode 100644 index b1cf6ea..0000000 Binary files a/www/img/carimg/minivan-taxi.png and /dev/null differ diff --git a/www/img/carimg/minivan.png b/www/img/carimg/minivan.png deleted file mode 100644 index c482735..0000000 Binary files a/www/img/carimg/minivan.png and /dev/null differ diff --git a/www/img/carimg/monorail.png b/www/img/carimg/monorail.png deleted file mode 100644 index 634699e..0000000 Binary files a/www/img/carimg/monorail.png and /dev/null differ diff --git a/www/img/carimg/motorbike.png b/www/img/carimg/motorbike.png deleted file mode 100644 index 34cac6c..0000000 Binary files a/www/img/carimg/motorbike.png and /dev/null differ diff --git a/www/img/carimg/quad.png b/www/img/carimg/quad.png deleted file mode 100644 index ac06540..0000000 Binary files a/www/img/carimg/quad.png and /dev/null differ diff --git a/www/img/carimg/sailboat.png b/www/img/carimg/sailboat.png deleted file mode 100644 index b3f77c0..0000000 Binary files a/www/img/carimg/sailboat.png and /dev/null differ diff --git a/www/img/carimg/sailing-ship.png b/www/img/carimg/sailing-ship.png deleted file mode 100644 index 9fbccc0..0000000 Binary files a/www/img/carimg/sailing-ship.png and /dev/null differ diff --git a/www/img/carimg/school-bus.png b/www/img/carimg/school-bus.png deleted file mode 100644 index f2e45e4..0000000 Binary files a/www/img/carimg/school-bus.png and /dev/null differ diff --git a/www/img/carimg/sidecar.png b/www/img/carimg/sidecar.png deleted file mode 100644 index d885249..0000000 Binary files a/www/img/carimg/sidecar.png and /dev/null differ diff --git a/www/img/carimg/spaceship.png b/www/img/carimg/spaceship.png deleted file mode 100644 index f123dde..0000000 Binary files a/www/img/carimg/spaceship.png and /dev/null differ diff --git a/www/img/carimg/sport-car.png b/www/img/carimg/sport-car.png deleted file mode 100644 index 6ae0297..0000000 Binary files a/www/img/carimg/sport-car.png and /dev/null differ diff --git a/www/img/carimg/station-wagon.png b/www/img/carimg/station-wagon.png deleted file mode 100644 index d08b2e2..0000000 Binary files a/www/img/carimg/station-wagon.png and /dev/null differ diff --git a/www/img/carimg/submarine.png b/www/img/carimg/submarine.png deleted file mode 100644 index 27b46ae..0000000 Binary files a/www/img/carimg/submarine.png and /dev/null differ diff --git a/www/img/carimg/taxi.png b/www/img/carimg/taxi.png deleted file mode 100644 index 928d971..0000000 Binary files a/www/img/carimg/taxi.png and /dev/null differ diff --git a/www/img/carimg/tractor.png b/www/img/carimg/tractor.png deleted file mode 100644 index c19d1cd..0000000 Binary files a/www/img/carimg/tractor.png and /dev/null differ diff --git a/www/img/carimg/train-1.png b/www/img/carimg/train-1.png deleted file mode 100644 index 0cc8e8d..0000000 Binary files a/www/img/carimg/train-1.png and /dev/null differ diff --git a/www/img/carimg/train-2.png b/www/img/carimg/train-2.png deleted file mode 100644 index 98073f2..0000000 Binary files a/www/img/carimg/train-2.png and /dev/null differ diff --git a/www/img/carimg/train.png b/www/img/carimg/train.png deleted file mode 100644 index 7cfa283..0000000 Binary files a/www/img/carimg/train.png and /dev/null differ diff --git a/www/img/carimg/tram.png b/www/img/carimg/tram.png deleted file mode 100644 index cc344f2..0000000 Binary files a/www/img/carimg/tram.png and /dev/null differ diff --git a/www/img/carimg/tricycle.png b/www/img/carimg/tricycle.png deleted file mode 100644 index 9e078b5..0000000 Binary files a/www/img/carimg/tricycle.png and /dev/null differ diff --git a/www/img/carimg/trolleybus.png b/www/img/carimg/trolleybus.png deleted file mode 100644 index 412fb54..0000000 Binary files a/www/img/carimg/trolleybus.png and /dev/null differ diff --git a/www/img/carimg/truck.png b/www/img/carimg/truck.png deleted file mode 100644 index 5069f2e..0000000 Binary files a/www/img/carimg/truck.png and /dev/null differ diff --git a/www/img/carimg/ufo.png b/www/img/carimg/ufo.png deleted file mode 100644 index 7fc7013..0000000 Binary files a/www/img/carimg/ufo.png and /dev/null differ diff --git a/www/img/carimg/underground.png b/www/img/carimg/underground.png deleted file mode 100644 index d9bd619..0000000 Binary files a/www/img/carimg/underground.png and /dev/null differ diff --git a/www/img/carimg/van.png b/www/img/carimg/van.png deleted file mode 100644 index 1bfb384..0000000 Binary files a/www/img/carimg/van.png and /dev/null differ diff --git a/www/img/carimg/volskwagen-van.png b/www/img/carimg/volskwagen-van.png deleted file mode 100644 index d2755c2..0000000 Binary files a/www/img/carimg/volskwagen-van.png and /dev/null differ diff --git a/www/index.html b/www/index.html index 8fd539f..0bddfcd 100644 --- a/www/index.html +++ b/www/index.html @@ -14,12 +14,11 @@ - - - - - - + + + + + @@ -27,6 +26,13 @@ + + + + + + + diff --git a/www/js/app.js b/www/js/app.js index 01d28e7..2b72f12 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -6,9 +6,9 @@ // 'starter.controllers' is found in controllers.js -//var urlapi = "http://localhost:3000/api/"; +var urlapi = "http://localhost:3000/api/"; //var urlapi="https://collectivecar.paas.primustech.io/api/"; -var urlapi="http://147.83.7.158:3000/api/"; +//var urlapi="http://147.83.7.158:3000/api/"; angular.module('starter', [ diff --git a/www/js/offerCar.js b/www/js/offerCar.js index 6e16c9a..fd44b3f 100644 --- a/www/js/offerCar.js +++ b/www/js/offerCar.js @@ -1,9 +1,24 @@ -angular.module('app.offerCar', ['pascalprecht.translate']) +angular.module('app.offerCar', ['pascalprecht.translate', 'ui-leaflet']) .controller('OfferCarCtrl', function($scope, $stateParams, $translate, $http, $filter) { $scope.newtravel={}; + $scope.newtravel.from={ + lat: 0, + long:0 + }; + $scope.newtravel.to={ + lat: 0, + long:0 + }; + $scope.center= { + lat: 0, + lng: 0, + zoom: 1 + }; + $scope.markers=new Array(); + $scope.createTravel =function(){ $scope.newtravel.type="offering"; $http({ @@ -20,4 +35,31 @@ angular.module('app.offerCar', ['pascalprecht.translate']) console.log(data); }); }; + $scope.getGeo = function(){ + + $scope.markers=[]; + console.log($scope.newtravel.from.name); + console.log($scope.newtravel.to.name); + $http.get('http://nominatim.openstreetmap.org/search?q=' + $scope.newtravel.from.name + '&format=json&limit=1') + .then(function(data) { + $scope.newtravel.from.lat=data.data[0].lat; + $scope.newtravel.from.long=data.data[0].lon; + $scope.markers.push({ + lat: Number(data.data[0].lat), + lng: Number(data.data[0].lon), + message: data.data[0].display_name + }); + $http.get('http://nominatim.openstreetmap.org/search?q=' + $scope.newtravel.to.name + '&format=json&limit=1') + .then(function(data) { + $scope.newtravel.to.lat=data.data[0].lat; + $scope.newtravel.to.long=data.data[0].lon; + $scope.markers.push({ + lat: Number(data.data[0].lat), + lng: Number(data.data[0].lon), + message: data.data[0].display_name + }); + }); + }); + + }; }); diff --git a/www/js/travel.js b/www/js/travel.js index 05c8892..9b0bab8 100644 --- a/www/js/travel.js +++ b/www/js/travel.js @@ -1,6 +1,14 @@ -angular.module('app.travel', ['pascalprecht.translate']) +angular.module('app.travel', ['pascalprecht.translate', 'ui-leaflet']) -.controller('TravelCtrl', function($scope, $stateParams, $http, $ionicModal, $ionicLoading, $ionicPopup, $filter) { +.controller('TravelCtrl', function($scope, $stateParams, $http, + $ionicModal, $ionicLoading, $ionicPopup, $filter) { + + $scope.center= { + lat: 0, + lng: 0, + zoom: 1 + }; + $scope.markers=[]; $scope.travel={}; $scope.doRefresh = function() { @@ -10,6 +18,17 @@ angular.module('app.travel', ['pascalprecht.translate']) console.log('data success travels'); console.log(data); // for browser console $scope.travel = data.data; // for UI + $scope.markers=[]; + $scope.markers.push({ + lat: Number($scope.travel.from.lat), + lng: Number($scope.travel.from.long), + message: $scope.travel.from.name + }); + $scope.markers.push({ + lat: Number($scope.travel.to.lat), + lng: Number($scope.travel.to.long), + message: $scope.travel.to.name + }); $scope.$broadcast('scroll.refreshComplete');//refresher stop }, function(data){ diff --git a/www/lib/angular-aria/.bower.json b/www/lib/angular-aria/.bower.json new file mode 100644 index 0000000..9355836 --- /dev/null +++ b/www/lib/angular-aria/.bower.json @@ -0,0 +1,20 @@ +{ + "name": "angular-aria", + "version": "1.6.1", + "license": "MIT", + "main": "./angular-aria.js", + "ignore": [], + "dependencies": { + "angular": "1.6.1" + }, + "homepage": "https://github.com/angular/bower-angular-aria", + "_release": "1.6.1", + "_resolution": { + "type": "version", + "tag": "v1.6.1", + "commit": "ea49a3f40a21e9c85ca7157e06f51c3d3a7cd516" + }, + "_source": "https://github.com/angular/bower-angular-aria.git", + "_target": "^1.4.8", + "_originalSource": "angular-aria" +} \ No newline at end of file diff --git a/www/lib/angular-aria/LICENSE.md b/www/lib/angular-aria/LICENSE.md new file mode 100644 index 0000000..2c395ee --- /dev/null +++ b/www/lib/angular-aria/LICENSE.md @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Angular + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/www/lib/angular-aria/README.md b/www/lib/angular-aria/README.md new file mode 100644 index 0000000..04c5a8f --- /dev/null +++ b/www/lib/angular-aria/README.md @@ -0,0 +1,67 @@ +# packaged angular-aria + +This repo is for distribution on `npm` and `bower`. The source for this module is in the +[main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngAria). +Please file issues and pull requests against that repo. + +## Install + +You can install this package either with `npm` or with `bower`. + +### npm + +```shell +npm install angular-aria +``` +Then add `ngAria` as a dependency for your app: + +```javascript +angular.module('myApp', [require('angular-aria')]); +``` + +### bower + +```shell +bower install angular-aria +``` + +Add a ` +``` + +Then add `ngAria` as a dependency for your app: + +```javascript +angular.module('myApp', ['ngAria']); +``` + +## Documentation + +Documentation is available on the +[AngularJS docs site](http://docs.angularjs.org/api/ngAria). + +## License + +The MIT License + +Copyright (c) 2010-2015 Google, Inc. http://angularjs.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/www/lib/angular-aria/angular-aria.js b/www/lib/angular-aria/angular-aria.js new file mode 100644 index 0000000..ac3723d --- /dev/null +++ b/www/lib/angular-aria/angular-aria.js @@ -0,0 +1,402 @@ +/** + * @license AngularJS v1.6.1 + * (c) 2010-2016 Google, Inc. http://angularjs.org + * License: MIT + */ +(function(window, angular) {'use strict'; + +/** + * @ngdoc module + * @name ngAria + * @description + * + * The `ngAria` module provides support for common + * [ARIA](http://www.w3.org/TR/wai-aria/) + * attributes that convey state or semantic information about the application for users + * of assistive technologies, such as screen readers. + * + *
+ * + * ## Usage + * + * For ngAria to do its magic, simply include the module `ngAria` as a dependency. The following + * directives are supported: + * `ngModel`, `ngChecked`, `ngReadonly`, `ngRequired`, `ngValue`, `ngDisabled`, `ngShow`, `ngHide`, `ngClick`, + * `ngDblClick`, and `ngMessages`. + * + * Below is a more detailed breakdown of the attributes handled by ngAria: + * + * | Directive | Supported Attributes | + * |---------------------------------------------|-----------------------------------------------------------------------------------------------------| + * | {@link ng.directive:ngModel ngModel} | aria-checked, aria-valuemin, aria-valuemax, aria-valuenow, aria-invalid, aria-required, input roles | + * | {@link ng.directive:ngDisabled ngDisabled} | aria-disabled | + * | {@link ng.directive:ngRequired ngRequired} | aria-required | + * | {@link ng.directive:ngChecked ngChecked} | aria-checked | + * | {@link ng.directive:ngReadonly ngReadonly} | aria-readonly | + * | {@link ng.directive:ngValue ngValue} | aria-checked | + * | {@link ng.directive:ngShow ngShow} | aria-hidden | + * | {@link ng.directive:ngHide ngHide} | aria-hidden | + * | {@link ng.directive:ngDblclick ngDblclick} | tabindex | + * | {@link module:ngMessages ngMessages} | aria-live | + * | {@link ng.directive:ngClick ngClick} | tabindex, keydown event, button role | + * + * Find out more information about each directive by reading the + * {@link guide/accessibility ngAria Developer Guide}. + * + * ## Example + * Using ngDisabled with ngAria: + * ```html + * + * ``` + * Becomes: + * ```html + * + * ``` + * + * ## Disabling Attributes + * It's possible to disable individual attributes added by ngAria with the + * {@link ngAria.$ariaProvider#config config} method. For more details, see the + * {@link guide/accessibility Developer Guide}. + */ +var ngAriaModule = angular.module('ngAria', ['ng']). + provider('$aria', $AriaProvider); + +/** +* Internal Utilities +*/ +var nodeBlackList = ['BUTTON', 'A', 'INPUT', 'TEXTAREA', 'SELECT', 'DETAILS', 'SUMMARY']; + +var isNodeOneOf = function(elem, nodeTypeArray) { + if (nodeTypeArray.indexOf(elem[0].nodeName) !== -1) { + return true; + } +}; +/** + * @ngdoc provider + * @name $ariaProvider + * @this + * + * @description + * + * Used for configuring the ARIA attributes injected and managed by ngAria. + * + * ```js + * angular.module('myApp', ['ngAria'], function config($ariaProvider) { + * $ariaProvider.config({ + * ariaValue: true, + * tabindex: false + * }); + * }); + *``` + * + * ## Dependencies + * Requires the {@link ngAria} module to be installed. + * + */ +function $AriaProvider() { + var config = { + ariaHidden: true, + ariaChecked: true, + ariaReadonly: true, + ariaDisabled: true, + ariaRequired: true, + ariaInvalid: true, + ariaValue: true, + tabindex: true, + bindKeydown: true, + bindRoleForClick: true + }; + + /** + * @ngdoc method + * @name $ariaProvider#config + * + * @param {object} config object to enable/disable specific ARIA attributes + * + * - **ariaHidden** – `{boolean}` – Enables/disables aria-hidden tags + * - **ariaChecked** – `{boolean}` – Enables/disables aria-checked tags + * - **ariaReadonly** – `{boolean}` – Enables/disables aria-readonly tags + * - **ariaDisabled** – `{boolean}` – Enables/disables aria-disabled tags + * - **ariaRequired** – `{boolean}` – Enables/disables aria-required tags + * - **ariaInvalid** – `{boolean}` – Enables/disables aria-invalid tags + * - **ariaValue** – `{boolean}` – Enables/disables aria-valuemin, aria-valuemax and + * aria-valuenow tags + * - **tabindex** – `{boolean}` – Enables/disables tabindex tags + * - **bindKeydown** – `{boolean}` – Enables/disables keyboard event binding on non-interactive + * elements (such as `div` or `li`) using ng-click, making them more accessible to users of + * assistive technologies + * - **bindRoleForClick** – `{boolean}` – Adds role=button to non-interactive elements (such as + * `div` or `li`) using ng-click, making them more accessible to users of assistive + * technologies + * + * @description + * Enables/disables various ARIA attributes + */ + this.config = function(newConfig) { + config = angular.extend(config, newConfig); + }; + + function watchExpr(attrName, ariaAttr, nodeBlackList, negate) { + return function(scope, elem, attr) { + var ariaCamelName = attr.$normalize(ariaAttr); + if (config[ariaCamelName] && !isNodeOneOf(elem, nodeBlackList) && !attr[ariaCamelName]) { + scope.$watch(attr[attrName], function(boolVal) { + // ensure boolean value + boolVal = negate ? !boolVal : !!boolVal; + elem.attr(ariaAttr, boolVal); + }); + } + }; + } + /** + * @ngdoc service + * @name $aria + * + * @description + * @priority 200 + * + * The $aria service contains helper methods for applying common + * [ARIA](http://www.w3.org/TR/wai-aria/) attributes to HTML directives. + * + * ngAria injects common accessibility attributes that tell assistive technologies when HTML + * elements are enabled, selected, hidden, and more. To see how this is performed with ngAria, + * let's review a code snippet from ngAria itself: + * + *```js + * ngAriaModule.directive('ngDisabled', ['$aria', function($aria) { + * return $aria.$$watchExpr('ngDisabled', 'aria-disabled', nodeBlackList, false); + * }]) + *``` + * Shown above, the ngAria module creates a directive with the same signature as the + * traditional `ng-disabled` directive. But this ngAria version is dedicated to + * solely managing accessibility attributes on custom elements. The internal `$aria` service is + * used to watch the boolean attribute `ngDisabled`. If it has not been explicitly set by the + * developer, `aria-disabled` is injected as an attribute with its value synchronized to the + * value in `ngDisabled`. + * + * Because ngAria hooks into the `ng-disabled` directive, developers do not have to do + * anything to enable this feature. The `aria-disabled` attribute is automatically managed + * simply as a silent side-effect of using `ng-disabled` with the ngAria module. + * + * The full list of directives that interface with ngAria: + * * **ngModel** + * * **ngChecked** + * * **ngReadonly** + * * **ngRequired** + * * **ngDisabled** + * * **ngValue** + * * **ngShow** + * * **ngHide** + * * **ngClick** + * * **ngDblclick** + * * **ngMessages** + * + * Read the {@link guide/accessibility ngAria Developer Guide} for a thorough explanation of each + * directive. + * + * + * ## Dependencies + * Requires the {@link ngAria} module to be installed. + */ + this.$get = function() { + return { + config: function(key) { + return config[key]; + }, + $$watchExpr: watchExpr + }; + }; +} + + +ngAriaModule.directive('ngShow', ['$aria', function($aria) { + return $aria.$$watchExpr('ngShow', 'aria-hidden', [], true); +}]) +.directive('ngHide', ['$aria', function($aria) { + return $aria.$$watchExpr('ngHide', 'aria-hidden', [], false); +}]) +.directive('ngValue', ['$aria', function($aria) { + return $aria.$$watchExpr('ngValue', 'aria-checked', nodeBlackList, false); +}]) +.directive('ngChecked', ['$aria', function($aria) { + return $aria.$$watchExpr('ngChecked', 'aria-checked', nodeBlackList, false); +}]) +.directive('ngReadonly', ['$aria', function($aria) { + return $aria.$$watchExpr('ngReadonly', 'aria-readonly', nodeBlackList, false); +}]) +.directive('ngRequired', ['$aria', function($aria) { + return $aria.$$watchExpr('ngRequired', 'aria-required', nodeBlackList, false); +}]) +.directive('ngModel', ['$aria', function($aria) { + + function shouldAttachAttr(attr, normalizedAttr, elem, allowBlacklistEls) { + return $aria.config(normalizedAttr) && !elem.attr(attr) && (allowBlacklistEls || !isNodeOneOf(elem, nodeBlackList)); + } + + function shouldAttachRole(role, elem) { + // if element does not have role attribute + // AND element type is equal to role (if custom element has a type equaling shape) <-- remove? + // AND element is not in nodeBlackList + return !elem.attr('role') && (elem.attr('type') === role) && !isNodeOneOf(elem, nodeBlackList); + } + + function getShape(attr, elem) { + var type = attr.type, + role = attr.role; + + return ((type || role) === 'checkbox' || role === 'menuitemcheckbox') ? 'checkbox' : + ((type || role) === 'radio' || role === 'menuitemradio') ? 'radio' : + (type === 'range' || role === 'progressbar' || role === 'slider') ? 'range' : ''; + } + + return { + restrict: 'A', + require: 'ngModel', + priority: 200, //Make sure watches are fired after any other directives that affect the ngModel value + compile: function(elem, attr) { + var shape = getShape(attr, elem); + + return { + post: function(scope, elem, attr, ngModel) { + var needsTabIndex = shouldAttachAttr('tabindex', 'tabindex', elem, false); + + function ngAriaWatchModelValue() { + return ngModel.$modelValue; + } + + function getRadioReaction(newVal) { + // Strict comparison would cause a BC + // eslint-disable-next-line eqeqeq + var boolVal = (attr.value == ngModel.$viewValue); + elem.attr('aria-checked', boolVal); + } + + function getCheckboxReaction() { + elem.attr('aria-checked', !ngModel.$isEmpty(ngModel.$viewValue)); + } + + switch (shape) { + case 'radio': + case 'checkbox': + if (shouldAttachRole(shape, elem)) { + elem.attr('role', shape); + } + if (shouldAttachAttr('aria-checked', 'ariaChecked', elem, false)) { + scope.$watch(ngAriaWatchModelValue, shape === 'radio' ? + getRadioReaction : getCheckboxReaction); + } + if (needsTabIndex) { + elem.attr('tabindex', 0); + } + break; + case 'range': + if (shouldAttachRole(shape, elem)) { + elem.attr('role', 'slider'); + } + if ($aria.config('ariaValue')) { + var needsAriaValuemin = !elem.attr('aria-valuemin') && + (attr.hasOwnProperty('min') || attr.hasOwnProperty('ngMin')); + var needsAriaValuemax = !elem.attr('aria-valuemax') && + (attr.hasOwnProperty('max') || attr.hasOwnProperty('ngMax')); + var needsAriaValuenow = !elem.attr('aria-valuenow'); + + if (needsAriaValuemin) { + attr.$observe('min', function ngAriaValueMinReaction(newVal) { + elem.attr('aria-valuemin', newVal); + }); + } + if (needsAriaValuemax) { + attr.$observe('max', function ngAriaValueMinReaction(newVal) { + elem.attr('aria-valuemax', newVal); + }); + } + if (needsAriaValuenow) { + scope.$watch(ngAriaWatchModelValue, function ngAriaValueNowReaction(newVal) { + elem.attr('aria-valuenow', newVal); + }); + } + } + if (needsTabIndex) { + elem.attr('tabindex', 0); + } + break; + } + + if (!attr.hasOwnProperty('ngRequired') && ngModel.$validators.required + && shouldAttachAttr('aria-required', 'ariaRequired', elem, false)) { + // ngModel.$error.required is undefined on custom controls + attr.$observe('required', function() { + elem.attr('aria-required', !!attr['required']); + }); + } + + if (shouldAttachAttr('aria-invalid', 'ariaInvalid', elem, true)) { + scope.$watch(function ngAriaInvalidWatch() { + return ngModel.$invalid; + }, function ngAriaInvalidReaction(newVal) { + elem.attr('aria-invalid', !!newVal); + }); + } + } + }; + } + }; +}]) +.directive('ngDisabled', ['$aria', function($aria) { + return $aria.$$watchExpr('ngDisabled', 'aria-disabled', nodeBlackList, false); +}]) +.directive('ngMessages', function() { + return { + restrict: 'A', + require: '?ngMessages', + link: function(scope, elem, attr, ngMessages) { + if (!elem.attr('aria-live')) { + elem.attr('aria-live', 'assertive'); + } + } + }; +}) +.directive('ngClick',['$aria', '$parse', function($aria, $parse) { + return { + restrict: 'A', + compile: function(elem, attr) { + var fn = $parse(attr.ngClick, /* interceptorFn */ null, /* expensiveChecks */ true); + return function(scope, elem, attr) { + + if (!isNodeOneOf(elem, nodeBlackList)) { + + if ($aria.config('bindRoleForClick') && !elem.attr('role')) { + elem.attr('role', 'button'); + } + + if ($aria.config('tabindex') && !elem.attr('tabindex')) { + elem.attr('tabindex', 0); + } + + if ($aria.config('bindKeydown') && !attr.ngKeydown && !attr.ngKeypress && !attr.ngKeyup) { + elem.on('keydown', function(event) { + var keyCode = event.which || event.keyCode; + if (keyCode === 32 || keyCode === 13) { + scope.$apply(callback); + } + + function callback() { + fn(scope, { $event: event }); + } + }); + } + } + }; + } + }; +}]) +.directive('ngDblclick', ['$aria', function($aria) { + return function(scope, elem, attr) { + if ($aria.config('tabindex') && !elem.attr('tabindex') && !isNodeOneOf(elem, nodeBlackList)) { + elem.attr('tabindex', 0); + } + }; +}]); + + +})(window, window.angular); diff --git a/www/lib/angular-aria/angular-aria.min.js b/www/lib/angular-aria/angular-aria.min.js new file mode 100644 index 0000000..a56820d --- /dev/null +++ b/www/lib/angular-aria/angular-aria.min.js @@ -0,0 +1,14 @@ +/* + AngularJS v1.6.1 + (c) 2010-2016 Google, Inc. http://angularjs.org + License: MIT +*/ +(function(s,p){'use strict';var c="BUTTON A INPUT TEXTAREA SELECT DETAILS SUMMARY".split(" "),h=function(a,b){if(-1!==b.indexOf(a[0].nodeName))return!0};p.module("ngAria",["ng"]).provider("$aria",function(){function a(a,c,n,k){return function(d,f,e){var g=e.$normalize(c);!b[g]||h(f,n)||e[g]||d.$watch(e[a],function(a){a=k?!a:!!a;f.attr(c,a)})}}var b={ariaHidden:!0,ariaChecked:!0,ariaReadonly:!0,ariaDisabled:!0,ariaRequired:!0,ariaInvalid:!0,ariaValue:!0,tabindex:!0,bindKeydown:!0,bindRoleForClick:!0}; +this.config=function(a){b=p.extend(b,a)};this.$get=function(){return{config:function(a){return b[a]},$$watchExpr:a}}}).directive("ngShow",["$aria",function(a){return a.$$watchExpr("ngShow","aria-hidden",[],!0)}]).directive("ngHide",["$aria",function(a){return a.$$watchExpr("ngHide","aria-hidden",[],!1)}]).directive("ngValue",["$aria",function(a){return a.$$watchExpr("ngValue","aria-checked",c,!1)}]).directive("ngChecked",["$aria",function(a){return a.$$watchExpr("ngChecked","aria-checked",c,!1)}]).directive("ngReadonly", +["$aria",function(a){return a.$$watchExpr("ngReadonly","aria-readonly",c,!1)}]).directive("ngRequired",["$aria",function(a){return a.$$watchExpr("ngRequired","aria-required",c,!1)}]).directive("ngModel",["$aria",function(a){function b(b,k,d,f){return a.config(k)&&!d.attr(b)&&(f||!h(d,c))}function l(a,b){return!b.attr("role")&&b.attr("type")===a&&!h(b,c)}function m(a,b){var d=a.type,f=a.role;return"checkbox"===(d||f)||"menuitemcheckbox"===f?"checkbox":"radio"===(d||f)||"menuitemradio"===f?"radio": +"range"===d||"progressbar"===f||"slider"===f?"range":""}return{restrict:"A",require:"ngModel",priority:200,compile:function(c,k){var d=m(k,c);return{post:function(f,e,g,c){function k(){return c.$modelValue}function h(a){e.attr("aria-checked",g.value==c.$viewValue)}function m(){e.attr("aria-checked",!c.$isEmpty(c.$viewValue))}var n=b("tabindex","tabindex",e,!1);switch(d){case "radio":case "checkbox":l(d,e)&&e.attr("role",d);b("aria-checked","ariaChecked",e,!1)&&f.$watch(k,"radio"===d?h:m);n&&e.attr("tabindex", +0);break;case "range":l(d,e)&&e.attr("role","slider");if(a.config("ariaValue")){var p=!e.attr("aria-valuemin")&&(g.hasOwnProperty("min")||g.hasOwnProperty("ngMin")),q=!e.attr("aria-valuemax")&&(g.hasOwnProperty("max")||g.hasOwnProperty("ngMax")),r=!e.attr("aria-valuenow");p&&g.$observe("min",function(a){e.attr("aria-valuemin",a)});q&&g.$observe("max",function(a){e.attr("aria-valuemax",a)});r&&f.$watch(k,function(a){e.attr("aria-valuenow",a)})}n&&e.attr("tabindex",0)}!g.hasOwnProperty("ngRequired")&& +c.$validators.required&&b("aria-required","ariaRequired",e,!1)&&g.$observe("required",function(){e.attr("aria-required",!!g.required)});b("aria-invalid","ariaInvalid",e,!0)&&f.$watch(function(){return c.$invalid},function(a){e.attr("aria-invalid",!!a)})}}}}}]).directive("ngDisabled",["$aria",function(a){return a.$$watchExpr("ngDisabled","aria-disabled",c,!1)}]).directive("ngMessages",function(){return{restrict:"A",require:"?ngMessages",link:function(a,b,c,h){b.attr("aria-live")||b.attr("aria-live", +"assertive")}}}).directive("ngClick",["$aria","$parse",function(a,b){return{restrict:"A",compile:function(l,m){var n=b(m.ngClick,null,!0);return function(b,d,f){if(!h(d,c)&&(a.config("bindRoleForClick")&&!d.attr("role")&&d.attr("role","button"),a.config("tabindex")&&!d.attr("tabindex")&&d.attr("tabindex",0),a.config("bindKeydown")&&!f.ngKeydown&&!f.ngKeypress&&!f.ngKeyup))d.on("keydown",function(a){function c(){n(b,{$event:a})}var d=a.which||a.keyCode;32!==d&&13!==d||b.$apply(c)})}}}}]).directive("ngDblclick", +["$aria",function(a){return function(b,l,m){!a.config("tabindex")||l.attr("tabindex")||h(l,c)||l.attr("tabindex",0)}}])})(window,window.angular); +//# sourceMappingURL=angular-aria.min.js.map diff --git a/www/lib/angular-aria/angular-aria.min.js.map b/www/lib/angular-aria/angular-aria.min.js.map new file mode 100644 index 0000000..7a6be9d --- /dev/null +++ b/www/lib/angular-aria/angular-aria.min.js.map @@ -0,0 +1,8 @@ +{ +"version":3, +"file":"angular-aria.min.js", +"lineCount":13, +"mappings":"A;;;;;aAKC,SAAQ,CAACA,CAAD,CAASC,CAAT,CAAkB,CA6D3B,IAAIC,EAAgB,gDAAA,MAAA,CAAA,GAAA,CAApB,CAEIC,EAAcA,QAAQ,CAACC,CAAD,CAAOC,CAAP,CAAsB,CAC9C,GAAiD,EAAjD,GAAIA,CAAAC,QAAA,CAAsBF,CAAA,CAAK,CAAL,CAAAG,SAAtB,CAAJ,CACE,MAAO,CAAA,CAFqC,CAR7BN,EAAAO,OAAA,CAAe,QAAf,CAAyB,CAAC,IAAD,CAAzB,CAAAC,SAAAC,CACc,OADdA,CAmCnBC,QAAsB,EAAG,CA2CvBC,QAASA,EAAS,CAACC,CAAD,CAAWC,CAAX,CAAqBZ,CAArB,CAAoCa,CAApC,CAA4C,CAC5D,MAAO,SAAQ,CAACC,CAAD,CAAQZ,CAAR,CAAca,CAAd,CAAoB,CACjC,IAAIC,EAAgBD,CAAAE,WAAA,CAAgBL,CAAhB,CAChB,EAAAM,CAAA,CAAOF,CAAP,CAAJ,EAA8Bf,CAAA,CAAYC,CAAZ,CAAkBF,CAAlB,CAA9B,EAAmEe,CAAA,CAAKC,CAAL,CAAnE,EACEF,CAAAK,OAAA,CAAaJ,CAAA,CAAKJ,CAAL,CAAb,CAA6B,QAAQ,CAACS,CAAD,CAAU,CAE7CA,CAAA,CAAUP,CAAA,CAAS,CAACO,CAAV,CAAoB,CAAEA,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,CAAJ,EAAiChB,CAAAa,KAAA,CAAU,UAAV,CAAjC,EAA2Dd,CAAA,CAAYC,CAAZ,CAAkBF,CAAlB,CAA3D,EACEE,CAAAa,KAAA,CAAU,UAAV,CAAsB,CAAtB,CAF+B,CADc,CAA1B,CArLzB,CA9M2B,CAA1B,CAAD,CA4YGjB,MA5YH,CA4YWA,MAAAC,QA5YX;", +"sources":["angular-aria.js"], +"names":["window","angular","nodeBlackList","isNodeOneOf","elem","nodeTypeArray","indexOf","nodeName","module","provider","ngAriaModule","$AriaProvider","watchExpr","attrName","ariaAttr","negate","scope","attr","ariaCamelName","$normalize","config","$watch","boolVal","ariaHidden","ariaChecked","ariaReadonly","ariaDisabled","ariaRequired","ariaInvalid","ariaValue","tabindex","bindKeydown","bindRoleForClick","this.config","newConfig","extend","$get","this.$get","key","$$watchExpr","directive","$aria","shouldAttachAttr","normalizedAttr","allowBlacklistEls","shouldAttachRole","role","getShape","type","restrict","require","priority","compile","shape","post","ngModel","ngAriaWatchModelValue","$modelValue","getRadioReaction","newVal","value","$viewValue","getCheckboxReaction","$isEmpty","needsTabIndex","needsAriaValuemin","hasOwnProperty","needsAriaValuemax","needsAriaValuenow","$observe","ngAriaValueMinReaction","ngAriaValueNowReaction","$validators","required","ngAriaInvalidWatch","$invalid","ngAriaInvalidReaction","link","ngMessages","$parse","fn","ngClick","ngKeydown","ngKeypress","ngKeyup","on","event","callback","$event","keyCode","which","$apply"] +} diff --git a/www/lib/angular-aria/bower.json b/www/lib/angular-aria/bower.json new file mode 100644 index 0000000..2087abd --- /dev/null +++ b/www/lib/angular-aria/bower.json @@ -0,0 +1,10 @@ +{ + "name": "angular-aria", + "version": "1.6.1", + "license": "MIT", + "main": "./angular-aria.js", + "ignore": [], + "dependencies": { + "angular": "1.6.1" + } +} diff --git a/www/lib/angular-aria/index.js b/www/lib/angular-aria/index.js new file mode 100644 index 0000000..0a8f0d9 --- /dev/null +++ b/www/lib/angular-aria/index.js @@ -0,0 +1,2 @@ +require('./angular-aria'); +module.exports = 'ngAria'; diff --git a/www/lib/angular-aria/package.json b/www/lib/angular-aria/package.json new file mode 100644 index 0000000..a6d9d4d --- /dev/null +++ b/www/lib/angular-aria/package.json @@ -0,0 +1,34 @@ +{ + "name": "angular-aria", + "version": "1.6.1", + "description": "AngularJS module for making accessibility easy", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/angular/angular.js.git" + }, + "keywords": [ + "angular", + "framework", + "browser", + "accessibility", + "a11y", + "client-side" + ], + "author": "Angular Core Team ", + "license": "MIT", + "bugs": { + "url": "https://github.com/angular/angular.js/issues" + }, + "homepage": "http://angularjs.org", + "jspm": { + "shim": { + "angular-aria": { + "deps": ["angular"] + } + } + } +} diff --git a/www/lib/angular-material/.bower.json b/www/lib/angular-material/.bower.json new file mode 100644 index 0000000..c8a4521 --- /dev/null +++ b/www/lib/angular-material/.bower.json @@ -0,0 +1,27 @@ +{ + "name": "angular-material", + "version": "1.1.1", + "license": "MIT", + "ignore": [], + "dependencies": { + "angular": "^1.4.8", + "angular-animate": "^1.4.8", + "angular-aria": "^1.4.8", + "angular-messages": "^1.4.8" + }, + "main": [ + "angular-material.js", + "angular-material.css" + ], + "homepage": "https://github.com/angular/bower-material", + "_release": "1.1.1", + "_resolution": { + "type": "version", + "tag": "v1.1.1", + "commit": "ec9b476051eef167c9b1522e1943f10545119bbe" + }, + "_source": "https://github.com/angular/bower-material.git", + "_target": "^1.1.1", + "_originalSource": "angular-material", + "_direct": true +} \ No newline at end of file diff --git a/www/lib/angular-material/.gitignore b/www/lib/angular-material/.gitignore new file mode 100644 index 0000000..f45564b --- /dev/null +++ b/www/lib/angular-material/.gitignore @@ -0,0 +1,5 @@ +*.log +*.sw* +.DS_STORE +/.idea/ +default-theme.css diff --git a/www/lib/angular-material/CHANGELOG.md b/www/lib/angular-material/CHANGELOG.md new file mode 100644 index 0000000..8cb73da --- /dev/null +++ b/www/lib/angular-material/CHANGELOG.md @@ -0,0 +1,3911 @@ + +## [1.1.1](https://github.com/angular/material/compare/v1.1.0...v1.1.1) (2016-09-01) + +We continue to maintain our momentum with Angular Material. Today we published a patch release for Angular Material; a patch that contains more than 60 improvements and fixes. + +-- + +* Add improvements to Themes registrations +* Add improvements to Docs to discuss differences between **TabBar** vs **NavBar** +* Add improve **SideNav** to specify disableScroll target when open +* Add feature **BrowserColor** to enable browser header coloring with Material Design Colors +* Add blur or focus features to **Chips** and **Autocomplete** + +-- + +* Revert a Layout change for `layout="column"` +* Fix animations for **Input** messages, **Autocomplete**, **Dialog** +* Fix **Card** images inside `md-card-title-media` to use flexbox CSS +* Fix **AutoComplete**, **Input**, **Menubar**, **Select**, and theming +* Fix **Datepicker**, **Tooltip** colors, **Navbar** theming, **Virtual repeat** with scrolling + + +-- + +### Features + +* **autocomplete:** forward ngBlur and ngFocus attributes ([#9233](https://github.com/angular/material/issues/9233)) ([a3755d0](https://github.com/angular/material/commit/a3755d0)) +* **browser-color:** enable browser header coloring ([#9192](https://github.com/angular/material/issues/9192)) ([57f2afd](https://github.com/angular/material/commit/57f2afd)), closes [#8062](https://github.com/angular/material/issues/8062) +* **chips:** md-add-on-blur functionality ([#9095](https://github.com/angular/material/issues/9095)) ([bbc6c07](https://github.com/angular/material/commit/bbc6c07)), closes [#3364](https://github.com/angular/material/issues/3364) +* **datepicker:** add timezone support ([#9410](https://github.com/angular/material/issues/9410)) ([14fa477](https://github.com/angular/material/commit/14fa477)), closes [#8448](https://github.com/angular/material/issues/8448) [#8936](https://github.com/angular/material/issues/8936) +* **datepicker:** configurable start/end dates, consistency improvements ([#9309](https://github.com/angular/material/issues/9309)) ([522d428](https://github.com/angular/material/commit/522d428)), closes [#9269](https://github.com/angular/material/issues/9269) +* **mdPanel:** Wrapper and Panel elements referenced in the MdPanelRef ([#9231](https://github.com/angular/material/issues/9231)) ([87c4b01](https://github.com/angular/material/commit/87c4b01)), closes [#9109](https://github.com/angular/material/issues/9109) +* **panel:** Configuration ID for tracking ([#9379](https://github.com/angular/material/issues/9379)) ([d230aec](https://github.com/angular/material/commit/d230aec)), closes [#9356](https://github.com/angular/material/issues/9356) [#9357](https://github.com/angular/material/issues/9357) +* **sidenav:** configurable scroll prevent target ([#9338](https://github.com/angular/material/issues/9338)) ([218c3ec](https://github.com/angular/material/commit/218c3ec)), closes [#8634](https://github.com/angular/material/issues/8634) +* **themes:** register theme on the fly ([#9413](https://github.com/angular/material/issues/9413)) ([0d2386c](https://github.com/angular/material/commit/0d2386c)), closes [#2965](https://github.com/angular/material/issues/2965) + + +### Bug Fixes + +* **autocomplete:** don't use $mdUtils.nextTick in handleHiddenChange ([#9319](https://github.com/angular/material/issues/9319)) ([8f8ad78](https://github.com/angular/material/commit/8f8ad78)), closes [#9318](https://github.com/angular/material/issues/9318) +* **autocomplete:** properly run animation for dialog in demo. ([#9437](https://github.com/angular/material/issues/9437)) ([69607e0](https://github.com/angular/material/commit/69607e0)) +* **autocomplete:** properly show dropdown on focus when minlength is met. ([#9291](https://github.com/angular/material/issues/9291)) ([e65ffc8](https://github.com/angular/material/commit/e65ffc8)), closes [#9283](https://github.com/angular/material/issues/9283) [#9288](https://github.com/angular/material/issues/9288) [#9289](https://github.com/angular/material/issues/9289) +* **autocomplete:** remove autofocus ambiguity. ([#9438](https://github.com/angular/material/issues/9438)) ([00a4c05](https://github.com/angular/material/commit/00a4c05)) +* **build:** properly filter core module files with updated gulp-filter ([#9399](https://github.com/angular/material/issues/9399)) ([0cd2a59](https://github.com/angular/material/commit/0cd2a59)) +* **card:** limit img size when using md-card-title-media ([#9446](https://github.com/angular/material/issues/9446)) ([d086e2b](https://github.com/angular/material/commit/d086e2b)), closes [#9355](https://github.com/angular/material/issues/9355) +* **checkbox:** not being marked as checked with ng-checked on load ([#9424](https://github.com/angular/material/issues/9424)) ([904b455](https://github.com/angular/material/commit/904b455)), closes [#9349](https://github.com/angular/material/issues/9349) +* **compiler:** remove manual controllerAs logic ([#9462](https://github.com/angular/material/issues/9462)) ([18afebe](https://github.com/angular/material/commit/18afebe)) +* **datepicker:** arrow direction in rtl ([#9384](https://github.com/angular/material/issues/9384)) ([f6da4d3](https://github.com/angular/material/commit/f6da4d3)) +* **datepicker:** forward aria-label to generated input ([#9364](https://github.com/angular/material/issues/9364)) ([165d4e7](https://github.com/angular/material/commit/165d4e7)), closes [#9340](https://github.com/angular/material/issues/9340) +* **datepicker:** forward tabindex to generated input ([#9325](https://github.com/angular/material/issues/9325)) ([6cfb542](https://github.com/angular/material/commit/6cfb542)), closes [#8147](https://github.com/angular/material/issues/8147) +* **datepicker:** improved overlay positioning ([#9432](https://github.com/angular/material/issues/9432)) ([d0a7765](https://github.com/angular/material/commit/d0a7765)) +* **datepicker:** jumping forward if min date is in the same month as model ([#9305](https://github.com/angular/material/issues/9305)) ([412bc2c](https://github.com/angular/material/commit/412bc2c)), closes [#9284](https://github.com/angular/material/issues/9284) +* **datepicker:** keyboard navigation not working if the user scrolls too much ([#9302](https://github.com/angular/material/issues/9302)) ([30f6a74](https://github.com/angular/material/commit/30f6a74)), closes [#9294](https://github.com/angular/material/issues/9294) +* **datepicker, menu, slider:** remove duplicate properties ([#9335](https://github.com/angular/material/issues/9335)) ([1c098a6](https://github.com/angular/material/commit/1c098a6)) +* **demos:** update core-icons svg in assets cache to latest changes. ([#9418](https://github.com/angular/material/issues/9418)) ([7e21118](https://github.com/angular/material/commit/7e21118)) +* **dialog:** add extra classes to identify buttons ([#9463](https://github.com/angular/material/issues/9463)) ([b11441c](https://github.com/angular/material/commit/b11441c)) +* **dialog:** do not compile an empty element when using a content element ([#9303](https://github.com/angular/material/issues/9303)) ([7c4b434](https://github.com/angular/material/commit/7c4b434)) +* **dialog:** focus dialog element when no actions are set ([#9272](https://github.com/angular/material/issues/9272)) ([bcfe00a](https://github.com/angular/material/commit/bcfe00a)), closes [#9271](https://github.com/angular/material/issues/9271) +* **dialog:** remove transition classes after hide ([#9299](https://github.com/angular/material/issues/9299)) ([f170133](https://github.com/angular/material/commit/f170133)), closes [#9276](https://github.com/angular/material/issues/9276) +* **input:** Ensure animated messages disappear. ([#9466](https://github.com/angular/material/issues/9466)) ([4e302c2](https://github.com/angular/material/commit/4e302c2)), closes [#9454](https://github.com/angular/material/issues/9454) +* **layout:** Revert overzealous IE11 flexbox fix. ([#9412](https://github.com/angular/material/issues/9412)) ([660826b](https://github.com/angular/material/commit/660826b)), closes [#9354](https://github.com/angular/material/issues/9354) +* **menu-bar:** unable to close menu when clicking on toolbar ([#9428](https://github.com/angular/material/issues/9428)) ([6dcecd5](https://github.com/angular/material/commit/6dcecd5)), closes [#8965](https://github.com/angular/material/issues/8965) +* **menu-bar:** use checked icon from $$mdSvgRegistry ([#9417](https://github.com/angular/material/issues/9417)) ([04124d8](https://github.com/angular/material/commit/04124d8)), closes [#9407](https://github.com/angular/material/issues/9407) +* **navbar:** add theming support ([#9210](https://github.com/angular/material/issues/9210)) ([4cfd4a1](https://github.com/angular/material/commit/4cfd4a1)), closes [#9137](https://github.com/angular/material/issues/9137) +* **panel:** Element reference error ([#9375](https://github.com/angular/material/issues/9375)) ([6383b52](https://github.com/angular/material/commit/6383b52)), closes [#9374](https://github.com/angular/material/issues/9374) +* **prefixer:** do not throw an exception if element is undefined ([#9345](https://github.com/angular/material/issues/9345)) ([d07240b](https://github.com/angular/material/commit/d07240b)) +* undo change to unknown symbol for prod build ([#9393](https://github.com/angular/material/issues/9393)) ([bd4034d](https://github.com/angular/material/commit/bd4034d)) +* **progressCircular:** better support for older ios versions ([#9254](https://github.com/angular/material/issues/9254)) ([215fae4](https://github.com/angular/material/commit/215fae4)), closes [#9253](https://github.com/angular/material/issues/9253) +* **select:** Ensure `md-no-asterisk` attribute works. ([#9347](https://github.com/angular/material/issues/9347)) ([f265a0e](https://github.com/angular/material/commit/f265a0e)), closes [#9339](https://github.com/angular/material/issues/9339) +* **tabs:** ie10 MutationObserver issue ([#9397](https://github.com/angular/material/issues/9397)) ([bd70022](https://github.com/angular/material/commit/bd70022)) +* **tabs:** scroll blocks in pagination (related to [#5439](https://github.com/angular/material/issues/5439)) ([#9457](https://github.com/angular/material/issues/9457)) ([b26c01c](https://github.com/angular/material/commit/b26c01c)) +* **textarea:** resize handle position occasionally wrong ([#9155](https://github.com/angular/material/issues/9155)) ([3fc1004](https://github.com/angular/material/commit/3fc1004)), closes [#9151](https://github.com/angular/material/issues/9151) +* **theming:** fix read-only .configuration() ([#9389](https://github.com/angular/material/issues/9389)) ([b328882](https://github.com/angular/material/commit/b328882)) +* **virtual-repeat:** not re-rendering when switching to a smaller list ([#9363](https://github.com/angular/material/issues/9363)) ([fce551d](https://github.com/angular/material/commit/fce551d)), closes [#9315](https://github.com/angular/material/issues/9315) + + +#### Contributors + +Thanks to the great contributors who helped with this v1.1.1 patch release: + +[akaij](https://github.com/akaij) |[bradrich](https://github.com/bradrich) |[clshortfuse](https://github.com/clshortfuse) |[crisbeto](https://github.com/crisbeto) |[DevVersion](https://github.com/DevVersion) |[EladBezalel](https://github.com/EladBezalel) | +:---: |:---: |:---: |:---: |:---: |:---: | +[akaij](https://github.com/akaij) |[bradrich](https://github.com/bradrich) |[clshortfuse](https://github.com/clshortfuse) |[crisbeto](https://github.com/crisbeto) |[DevVersion](https://github.com/DevVersion) |[EladBezalel](https://github.com/EladBezalel) | + +[enne30](https://github.com/enne30) |[hansl](https://github.com/hansl) |[j3ski](https://github.com/j3ski) |[jelbourn](https://github.com/jelbourn) |[leibale](https://github.com/leibale) |[norkunas](https://github.com/norkunas) | +:---: |:---: |:---: |:---: |:---: |:---: | +[enne30](https://github.com/enne30) |[hansl](https://github.com/hansl) |[j3ski](https://github.com/j3ski) |[jelbourn](https://github.com/jelbourn) |[leibale](https://github.com/leibale) |[norkunas](https://github.com/norkunas) | + +[ThomasBurleson](https://github.com/ThomasBurleson) |[topherfangio](https://github.com/topherfangio) | +:---: |:---: | +[ThomasBurleson](https://github.com/ThomasBurleson) |[topherfangio](https://github.com/topherfangio) | + + + + + +## 1.1.0 (2016-08-14) + +BREAKING CHANGE + +The ``'s, `` component now acts more like +the default `