修复 3个小bug

This commit is contained in:
何全
2019-03-28 18:39:36 +08:00
parent 2262e677ab
commit fac6fd52e3
7 changed files with 24 additions and 13 deletions

View File

@@ -178,7 +178,7 @@
{% for page in ecs_list.pages %}
{% if page %}
{% ifequal page ecs_list.number %}
<li class="active"><a href="?{{ page.querystring }}">{{ page }}</a>
<li class="active" ><a style="background-color: #E0E0E0" href="?{{ page.querystring }}">{{ page }}</a>
</li>
{% else %}
<li><a href="?{{ page.querystring }}" class="page">{{ page }}</a>
@@ -200,7 +200,7 @@
style="color: #0a0a0a">: &nbsp;{{ ecs_list.paginator.num_pages }} </span>
</li>
<li><span
style="color: #0a0a0a"> 数量: {{ ecs_count }}</span>
style="color: #0a0a0a"> 数量: {{ ecs_list.paginator.count }}</span>
</li>
</nav>
</div>
@@ -277,4 +277,4 @@
</script>
{% endblock %}
{% endblock %}
{% endblock %}

View File

@@ -20,4 +20,12 @@
<link href="{% static "css/plugins/toastr/toastr.min.css" %}" rel="stylesheet">
<link href="{% static "css/plugins/steps/jquery.steps.css" %}" rel="stylesheet">
<style>
.select2-container--default .select2-selection--single .select2-selection__rendered {
line-height: 32px;
}
.select2-container .select2-selection--single {
height: 32px;
}
</style>

View File

@@ -11,7 +11,7 @@
{% block page-content %}
<div class="wrapper wrapper-content">
欢迎使用本项目
</div>
@@ -21,4 +21,4 @@
{% block footer-js %}
{% endblock %}
{% endblock %}