diff --git a/public/style.css b/public/style.css index 36f9a6d..ede3ae5 100644 --- a/public/style.css +++ b/public/style.css @@ -238,6 +238,20 @@ pre { display: inline-block; } +.texture-preview { + width: 256px; + image-rendering: pixelated; +} + +.small-texture-preview { + width: 64px; + image-rendering: pixelated; +} + +.noscript-hidden { + display: none !important; +} + .list-profile-picture { --list-profile-picture-size: 24px; width: var(--list-profile-picture-size); diff --git a/view/layout.tmpl b/view/layout.tmpl index 6896035..0db0a26 100644 --- a/view/layout.tmpl +++ b/view/layout.tmpl @@ -27,6 +27,10 @@ {{ end }} diff --git a/view/player.tmpl b/view/player.tmpl index 0f6c2bb..295b0ff 100644 --- a/view/player.tmpl +++ b/view/player.tmpl @@ -19,8 +19,14 @@
{{ .Player.UUID }}
{{ .PlayerID }}
{{/* prettier-ignore-end */}} {{ if .SkinURL }} -
- +
+ +
{{ else }} No skin yet. @@ -45,6 +51,12 @@ {{ end }} {{ if or .App.Config.AllowSkins .User.IsAdmin }}

Skin

+ {{ if .SkinURL }} +

+ Current skin: + +

+ {{ end }}


@@ -89,6 +101,12 @@ {{ end }} {{ if or .App.Config.AllowCapes .User.IsAdmin }}

Cape

+ {{ if .CapeURL }} +

+ Current cape: + +

+ {{ end }}