summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-08-04 02:58:20 -0400
committerJules Laplace <jules@okfoc.us>2015-08-04 02:58:52 -0400
commit460dadfdd2c3d91d3759542990702362b85703d3 (patch)
treec4161b3946c0b5198e2754020babe856f73bee00 /views
parent8c263e2141d17c629314d2d95eac82217a20a464 (diff)
use config.json ; add templates
Diffstat (limited to 'views')
-rw-r--r--views/pages/index.ejs (renamed from views/pages/room.html)6
-rw-r--r--views/pages/room.ejs (renamed from views/pages/index.html)0
-rw-r--r--views/partials/scripts.ejs1
3 files changed, 4 insertions, 3 deletions
diff --git a/views/pages/room.html b/views/pages/index.ejs
index ec1f353..45c6a84 100644
--- a/views/pages/room.html
+++ b/views/pages/index.ejs
@@ -1,8 +1,8 @@
+<!doctype html>
<html>
<head>
<title>yt-chat</title>
-<style>
-</style>
+<link rel="stylesheet" href="/css/css.css">
</head>
<body>
@@ -23,5 +23,5 @@
</script>
</body>
-[[ include ../partials/scripts ]]
+<% include ../partials/scripts %>
</html> \ No newline at end of file
diff --git a/views/pages/index.html b/views/pages/room.ejs
index ec1f353..ec1f353 100644
--- a/views/pages/index.html
+++ b/views/pages/room.ejs
diff --git a/views/partials/scripts.ejs b/views/partials/scripts.ejs
index 2b69d35..1644c71 100644
--- a/views/partials/scripts.ejs
+++ b/views/partials/scripts.ejs
@@ -2,6 +2,7 @@
<script src="js/lib/view.js"></script>
<script src="js/lib/formview.js"></script>
<script src="js/lib/parser.js"></script>
+<script src="js/lib/user.js"></script>
<script src="js/app.js"></script>
<script type="text/javascript" src="http://www.youtube.com/player_api"></script>