summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/pages/index.ejs18
-rw-r--r--views/pages/room.ejs3
-rw-r--r--views/partials/scripts.ejs8
3 files changed, 11 insertions, 18 deletions
diff --git a/views/pages/index.ejs b/views/pages/index.ejs
index 45c6a84..97d16d2 100644
--- a/views/pages/index.ejs
+++ b/views/pages/index.ejs
@@ -3,24 +3,12 @@
<head>
<title>yt-chat</title>
<link rel="stylesheet" href="/css/css.css">
+<style>
+</style>
</head>
<body>
-<div id="video"></div>
-
-<div id="chat">
- <div id="messages"></div>
- <form>
- <input type="text" id="message">
- </form>
-</div>
-
-<script type="text/html" id="message_template">
- <div class="row">
- <span class="nick"></span>
- <span class="msg"></span>
- </div>
-</script>
+<input type="text" id="create-room" placeholder="enter a url to make a room">
</body>
<% include ../partials/scripts %>
diff --git a/views/pages/room.ejs b/views/pages/room.ejs
index ec1f353..36e4140 100644
--- a/views/pages/room.ejs
+++ b/views/pages/room.ejs
@@ -1,11 +1,13 @@
<html>
<head>
<title>yt-chat</title>
+<link rel="stylesheet" href="/css/css.css">
<style>
</style>
</head>
<body>
+
<div id="video"></div>
<div id="chat">
@@ -22,6 +24,7 @@
</div>
</script>
+
</body>
[[ include ../partials/scripts ]]
</html> \ No newline at end of file
diff --git a/views/partials/scripts.ejs b/views/partials/scripts.ejs
index 1644c71..0e3bc02 100644
--- a/views/partials/scripts.ejs
+++ b/views/partials/scripts.ejs
@@ -1,8 +1,10 @@
<script src="js/vendor/zepto.min.js"></script>
-<script src="js/lib/view.js"></script>
-<script src="js/lib/formview.js"></script>
+<script src="js/lib/view/view.js"></script>
+<script src="js/lib/view/formview.js"></script>
+<script src="js/lib/view/router.js"></script>
<script src="js/lib/parser.js"></script>
<script src="js/lib/user.js"></script>
-<script src="js/app.js"></script>
+<script src="js/site/index.js"></script>
+<script src="js/index.js"></script>
<script type="text/javascript" src="http://www.youtube.com/player_api"></script>