Update base.html

Mình không còn thấy phần chỉnh language ở dưới footer của trang nữa.
This commit is contained in:
Tran Trong Nghia 2022-12-29 08:23:27 +07:00 committed by GitHub
parent 39586c5d64
commit 4ae83db4c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -355,21 +355,10 @@
<footer>
<span id="footer-content">
<br>
<a class="background-footer" target="_blank" href="https://dmoj.ca">proudly powered by <b>DMOJ</b></a><a target="_blank" href="https://github.com/LQDJudge/online-judge"> | developed by LQDJudge team</a> |
<a class="background-footer" target="_blank" href="https://dmoj.ca">proudly powered by <b>DMOJ</b></a><a target="_blank" href="https://github.com/LQDJudge/online-judge"> | developed by LQDJudge team</a>
{% if i18n_config.footer %}
{{ i18n_config.footer|safe }} |
{% endif %}
<form action="{{ url('set_language') }}" method="post" style="display: inline" id="form-lang">
{% csrf_token %}
<input name="next" type="hidden" value="{{ request.get_full_path() }}">
<select name="language" onchange="form.submit()" style="height: 1.5em">
{% for language in language_info_list(LANGUAGES) %}
<option value="{{ language.code }}" {% if language.code == LANGUAGE_CODE %}selected{% endif %}>
{{ language.name_local }} ({{ language.code }})
</option>
{% endfor %}
</select>
</form>
</span>
</footer>
{% endblock %}