From c5aff93fb8a336fd680a5a7795441d08b11f03a2 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Mon, 12 Feb 2024 13:43:07 -0600 Subject: [PATCH] Fix user problem css --- resources/common.js | 1 + resources/users.scss | 1 + templates/user/pp-row.html | 27 +++++++++++++-------------- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/resources/common.js b/resources/common.js index 3073739..fa7e4d6 100644 --- a/resources/common.js +++ b/resources/common.js @@ -422,6 +422,7 @@ function onWindowReady() { var errorList = $(this); errorList.nextAll('input, select, textarea').first().after(errorList); }); + register_all_toggles(); } $(function() { diff --git a/resources/users.scss b/resources/users.scss index 1a4041c..a94e32f 100644 --- a/resources/users.scss +++ b/resources/users.scss @@ -324,6 +324,7 @@ a.edit-profile { td.problem-category { width: 100px; } + width: 99%; } #pp-load-link-wrapper { diff --git a/templates/user/pp-row.html b/templates/user/pp-row.html index 9e0758d..d943068 100644 --- a/templates/user/pp-row.html +++ b/templates/user/pp-row.html @@ -1,19 +1,18 @@ -
-
{{ breakdown.sub_points|floatformat(0) }} / {{ breakdown.sub_total|floatformat(0) }}
-
- {{ breakdown.sub_short_status }} - | - {{ breakdown.sub_lang }} +
+ +
+
+ {{ breakdown.sub_short_status }} +
+
{{ breakdown.sub_points|floatformat(0) }} / {{ breakdown.sub_total|floatformat(0) }}
+
{{ breakdown.sub_lang }}
+ {{ relative_time(breakdown.sub_date) }}
- -
- -
{{ relative_time(breakdown.sub_date) }}
-
-