diff options
Diffstat (limited to 'mavigator-server/src/main/twirl/mavigator/views')
-rw-r--r-- | mavigator-server/src/main/twirl/mavigator/views/app.scala.html | 4 | ||||
-rw-r--r-- | mavigator-server/src/main/twirl/mavigator/views/dashboard.scala.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mavigator-server/src/main/twirl/mavigator/views/app.scala.html b/mavigator-server/src/main/twirl/mavigator/views/app.scala.html index 7b935b3..6985e01 100644 --- a/mavigator-server/src/main/twirl/mavigator/views/app.scala.html +++ b/mavigator-server/src/main/twirl/mavigator/views/app.scala.html @@ -28,7 +28,7 @@ root0.removeChild(root0.firstChild); } - Main().start({ + @{appId}().start({ root: root0, assetsBase: "/assets", args: args0 @@ -43,5 +43,5 @@ }); </script> -<script type="text/javascript" src="/assets/js/@{appId}-opt.js"></script> +<script type="text/javascript" src="/assets/js/mavigator-dashboard-opt.js"></script> diff --git a/mavigator-server/src/main/twirl/mavigator/views/dashboard.scala.html b/mavigator-server/src/main/twirl/mavigator/views/dashboard.scala.html index addd4d5..2b08797 100644 --- a/mavigator-server/src/main/twirl/mavigator/views/dashboard.scala.html +++ b/mavigator-server/src/main/twirl/mavigator/views/dashboard.scala.html @@ -1,7 +1,7 @@ @(socket: String, remoteSystemId: Byte, systemId: Byte, componentId: Byte) @main("Main"){ - @app("mavigator-dashboard")( + @app("mavigator_dashboard_Main")( "socketUrl" -> socket, "remoteSystemId" -> remoteSystemId.toString, "systemId" -> systemId.toString, |