Fix user problem css
This commit is contained in:
parent
4259b909a0
commit
c5aff93fb8
3 changed files with 15 additions and 14 deletions
|
@ -422,6 +422,7 @@ function onWindowReady() {
|
||||||
var errorList = $(this);
|
var errorList = $(this);
|
||||||
errorList.nextAll('input, select, textarea').first().after(errorList);
|
errorList.nextAll('input, select, textarea').first().after(errorList);
|
||||||
});
|
});
|
||||||
|
register_all_toggles();
|
||||||
}
|
}
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
|
@ -324,6 +324,7 @@ a.edit-profile {
|
||||||
td.problem-category {
|
td.problem-category {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
width: 99%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pp-load-link-wrapper {
|
#pp-load-link-wrapper {
|
||||||
|
|
|
@ -1,19 +1,18 @@
|
||||||
<div class="sub-result {{ breakdown.sub_result_class }}">
|
<div class="sub-details">
|
||||||
<div class="score">{{ breakdown.sub_points|floatformat(0) }} / {{ breakdown.sub_total|floatformat(0) }}</div>
|
<div class="sub-info">
|
||||||
<div class="state">
|
<div class="sub-problem">
|
||||||
<span title="{{ breakdown.sub_long_status }}" class="status">{{ breakdown.sub_short_status }}</span>
|
<a href="{{ url('problem_detail', breakdown.problem_code) }}">{{ breakdown.problem_name }}</a>
|
||||||
|
|
</div>
|
||||||
<span class="language">{{ breakdown.sub_lang }}</span>
|
</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>
|
</div>
|
||||||
|
|
||||||
<div class="sub-info">
|
|
||||||
<div class="name">
|
|
||||||
<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-pp sub-usage">
|
<div class="sub-pp sub-usage">
|
||||||
<div class="pp">
|
<div class="pp">
|
||||||
<a href="{{ url('submission_status', breakdown.sub_id) }}">{{ breakdown.points|floatformat(0) }}pp</a>
|
<a href="{{ url('submission_status', breakdown.sub_id) }}">{{ breakdown.points|floatformat(0) }}pp</a>
|
||||||
|
|
Loading…
Reference in a new issue