diff options
Diffstat (limited to '97suifangqa/templates/sciblog/blog_detail_results.html')
-rw-r--r-- | 97suifangqa/templates/sciblog/blog_detail_results.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/97suifangqa/templates/sciblog/blog_detail_results.html b/97suifangqa/templates/sciblog/blog_detail_results.html new file mode 100644 index 0000000..1427a01 --- /dev/null +++ b/97suifangqa/templates/sciblog/blog_detail_results.html @@ -0,0 +1,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 %} |