pixelbattle/views/index.pug

24 lines
846 B
Plaintext

doctype html
html(lang='en')
head
title Pixel Battle
meta(charset="UTF-8")
body(style="background-color: grey;")
p
| Server to connect:
- var server
input(type="text" id="server-address" value=server)
- var port
input(type="number" id="server-port" value=port)
input(type="button" id="server-button" value="connect" onclick="connect()")
p
input(type="color" id="color")
br
| timer:
b(id="timer")
br
| online:
b(id="online")
canvas(id="board" width="1920" height="1080" style="border:1px solid #000000;" display="block")
canvas(hidden id="hidden" width="1920" height="1080")
script(type="text/javascript" src="./logic.js")