2025-01-23 01:12:17 +03:00
|
|
|
html
|
|
|
|
head
|
2025-01-31 01:02:29 +03:00
|
|
|
meta(name="viewport" content="width=device-width, initial-scale=1.0")
|
2025-01-23 01:12:17 +03:00
|
|
|
title Личный кабинет
|
2025-01-23 20:42:55 +03:00
|
|
|
link(href="css/index.css" rel="stylesheet")
|
|
|
|
script(type="module" src="js/skinview3d.bundle.js")
|
|
|
|
script(type="module" src="js/skin3d.js")
|
2025-01-23 01:12:17 +03:00
|
|
|
body
|
2025-01-23 20:42:55 +03:00
|
|
|
|
|
|
|
iframe(name="hiddenFrame" style="position:absolute; top:-1px; left:-1px; width:1px; height:1px;")
|
|
|
|
div(class="content-container")
|
|
|
|
div(class="content")
|
|
|
|
h1 Личный кабинет
|
|
|
|
canvas(id="skin_container")
|
|
|
|
if can_have_cloak
|
|
|
|
div(class="cape_type")
|
|
|
|
input(type="radio" id="cape" name="cape_type" value="cape" checked)
|
|
|
|
label(for="cape") Плащ
|
|
|
|
|
|
|
|
|
input(type="radio" id="elytra" name="cape_type" value="elytra" checked="unchecked")
|
|
|
|
label(for="elytra") Элитры
|
|
|
|
p Скин:
|
|
|
|
form(method="post" enctype="multipart/form-data" action="/api/uploadskin" target="hiddenFrame" onsubmit="window.location.reload()")
|
|
|
|
input(type="file" name="file")
|
|
|
|
input(type="submit" value="Загрузить")
|
|
|
|
if can_have_cloak
|
|
|
|
p Плащ:
|
|
|
|
form(method="post" enctype="multipart/form-data" action="/api/uploadCape" target="hiddenFrame" onsubmit="window.location.reload()")
|
|
|
|
input(type="file", name="file")
|
|
|
|
input(type="submit", value="Загрузить")
|
|
|
|
button(onclick="window.location.href='/api/logout'" value="Выйти" id="exitButton") Выйти
|
|
|
|
//- a(href="/api/logout") Выйти
|
|
|
|
|