commit 3cba458e2b08f60d0e81087e8672573448b88b72 parent e24c6d3f93e5f061cc45a7767307b49dbf6b125a Author: n0tr1v <n0tr1v@protonmail.com> Date: Sun, 11 Jun 2023 20:16:43 -0700 useless code Diffstat:
| M | pkg/web/handlers/interceptors/chess.go | | | 20 | +++----------------- |
1 file changed, 3 insertions(+), 17 deletions(-)
diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go @@ -336,24 +336,10 @@ func (g *ChessGame) drawPlayerCard(key string, isBlack, isSpectator, isYourTurn </form> <div style="position: relative;"> <iframe src="/chess/{{ .Key }}/form" style="position: absolute; top: 0; left: 0; border: 0px solid red; z-index: 999; width: 100%; height: 100%;"></iframe> - <form method="post"style="aspect-ratio: 1/1; height: 70%;"> + <div style="aspect-ratio: 1/1; height: 70%;"> {{ .Table }} - <input type="hidden" name="message" value="/pm {{ .Username }} /c move" /> - <div style="width: 100%; display: flex; margin: 5px 0;"> - <div> - <button type="submit" style="background-color: #aaa;">Move</button> - </div> - <div style="margin-left: auto;"> - <span style="color: #aaa; margin-left: 20px;">Promo:</span> - <select name="promotion" style="background-color: #aaa;"> - <option value="queen">Queen</option> - <option value="rook">Rook</option> - <option value="knight">Knight</option> - <option value="bishop">Bishop</option> - </select> - </div> - </div> - </form> + <div style="height: 33px;"></div> + </div> </div> {{ end }} </td>