add chat
This commit is contained in:
parent
27520842e3
commit
2d177c6b27
16 changed files with 228 additions and 31 deletions
0
public/views/error/500.jade
Normal file
0
public/views/error/500.jade
Normal file
5
public/views/error/error.jade
Normal file
5
public/views/error/error.jade
Normal file
|
@ -0,0 +1,5 @@
|
|||
extends ../layout.jade
|
||||
|
||||
block head
|
||||
|
||||
block body
|
|
@ -1,19 +1,16 @@
|
|||
doctype html
|
||||
html(lang='en')
|
||||
head
|
||||
meta(charset="UTF-8")
|
||||
link(rel="icon", type="image/png", href="img/favicon.png")
|
||||
link(rel="stylesheet", type="text/css", href="css/styles.css")
|
||||
title
|
||||
| Wingbase
|
||||
script(src="js/lib/dexie.min.js")
|
||||
script(src="socket.io/socket.io.js")
|
||||
script(src="js/lib/box2dweb.min.js")
|
||||
script(src="https://rawgit.com/Asraelite/pallet.js/master/pallet.js")
|
||||
extends layout.jade
|
||||
|
||||
script(src="wingbase.min.js")
|
||||
body
|
||||
canvas#wingbase_canvas
|
||||
| Sorry, your browser does not currently support HTML5 Canvas.
|
||||
#gui
|
||||
include
|
||||
block head
|
||||
title
|
||||
| Wingbase
|
||||
script(src="js/lib/dexie.min.js")
|
||||
script(src="socket.io/socket.io.js")
|
||||
script(src="js/lib/box2dweb.min.js")
|
||||
script(src="https://rawgit.com/Asraelite/pallet.js/master/pallet.js")
|
||||
script(src="wingbase.min.js")
|
||||
|
||||
block body
|
||||
canvas#wingbase_canvas
|
||||
| Sorry, your browser does not currently support HTML5 Canvas.
|
||||
#gui
|
||||
include gui/gui.jade
|
||||
|
|
3
public/views/gui/gui.jade
Normal file
3
public/views/gui/gui.jade
Normal file
|
@ -0,0 +1,3 @@
|
|||
#chat.container
|
||||
#chat-messages
|
||||
input(type="text", maxLength="100")#chat-input
|
9
public/views/layout.jade
Normal file
9
public/views/layout.jade
Normal file
|
@ -0,0 +1,9 @@
|
|||
doctype html
|
||||
html(lang='en')
|
||||
head
|
||||
meta(charset='UTF-8')
|
||||
link(rel='icon', type='image/png', href='img/favicon.png')
|
||||
link(rel='stylesheet', type='text/css', href='css/styles.css')
|
||||
block head
|
||||
body
|
||||
block body
|
Loading…
Add table
Add a link
Reference in a new issue