S2OJ/web/app/views/contest-standings.php
Baoshuo ea4cfd8376
All checks were successful
continuous-integration/drone/push Build is passing
refactor(web/contest/backstage): use card
2022-10-18 18:42:57 +08:00

15 lines
505 B
PHP

<div id="standings" class="
<?php if (!isset($no_bs5_card)): ?>
card card-default
<?php endif ?>"></div>
<script type="text/javascript">
standings_version=<?=$contest['extra_config']['standings_version']?>;
show_self_reviews=<?=isset($show_self_reviews) && $show_self_reviews ? 'true' : 'false' ?>;
contest_id=<?=$contest['id']?>;
standings=<?=json_encode($standings)?>;
score=<?=json_encode($score)?>;
problems=<?=json_encode($contest_data['problems'])?>;
$(document).ready(showStandings());
</script>