blob: ad5d06993dd11395ea39cfe3b0800d2cc9ebc8d5 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
{% extends "picture-base.html" %}
{% block bodyclasses %}{{ block.super }} blog blog-list{% endblock %}
{% load staticfiles %}
{% block othercss %}
<link rel="stylesheet" href="{% static "stylesheets/sass/blog.css" %}">
{% endblock %}
{% block sidebar_first_content %}
{% include "sciblog/nav-ribbon.html" %}
<div class="region-wrap">
<div class="post-question">
{% include "sciblog/blog_search_form.html" %}
</div>
</div>
<div class="hover-overlay">
<div class="region-wrap">
<div class="user-info">
<h3>{{ user.username }}</h3>
</div>
<div class="search-history">
<h3>搜索记录</h3>
<ul>
{% for search in search_history %}
<li><a href="{% url query_blogs %}?q={{ search }}">{{ search }}</a></li>
{% endfor%}
</ul>
</div>
<div class="related-questions">
<h3>您可能对一下问题也感兴趣</h3>
<ul>
{% for query in questions%}
<li>
<a href="{% url query_blogs %}?q={{ query.content }}" title="查询与此问题相关的文章">{{ query.content }}</a>
</li>
{% endfor %}
</ul>
</div>
<div class="search-history">
<h3><a href="{% url blog_collection %}" target="_blank">我的收藏</a></h3>
</div>
</div>
</div>
{% endblock %}
{% block body %}
<section id="blog-list-top-nav">
{% include "login-menu.inc.html" %}
</section>
<section id="blog-list-content">
<div style="margin-top:-25px;">
<div style="width:630px;height:1px;margin:40px 0 -3px 0;padding:0px;background-color:#b3b3b1;overflow:hidden;"></div>
<h2 class="section-name" style="color:#a8a8a8;font-weight:normal;">术语科普</h2>
<div style="width:630px;height:1px;margin:2px 0 30px 0;padding:0px;background-color:#b3b3b1;overflow:hidden;"></div>
</div>
{% for noun in ppnouns %}
<ul class="articles">
<li class="article">
<div class="article-title"><!--a href=""-->{{noun.firstkeyword }}<!--/a--></div>
<div class="excerpt">
{{ noun.detail|safe }}
</div>
</li>
<div style="width:630px;height:1px;margin:20px 0 35px 0;padding:0px;background-color:#f2f2f0;overflow:hidden;"></div>
{% endfor %}
</ul>
<div style="width:630px;height:1px;margin:-41px 0 40px 0;padding:0px;background-color:#fff;overflow:hidden;"></div>
<!--div style="width:150px;border:1px solid #d5d5d5;margin:-21px auto 40px auto;padding:0px;overflow:hidden;"></div-->
<div style="margin-top:-35px;">
<div style="width:630px;height:1px;margin-bottom:-5px;padding:0px;background-color:#b3b3b1;overflow:hidden;"></div>
<h2 class="section-name" style="color:#a8a8a8;font-weight:normal;margin-bottom:5px;">临床治疗经验</h2>
<div style="width:630px;height:1px;margin:0 0 30px 0;padding:0px;background-color:#b3b3b1;overflow:hidden;"></div>
</div>
{% if has_blogs %}
<div class="articles">
{% for blog in blogs %}
<div class="article">
<div class="article-title"><a href="{% url blog_detail blog.id %}" target="_blank">{{ blog.subhead|safe }}</a></div>
<ul class="article-subtitles inline">
<!--li>
<span>难度:</span>
{% load get_range %}
<ul class="difficulty inline rating-blocks">
{% for num in 5|get_range %}
{% if num < blog.level %}
<li class="filled"></li>
{% else %}
<li class="empty"></li>
{% endif %}
{% endfor %}
</ul>
</li>
<li>
<span>权威:</span>
<ul class="difficulty inline rating-blocks">
{% for num in 5|get_range %}
{% if num < blog.quality_value %}
<li class="filled"></li>
{% else %}
<li class="empty"></li>
{% endif %}
{% endfor %}
</ul>
</li-->
<li> <span>杂志:</span><span>{{ blog.journal|safe }}</span></li>
<li> <span>作者:</span><span>{{ blog.communication_author }}</span></li>
</ul>
<br />
<div class="excerpt">
{{ blog.conclusion|safe }}
</div>
<div style="width:630px;height:1px;margin:40px 0 20px 0;padding:0px;background-color:#f2f2f0;overflow:hidden;"></div>
</div>
{% endfor %}
</div>
{% else %}
<div class="not-found" style="margin-bottom:50px;">
<img src="{% static "images/blog-not-found.png" %}" alt="">
<div class="message">{% if tab == 'list'%}没有搜索到匹配的{% else %}暂时未收藏{% endif %}医学文章</div>
</div>
{% endif %}
</section>
{% endblock %}
{# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango: #}
|