Fix user problem css

This commit is contained in:
cuom1999 2024-02-12 13:43:07 -06:00
parent 4259b909a0
commit c5aff93fb8
3 changed files with 15 additions and 14 deletions

View file

@ -422,6 +422,7 @@ function onWindowReady() {
var errorList = $(this);
errorList.nextAll('input, select, textarea').first().after(errorList);
});
register_all_toggles();
}
$(function() {

View file

@ -324,6 +324,7 @@ a.edit-profile {
td.problem-category {
width: 100px;
}
width: 99%;
}
#pp-load-link-wrapper {

View file

@ -1,19 +1,18 @@
<div class="sub-result {{ breakdown.sub_result_class }}">
<div class="score">{{ breakdown.sub_points|floatformat(0) }} / {{ breakdown.sub_total|floatformat(0) }}</div>
<div class="state">
<span title="{{ breakdown.sub_long_status }}" class="status">{{ breakdown.sub_short_status }}</span>
|
<span class="language">{{ breakdown.sub_lang }}</span>
</div>
</div>
<div class="sub-details">
<div class="sub-info">
<div class="name">
<div class="sub-problem">
<a href="{{ url('problem_detail', breakdown.problem_code) }}">{{ breakdown.problem_name }}</a>
</div>
<div class="time">{{ relative_time(breakdown.sub_date) }}</div>
</div>
<div class="sub-result">
<div class="state {{ breakdown.sub_result_class }}">
<span title="{{ breakdown.sub_long_status }}" class="status">{{ breakdown.sub_short_status }}</span>
</div>
<div class="score">{{ breakdown.sub_points|floatformat(0) }} / {{ breakdown.sub_total|floatformat(0) }}</div>
<div class="language">{{ breakdown.sub_lang }}</div>
<span class="time">{{ relative_time(breakdown.sub_date) }}</span>
</div>
</div>
<div class="sub-pp sub-usage">
<div class="pp">
<a href="{{ url('submission_status', breakdown.sub_id) }}">{{ breakdown.points|floatformat(0) }}pp</a>