extends ../../../views/base.pug

block css
    link(href="/static/css/style.css", rel="stylesheet")
    link(href="/static/css/viewer.css", rel="stylesheet")

block base_content
    #canvases
        canvas#canvas-pdf.absoluteCenter(style={position:'absolute'})
        canvas#canvas-paint.absoluteCenter.noselect(onmousedown="sio.onMouseDown(event);", onmousemove="sio.onMouseMove(event);", onmouseup="sio.onMouseUp(event);", onmouseout="sio.onMouseUp(event);", style={position:'absolute'})

block js
    script filename = '#{file}';
    script(src="/static/js/pdf.js")
    script(src="/static/js/pdf.worker.js")
    script(src="/socket.io/socket.io.js")
    script(src="/static/js/viewer.js")
