aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/templates/sciblog/blog_detail_results.html
blob: 4672a8a319d6f534de91edfd4080def4c3849116 (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
46
47
{% extends "sciblog/blog_detail.html" %}
{% block bodyclasses %}{{ block.super }} blog-results{% endblock %}
{% block sectionname %}
<span style="font-weight:normal;">治疗结果</span>
{% 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">相关指标&nbsp;</h3>
		  <h4 class="card-subtitle">{{ result.shorttitle }}&nbsp;</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 %}