Refactor 3-col-content

This commit is contained in:
cuom1999 2024-06-24 14:56:00 -05:00
parent 326b3d5dd3
commit a711fb9768
37 changed files with 453 additions and 384 deletions

View file

@ -10,7 +10,7 @@
{% include "contest/contest-tabs.html" %}
{% endblock %}
{% block two_col_js %}
{% block js_media %}
{% include "contest/media-js.html" %}
{% include "comments/media-js.html" %}
{% include "actionbar/media-js.html" %}

View file

@ -31,13 +31,14 @@
{% block contest_list_media %}{% endblock %}
{% endblock %}
{% block three_col_js %}
{% block js_media %}
<script type="text/javascript">
$(document).ready(function () {
$('#active-url').attr('href', changeTabParameter('active'));
$('#current-url').attr('href', changeTabParameter('current'));
$('#future-url').attr('href', changeTabParameter('future'));
$('#past-url').attr('href', changeTabParameter('past'));
registerNavigation();
var $form = $('form#filter-form');

View file

@ -18,7 +18,7 @@
</style>
{% endblock %}
{% block two_col_js %}
{% block js_media %}
<script type="text/javascript">
$(function () {
$('.contest-moss').click(function () {

View file

@ -5,7 +5,7 @@
{% include "contest/contest-tabs.html" %}
{% endblock %}
{% block two_col_js %}
{% block js_media %}
<script type="text/javascript">
window.stats = {{ stats }};
</script>