diff --git a/config/routes.yaml b/config/routes.yaml index 4f74a5b1..24f33349 100644 --- a/config/routes.yaml +++ b/config/routes.yaml @@ -91,5 +91,9 @@ role_delete: # test test_acl: - path: /test_acl + path: /test/acl controller: App\Controller\TestController::index + +test_gmap: + path: /test/gmap + controller: App\Controller\TestController::gmap diff --git a/src/Controller/TestController.php b/src/Controller/TestController.php index b195035a..70b44760 100644 --- a/src/Controller/TestController.php +++ b/src/Controller/TestController.php @@ -25,4 +25,11 @@ class TestController extends BaseController return $this->render('home.html.twig', $params); } + + public function gmap() + { + $params = $this->initParameters('home'); + + return $this->render('test/map.html.twig', $params); + } } diff --git a/templates/test/map.html.twig b/templates/test/map.html.twig new file mode 100644 index 00000000..32685347 --- /dev/null +++ b/templates/test/map.html.twig @@ -0,0 +1,113 @@ +{% extends 'base.html.twig' %} + +{% block body %} + +
+
+
+

+ Test Map +

+
+
+
+ +
+ +
+
+
+
+
+
+ + + +

+ Input Customer Location +

+
+
+
+
+
+ + +
+ + + + +
+
+
+
+
+
+
+
+{% endblock %} + +{% block scripts %} + + + +{% endblock %}