attendance ranking

This commit is contained in:
xiaomlove
2022-04-17 21:54:25 +08:00
parent 1c9708f19b
commit e98c589cce
32 changed files with 38 additions and 35 deletions
+3 -1
View File
@@ -123,7 +123,9 @@ if (1) {
stdhead($lang_attendance['title']);
begin_main_frame();
begin_frame($lang_attendance['success']);
printf('<p>'.$lang_attendance['attend_info'].$lang_attendance['retroactive_description'].'</p>', $count, $cdays, $points, $CURUSER['attendance_card']);
$headerLeft = sprintf($lang_attendance['attend_info'].$lang_attendance['retroactive_description'], $count, $cdays, $points, $CURUSER['attendance_card']);
$headerRight = nexus_trans('attendance.ranking', ['ranking' => $attendance->my_ranking, 'counts' => $attendance->today_counts]);
printf('<p>%s<span style="float:right">%s</span></p>', $headerLeft, $headerRight);
end_frame();
echo '<div style="display: flex;justify-content: center;padding: 20px 0"><div id="calendar" style="width: 60%"></div></div>';
echo '<ul>';