diff --git a/public/style.css b/public/style.css index ec166c5..ede3ae5 100644 --- a/public/style.css +++ b/public/style.css @@ -234,11 +234,24 @@ pre { text-align: center; } +#skin-canvas { + 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 cf5bd95..295b0ff 100644 --- a/view/player.tmpl +++ b/view/player.tmpl @@ -26,7 +26,7 @@ {{ end }} - + {{ else }} No skin yet. @@ -51,6 +51,12 @@ {{ end }} {{ if or .App.Config.AllowSkins .User.IsAdmin }}

Skin

+ {{ if .SkinURL }} +

+ Current skin: + +

+ {{ end }}


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

Cape

+ {{ if .CapeURL }} +

+ Current cape: + +

+ {{ end }}


@@ -166,7 +178,6 @@