summaryrefslogtreecommitdiff
path: root/Year_3/Web/chat-socket-io/views/index.pug
blob: 1133e0a2ca3fd9ef53d87ccc07c826d0a9011741 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
doctype
html
  head
    title Chat
    link(rel="stylesheet" href="./style.css")
    script(src="/socket.io/socket.io.js")
    script
      | var socket = io()
  body
    ul#messages
    form#form(action="")
      #userBox
      input#input(autocomplete="off")
      button Send

    script(src="./chat.js")