diff --git a/common/routes_common.go b/common/routes_common.go index 9aae1d37..19661ecb 100644 --- a/common/routes_common.go +++ b/common/routes_common.go @@ -272,7 +272,6 @@ func preRoute(w http.ResponseWriter, r *http.Request) (User, bool) { usercpy.LastIP = host return *usercpy, true } - if host != usercpy.LastIP { err = usercpy.UpdateIP(host) if err != nil { diff --git a/templates/profile.html b/templates/profile.html index c0e245ac..8fef0dc3 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -14,7 +14,14 @@
- {{level .ProfileOwner.Level}}: [{{.CurrentScore}} / {{.NextScore}}] +
+ +
+
{{.CurrentScore}} / {{.NextScore}}
+
+
diff --git a/themes/nox/public/main.css b/themes/nox/public/main.css index 2fbdc4c8..ffeaec86 100644 --- a/themes/nox/public/main.css +++ b/themes/nox/public/main.css @@ -869,6 +869,9 @@ input[type=checkbox]:checked + label .sel { .progressWrap { margin-left: auto; } +.levelBit { + color: #dadada; +} /* CSS behaves in stupid ways, so we need to be very specific about this */ .rowblock:not(.topic_list):not(.rowhead):not(.opthead) .rowitem.level_inprogress:not(.post_item), .coldyn_item .rowitem.level_inprogress { @@ -894,6 +897,7 @@ input[type=checkbox]:checked + label .sel { } .level_inprogress .progressWrap div { margin-left: auto; + white-space: nowrap; } @media(max-width: 600px) { diff --git a/themes/nox/public/profile.css b/themes/nox/public/profile.css index efa9f2c9..877c23e6 100644 --- a/themes/nox/public/profile.css +++ b/themes/nox/public/profile.css @@ -33,6 +33,9 @@ margin-top: 12px; padding: 12px; } +.levelBlock { + padding: 0px; +} .colstack_right .colstack_head:not(:first-child) { margin-top: 0px;