From 4514c2c49f0e0ec7cf9911dc254a8d20644d5def Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 5 Aug 2015 21:28:20 -0400 Subject: pushing messages into a div --- views/pages/room.ejs | 11 ++++------- views/partials/login.ejs | 6 ++++++ views/partials/scripts.ejs | 49 +++++++++++++++++++++++----------------------- 3 files changed, 35 insertions(+), 31 deletions(-) create mode 100644 views/partials/login.ejs (limited to 'views') diff --git a/views/pages/room.ejs b/views/pages/room.ejs index 568a136..29fb027 100644 --- a/views/pages/room.ejs +++ b/views/pages/room.ejs @@ -13,15 +13,12 @@
-
- + +
-
- please enter your nick..
- -
+<% include ../partials/login %> -[[ include ../partials/scripts ]] +<% include ../partials/scripts %> \ No newline at end of file diff --git a/views/partials/login.ejs b/views/partials/login.ejs new file mode 100644 index 0000000..0c2dc74 --- /dev/null +++ b/views/partials/login.ejs @@ -0,0 +1,6 @@ +
+
+ please enter your nick..
+ +
+
\ No newline at end of file diff --git a/views/partials/scripts.ejs b/views/partials/scripts.ejs index d67bdc0..d3a8c82 100644 --- a/views/partials/scripts.ejs +++ b/views/partials/scripts.ejs @@ -1,27 +1,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + +