Commit b8b99124 authored by Curtis Adam's avatar Curtis Adam

Transcript Bonus: Move the achieved bonus row at the bottom and give it a special background

parent e40edfcc
......@@ -608,6 +608,8 @@ $themes: (
$transcript_bonus_statistics_info_name_background: map-get($map, "transcript_bonus_statistics_info_name_background");
$transcript_bonus_statistics_info_details_background: map-get($map, "transcript_bonus_statistics_info_details_background");
$transcript_bonus_statistics_info_details_text: map-get($map, "transcript_bonus_statistics_info_details_text");
$transcript_bonus_statistics_info_details_achieved_background: map-get($map, "transcript_bonus_statistics_info_details_achieved_background");
$transcript_bonus_statistics_info_details_achieved_text: map-get($map, "transcript_bonus_statistics_info_details_achieved_text");
//markdeep editor colors
$markdeep_help_text: map-get($map, "markdeep_help_text");
$markdeep_help_background: map-get($map, "markdeep_help_background");
......@@ -3822,6 +3824,10 @@ $themes: (
background-color: $transcript_bonus_statistics_info_details_background !important;
color: $transcript_bonus_statistics_info_details_text !important;
}
td.achieved {
background-color: $transcript_bonus_statistics_info_details_achieved_background !important;
color: $transcript_bonus_statistics_info_details_achieved_text !important;
}
}
.bonusTrophy {
......
......@@ -651,6 +651,8 @@
"transcript_bonus_statistics_info_name_background": LightGoldenRodYellow,
"transcript_bonus_statistics_info_details_background": white,
"transcript_bonus_statistics_info_details_text": black,
"transcript_bonus_statistics_info_details_achieved_background": LightGoldenRodYellow,
"transcript_bonus_statistics_info_details_achieved_text": black,
//markdeep editor colors
"markdeep_help_text": $white,
"markdeep_help_background": $thm_orange,
......
<template name="cardsetIndexTranscriptStatisticsItemBoxBonus">
<tr>
<td>
<td class="achieved">
<i class="transcript-achieved-bonus fas fa-award"></i>&nbsp;{{_ "transcriptForm.bonus.statistics.bonus"}}:
</td>
<td>
<td class="achieved">
{{getAchievedBonus this.cardset_id this.user_id}}&nbsp;%
</td>
</tr>
......
......@@ -13,10 +13,10 @@
{{> cardsetIndexTranscriptStatisticsItemBoxPending}}
{{> cardsetIndexTranscriptStatisticsItemBoxAccepted}}
{{> cardsetIndexTranscriptStatisticsItemBoxDenied}}
{{> cardsetIndexTranscriptStatisticsItemBoxBonus}}
{{> cardsetIndexTranscriptStatisticsItemBoxStarsTotal}}
{{> cardsetIndexTranscriptStatisticsItemBoxStarsMedian}}
{{> cardsetIndexTranscriptStatisticsItemBoxLastSubmission}}
{{> cardsetIndexTranscriptStatisticsItemBoxBonus}}
</tbody>
</table>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment