blob: 1427a01f219509d684a08e02a50bcbc56433788e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{% extends "sciblog/blog_detail.html" %}
{% block bodyclasses %}{{ block.super }} blog-results{% endblock %}
{% block sectionname %}
病友治疗结果
{% endblock %}
{% block navigation %}
{% endblock %}
{% load group_list %}
{% block block_pieces %}
{% for chunk in blog.results.all|chunks:3 %}
<div class="cards three-columns">
{% for result in chunk %}
<div class="column-{% cycle 'first' 'second' 'third' %}">
<div class="card {{ result.color }}" href="{% url blog_result result.id %}">
<div class="front">
<div class="card-wrap">
<h3 class="card-title">相关指标 </h3>
<h4 class="card-subtitle">{{ result.shorttitle }} </h4>
<div class="card-details">
{{ result.card_content }}
</div>
</div>
</div>
<div class="back">
<div class="card-wrap">
<div class="content-wrap">
{% for indicator in result.indicators.all %}
<div>{{ indicator.name }}</div>
{% endfor %}
</div>
</div>
</div>
<div class="abstract">
{{ result.abstract }}
</div>
</div>
</div>
{% endfor %}
</div>
<br />
{% endfor %}
{% endblock %}
|