aboutsummaryrefslogtreecommitdiff
path: root/server/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'server/app/views')
-rw-r--r--server/app/views/chat.scala.html11
-rw-r--r--server/app/views/index.scala.html8
2 files changed, 12 insertions, 7 deletions
diff --git a/server/app/views/chat.scala.html b/server/app/views/chat.scala.html
new file mode 100644
index 0000000..3a1fa30
--- /dev/null
+++ b/server/app/views/chat.scala.html
@@ -0,0 +1,11 @@
+@(uid: String)
+
+@main("Welcome to Chat") {
+ <main id="root">
+ Loading
+ </main>
+ <script src="@routes.Assets.versioned("client-fastopt.js")" type="text/javascript"></script>
+ <script type="text/javascript">
+ chat.Main().main("@uid")
+ </script>
+}
diff --git a/server/app/views/index.scala.html b/server/app/views/index.scala.html
index 4b71c59..05dbc0d 100644
--- a/server/app/views/index.scala.html
+++ b/server/app/views/index.scala.html
@@ -1,11 +1,5 @@
@()
@main("Welcome to Chat") {
- <main id="root">
- hello
- </main>
- <script src="@routes.Assets.versioned("client-fastopt.js")" type="text/javascript"></script>
- <script type="text/javascript">
- chat.Main().main()
- </script>
+
}