WebRTC-PoC/views/index.pug

26 lines
768 B
Plaintext

extends layout
block content
script(src='https://webrtc.github.io/adapter/adapter-latest.js' defer)
script(src='js/socket.io/socket.io.js' defer)
script(src='js/main.js' defer)
h1= title
h2 Certificate Status:#{' '}
span(id='certStatus') Unknown
div
button(id='certLoad' disabled=true) Load
button(id='certSave' disabled=true) Save
button(id='certNew' disabled=true) New
button(id='certUpload' disabled=true) Upload
button(id='certClear' disabled=true) Clear
h2 Chat Status:#{' '}
span(id='chatStatus') Disconnected
div
button(id='chatJoin' disabled=true) Join
button(id='chatLeave' disabled=true) Leave
h2 Chat Log
div
input(id='chatInput')
button(id='chatPost' disabled=true) Post
div(id='chatLog')