Rewrite contest UI
This commit is contained in:
parent
6c9551e089
commit
756023a097
20 changed files with 191 additions and 254 deletions
35
templates/user/base-users-two-col.html
Normal file
35
templates/user/base-users-two-col.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
{% extends "two-column-content.html" %}
|
||||
|
||||
{% block two_col_js %}
|
||||
{% block users_js_media %}{% endblock %}
|
||||
{% include "user/base-users-js.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block two_col_media %}
|
||||
<link href="http://fonts.cdnfonts.com/css/jersey-m54" rel="stylesheet">
|
||||
{% block users_media %}{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
{% block middle_content %}
|
||||
{% if page_obj and page_obj.num_pages > 1 %}
|
||||
<div style="margin-bottom: 7px; margin-top: 3px;">
|
||||
{% include "list-pages.html" %}
|
||||
<form id="search-form" name="form" action="{{ url('user_ranking_redirect') }}" method="get">
|
||||
<input id="search-handle" type="text" name="search"
|
||||
placeholder="{{ _('Search by handle...') }}">
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% block before_table %}{% endblock %}
|
||||
|
||||
<div style="overflow-x: auto;">
|
||||
<table id="users-table" class="table">
|
||||
{% block users_table %}{% endblock %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{% if page_obj and page_obj.num_pages > 1 %}
|
||||
<div style="margin-top:10px;">{% include "list-pages.html" %}</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue