pixelbattle/views/index.pug

19 lines
813 B
Plaintext
Raw Normal View History

2023-08-01 09:25:16 +03:00
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")
input(type="button" id="submicColor" value="change color" onclick="changeColor()")
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")