aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/templates/sciblog/blog_detail_results.html
diff options
context:
space:
mode:
authorAlvin Li <liweitianux@gmail.com>2013-08-13 14:13:24 +0800
committerAlvin Li <liweitianux@gmail.com>2013-08-13 14:13:24 +0800
commit9636d4a6767f49384d5c386bc3f1142c88b90613 (patch)
tree3a70f6d9e4be1791d36c87cc7cbfd1d5aa2b39dd /97suifangqa/templates/sciblog/blog_detail_results.html
parent9383d9a8a5988d071766c3d08a5c946e9c5b02ae (diff)
download97dev-9636d4a6767f49384d5c386bc3f1142c88b90613.tar.bz2
cloned from 'bitbucket', 2013/08/13
Diffstat (limited to '97suifangqa/templates/sciblog/blog_detail_results.html')
-rw-r--r--97suifangqa/templates/sciblog/blog_detail_results.html45
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">相关指标&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 %}