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:
parent
39586c5d64
commit
4ae83db4c4
1 changed files with 1 additions and 12 deletions
|
@ -355,21 +355,10 @@
|
||||||
<footer>
|
<footer>
|
||||||
<span id="footer-content">
|
<span id="footer-content">
|
||||||
<br>
|
<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 %}
|
{% if i18n_config.footer %}
|
||||||
{{ i18n_config.footer|safe }} |
|
{{ i18n_config.footer|safe }} |
|
||||||
{% endif %}
|
{% 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>
|
</span>
|
||||||
</footer>
|
</footer>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue