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="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-info">
|
<div class="sub-info">
|
||||||
<div class="name">
|
<div class="sub-problem">
|
||||||
<a href="{{ url('problem_detail', breakdown.problem_code) }}">{{ breakdown.problem_name }}</a>
|
<a href="{{ url('problem_detail', breakdown.problem_code) }}">{{ breakdown.problem_name }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="time">{{ relative_time(breakdown.sub_date) }}</div>
|
|
||||||
</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="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