aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/templates
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
parent9383d9a8a5988d071766c3d08a5c946e9c5b02ae (diff)
download97dev-9636d4a6767f49384d5c386bc3f1142c88b90613.tar.bz2
cloned from 'bitbucket', 2013/08/13
Diffstat (limited to '97suifangqa/templates')
-rw-r--r--97suifangqa/templates/404.html5
-rw-r--r--97suifangqa/templates/base-left-right.html14
-rw-r--r--97suifangqa/templates/base.html96
-rw-r--r--97suifangqa/templates/footer.html3
-rw-r--r--97suifangqa/templates/header.html2
-rw-r--r--97suifangqa/templates/index.html41
-rw-r--r--97suifangqa/templates/login-menu.inc.html24
-rw-r--r--97suifangqa/templates/picture-base.html18
-rw-r--r--97suifangqa/templates/profile/person-info.html11
-rw-r--r--97suifangqa/templates/registration/login.html47
-rw-r--r--97suifangqa/templates/registration/logout.html0
-rw-r--r--97suifangqa/templates/registration/password_change_done.html0
-rw-r--r--97suifangqa/templates/registration/password_change_form.html0
-rw-r--r--97suifangqa/templates/registration/password_reset_complete.html0
-rw-r--r--97suifangqa/templates/registration/password_reset_confirm.html0
-rw-r--r--97suifangqa/templates/registration/password_reset_done.html0
-rw-r--r--97suifangqa/templates/registration/password_reset_email.html0
-rw-r--r--97suifangqa/templates/registration/password_reset_form.html0
-rw-r--r--97suifangqa/templates/registration/password_reset_subject.txt0
-rw-r--r--97suifangqa/templates/registration/signup.html24
-rw-r--r--97suifangqa/templates/sciblog/blog_detail.html245
-rw-r--r--97suifangqa/templates/sciblog/blog_detail_abstract.html35
-rw-r--r--97suifangqa/templates/sciblog/blog_detail_comment.html15
-rw-r--r--97suifangqa/templates/sciblog/blog_detail_follow.html39
-rw-r--r--97suifangqa/templates/sciblog/blog_detail_knowledge.html15
-rw-r--r--97suifangqa/templates/sciblog/blog_detail_refrences.html25
-rw-r--r--97suifangqa/templates/sciblog/blog_detail_results-detail.html49
-rw-r--r--97suifangqa/templates/sciblog/blog_detail_results.html45
-rw-r--r--97suifangqa/templates/sciblog/blog_detail_source.html30
-rw-r--r--97suifangqa/templates/sciblog/blog_detail_test.html356
-rw-r--r--97suifangqa/templates/sciblog/blog_list.html113
-rw-r--r--97suifangqa/templates/sciblog/blog_search_form.html5
-rw-r--r--97suifangqa/templates/sciblog/index.html23
-rw-r--r--97suifangqa/templates/sciblog/nav-ribbon.html15
-rw-r--r--97suifangqa/templates/search/indexes/indicator/indicator_text.txt6
-rw-r--r--97suifangqa/templates/search/indexes/indicator/indicatorcategory_text.txt5
-rw-r--r--97suifangqa/templates/search/indexes/info/query_text.txt2
-rw-r--r--97suifangqa/templates/search/indexes/sciblog/blogannotation_text.txt5
-rw-r--r--97suifangqa/templates/search/indexes/sciblog/sciblog_text.txt30
-rw-r--r--97suifangqa/templates/search/query/index.html19
-rw-r--r--97suifangqa/templates/search/search.html39
41 files changed, 1401 insertions, 0 deletions
diff --git a/97suifangqa/templates/404.html b/97suifangqa/templates/404.html
new file mode 100644
index 0000000..08f9af4
--- /dev/null
+++ b/97suifangqa/templates/404.html
@@ -0,0 +1,5 @@
+{% extends "picture-base.html" %}
+{% block bodyclasses %}{{ block.super }} page-not-found{% endblock %}
+{% block body %}
+ <div class="message">发生了一点错误,点击<a href="/blog/index">离开</a>返回首页吧。</div>
+{% endblock %} \ No newline at end of file
diff --git a/97suifangqa/templates/base-left-right.html b/97suifangqa/templates/base-left-right.html
new file mode 100644
index 0000000..7baa00b
--- /dev/null
+++ b/97suifangqa/templates/base-left-right.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block body %}
+{% block top %}
+{% endblock %}
+ <div class="left_slide">
+ {% block leftside %}
+ {% endblock %}
+ </div>
+ <div class="right_slide">
+ {% block rightside %}
+ {% endblock %}
+ </div>
+{% endblock %}
diff --git a/97suifangqa/templates/base.html b/97suifangqa/templates/base.html
new file mode 100644
index 0000000..9637182
--- /dev/null
+++ b/97suifangqa/templates/base.html
@@ -0,0 +1,96 @@
+<!doctype html>
+{% load staticfiles %}
+{#-- https://github.com/paulirish/html5-boilerplate/blob/master/index.html -#}
+{#-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -#}
+{% comment %}
+ @note Justification for lang="en"
+ @author Zhao Yichen
+ @date 2013-5-22
+ If you set lang="zh", lang="" or anything that's not lang="en", and set a global font-family with Chinese fonts, all English letters would also have the Chinese fonts applied, regardless of the order of appearance in the font-family fallback list.
+
+ @note Conditional html elements
+ @author Zhao Yichen
+ @date 2013-5-22
+ These elements are taken directly from the default Hyde (python tool) template. They are used for conditional css rules.
+ .ie means the browser is any Internet Explorer, except 10
+ .ie7 means IE 7
+ .ie8 means IE 8
+ Other versions of IE (9 and up) do not have serious standards compliant problems.
+{% endcomment %}
+<!--[if lt IE 7 ]> <html lang="en" class="no-js ie"> <![endif]-->
+<!--[if IE 7 ]> <html lang="en" class="no-js ie7 ie"> <![endif]-->
+<!--[if IE 8 ]> <html lang="en" class="no-js ie8 ie"> <![endif]-->
+<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <title>{% block title %}97 随访{% endblock %}</title>
+ {% block css %}
+ <link rel="stylesheet" href="{% static "stylesheets/base.css" %}">
+ {% block othercss %}{% endblock %}
+ {% endblock %}
+ <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
+ <!--[if lt IE 9]>
+ <script type="text/javascript" src="{% static "javascripts/html5shiv.js" %}"></script>
+ <script type="text/javascript" src="{% static "javascripts/css3-mediaqueries.js" %}"></script>
+ <script type="text/javascript" src="{% static "javascripts/respond.min.js" %}"></script>
+ <![endif]-->
+
+ {% block favicons %}
+ <!-- Fav and touch icons -->
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{% static "images/apple-touch-icon-144-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{% static "images/apple-touch-icon-114-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{% static "images/apple-touch-icon-72-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" href="{% static "images/apple-touch-icon-57-precomposed.png" %}">
+ <link rel="shortcut icon" href="{% static "images/favicon.png" %}">
+ {% endblock favicons %}
+
+ {% block headjs %}{% endblock %}
+ {% block endhead %}{% endblock %}
+ </head>
+
+ <body class="{% if user.is_authenticated %}logged-in{% else %}not-logged-in{% endif %} {% block bodyclasses %}{% endblock %}">
+ {% block page %}
+ <div id="page">
+ <div id="main" role="main">
+ {% block before_content %}{% endblock %}
+ <section id="content" class="content">
+ <div class="region-wrap">
+ {% block body %}
+ {% endblock %}
+ </div>
+ </section>
+ {% block sidebar_first %}{% endblock %}
+ {% block sidebar_second %}{% endblock %}
+ {% block after_content %}{% endblock %}
+ </div>
+ <div class="modal-dialog-box" id="modal-dialog-box">
+ <div class="close-box"></div>
+ <div class="content-wrap"></div>
+ </div>
+ <div class="image-enlargement-box" id="image-enlargement-box">
+ <img src="{% static "images/loading.gif" %}" alt="" class="loading-image">
+ <div class="image-container"></div>
+ </div>
+ <div class="modal-page-overlay hidden" id="modal-page-overlay"></div>
+ </div>
+ {% endblock page %}
+
+ {% block js %}
+ {% block jquery %}
+ <script src="{% static "javascripts/jquery-1.9.1.min.js" %}"></script>
+ {% endblock %}
+
+ {% block scripts %}
+ <script type="text/javascript" src="{% static "javascripts/jquery.waitforimages.min.js" %}"></script>
+ <script type="text/javascript" src="{% static "javascripts/jquery.placeholder.min.js" %}"></script>
+ <script type="text/javascript" src="{% static "javascripts/main.js" %}"></script>
+ <script type="text/javascript">
+ $('input, textarea').placeholder();
+ </script>
+ {% block otherscripts %}{% endblock %}
+ {% endblock scripts %}
+ {% endblock js %}
+ </body>
+</html>
diff --git a/97suifangqa/templates/footer.html b/97suifangqa/templates/footer.html
new file mode 100644
index 0000000..bb97506
--- /dev/null
+++ b/97suifangqa/templates/footer.html
@@ -0,0 +1,3 @@
+
+<div id="footer">
+</div> \ No newline at end of file
diff --git a/97suifangqa/templates/header.html b/97suifangqa/templates/header.html
new file mode 100644
index 0000000..dc43a85
--- /dev/null
+++ b/97suifangqa/templates/header.html
@@ -0,0 +1,2 @@
+
+<div id="header"></div> \ No newline at end of file
diff --git a/97suifangqa/templates/index.html b/97suifangqa/templates/index.html
new file mode 100644
index 0000000..32770bd
--- /dev/null
+++ b/97suifangqa/templates/index.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>已完成页面</title>
+<style type="text/css">
+ div.pagelist {
+ width: 800px;
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 100px;
+ }
+
+ li.done {
+ text-color: green;
+ }
+
+ li.todo {
+ text-color: red;
+ }
+</style>
+</head>
+
+<body>
+<div class="pagelist">
+ 已完成页面:
+<ul>
+ <li class="done"><a href="/admin">管理界面</a></li>
+ <li class="done"><a href="{% url sciblog.views.blog_index %}">搜索首页</a></li>
+ <li class="done"><a href="{% url list_blogs %}">文章列表</a></li>
+ <li class="done"><a href="{% url blog_detail 1%}">文章详细信息显示</a></li>
+ <li class="todo"><a href="{% url login %}">登录页面</a></li>
+ <li class="todo"><a href="{% url logout %}">登出页面</a></li>
+ <li class="todo"><a href="{% url signup %}">注册界面</a></li>
+</ul>
+ 待完成页面:
+<ul>
+</ul>
+</div>
+</body>
+</html>
diff --git a/97suifangqa/templates/login-menu.inc.html b/97suifangqa/templates/login-menu.inc.html
new file mode 100644
index 0000000..63058fe
--- /dev/null
+++ b/97suifangqa/templates/login-menu.inc.html
@@ -0,0 +1,24 @@
+{% load staticfiles %}
+{% if user.is_authenticated %}
+<nav id="login" class="logged-in">
+ <span class="drop-down-area">
+ <span class="user-name">{{ user.username }}</span>
+ <img src="{% static "images/icon_down.png" %}" alt="" class="drop-down-menu-button">
+ </span>
+ <div class="drop-down-menu">
+ <div class="text-pointer"></div>
+ <ul class="links">
+ <!--li><a href="">修改密码</a></li>
+ <li><a href="">完善信息</a></li-->
+ <li class="last"><a href="{% url logout %}?next={{ request.path }}">退出</a></li>
+ </ul>
+ </div>
+</nav>
+{% else %}
+<nav id="login" class="not-logged-in">
+ <ul class="links inline">
+ <li class="first"><a href="{% url login %}?next={{ request.path }}">登录</a></li>
+ <li class="last"><a href="{% url signup %}?next={{ request.path }}">注册</a></li>
+ </ul>
+</nav>
+{% endif %}
diff --git a/97suifangqa/templates/picture-base.html b/97suifangqa/templates/picture-base.html
new file mode 100644
index 0000000..087d890
--- /dev/null
+++ b/97suifangqa/templates/picture-base.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+{% load staticfiles %}
+{% block bodyclasses %}{{ block.super }} sidebar-first picture-base left-picture{% endblock %}
+{% block sidebar_first %}
+<aside id="sidebar-first" class="region-sidebar-first">
+ <div class="background"></div>
+ {% block sidebar_first_content %}{% endblock %}
+ <header id="header">
+ <div id="logo">
+ {% block logo %}
+ <img src="{% static "images/logo-overlay-white.png" %}" alt="">
+ {% endblock %}
+ </div>
+ </header>
+</aside>
+{% endblock %}
+{% block body %}
+{% endblock %} \ No newline at end of file
diff --git a/97suifangqa/templates/profile/person-info.html b/97suifangqa/templates/profile/person-info.html
new file mode 100644
index 0000000..0d7d7bc
--- /dev/null
+++ b/97suifangqa/templates/profile/person-info.html
@@ -0,0 +1,11 @@
+<div class="signuptop black"><a href="sign.html" class="sign black">注册</a>|<a href="login.html" class="login black">登陆</a></div>
+<div class="personal"><img id="userPhoto" src="/static/images/userPhoto.jpg">
+ <div id="userLevel">99</div>
+ <div id="userName" class="black">Maxwell_Lou</div>
+ <div id="btn_down"></div>
+</div>
+<div class="personalcenter">
+ <div class="hd"></div>
+ <div class="bm"><a href="#">修改密码</a><a href="#">完善信息</a><a href="#">绑定手机</a><a href="#" class="last">退出</a></div>
+ <div class="bd"></div>
+</div>
diff --git a/97suifangqa/templates/registration/login.html b/97suifangqa/templates/registration/login.html
new file mode 100644
index 0000000..d0e98fc
--- /dev/null
+++ b/97suifangqa/templates/registration/login.html
@@ -0,0 +1,47 @@
+{% extends "picture-base.html" %}
+{% load staticfiles %}
+{% block bodyclasses %}{{ block.super }} registration login{% endblock %}
+{% block othercss %}
+<link rel="stylesheet" href="{% static "stylesheets/sass/registration.css" %}">
+{% endblock %}
+{% block body %}
+<h2>登录97随访 科学了解乙肝治疗</h2>
+<p></p>
+<p>
+ <img src="{% static "images/sinalogo.png" %}" alt="" style="width: 2.5em; vertical-align: middle;">
+ 新浪微博账号登录
+</p>
+
+
+<p>
+ <img src="{% static "images/qqlogo.png" %}" alt="" style="width: 2.5em; vertical-align: middle;">
+ 腾讯QQ账号登录
+</p>
+
+<form method="post">{% csrf_token %}
+
+ <table class="reg-form login-form">
+ <tr>
+ <td class="login-prompt">
+ <span class="prompt">或者直接用邮箱登陆</span>
+ </td>
+ <td></td>
+ </tr>
+ <tr>
+ <td>
+ <input type="text" name="{{ form.username.name }}" value="{{ form.username.value|default_if_none:"" }}" maxlength="80" placeholder="{{ form.username.label }}" class="username ">
+ </td>
+ <td rowspan="2" class="error">
+ {{form.non_field_errors|first}}
+ </td>
+ </tr>
+ <tr>
+ <td><input type="password" name="{{ form.password.name }}" placeholder="{{ form.password.label }}" class="password"></td>
+ </tr>
+ </table>
+
+ <input type="hidden" name="next" value="{{ next }}" />
+ <input type="submit" value="登 录" class="submit login"/> &emsp; | &emsp;
+ <a href="{% url profile.views.signup %}">还没有帐号?</a>
+</form>
+{% endblock body%}
diff --git a/97suifangqa/templates/registration/logout.html b/97suifangqa/templates/registration/logout.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/97suifangqa/templates/registration/logout.html
diff --git a/97suifangqa/templates/registration/password_change_done.html b/97suifangqa/templates/registration/password_change_done.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/97suifangqa/templates/registration/password_change_done.html
diff --git a/97suifangqa/templates/registration/password_change_form.html b/97suifangqa/templates/registration/password_change_form.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/97suifangqa/templates/registration/password_change_form.html
diff --git a/97suifangqa/templates/registration/password_reset_complete.html b/97suifangqa/templates/registration/password_reset_complete.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/97suifangqa/templates/registration/password_reset_complete.html
diff --git a/97suifangqa/templates/registration/password_reset_confirm.html b/97suifangqa/templates/registration/password_reset_confirm.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/97suifangqa/templates/registration/password_reset_confirm.html
diff --git a/97suifangqa/templates/registration/password_reset_done.html b/97suifangqa/templates/registration/password_reset_done.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/97suifangqa/templates/registration/password_reset_done.html
diff --git a/97suifangqa/templates/registration/password_reset_email.html b/97suifangqa/templates/registration/password_reset_email.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/97suifangqa/templates/registration/password_reset_email.html
diff --git a/97suifangqa/templates/registration/password_reset_form.html b/97suifangqa/templates/registration/password_reset_form.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/97suifangqa/templates/registration/password_reset_form.html
diff --git a/97suifangqa/templates/registration/password_reset_subject.txt b/97suifangqa/templates/registration/password_reset_subject.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/97suifangqa/templates/registration/password_reset_subject.txt
diff --git a/97suifangqa/templates/registration/signup.html b/97suifangqa/templates/registration/signup.html
new file mode 100644
index 0000000..935dde2
--- /dev/null
+++ b/97suifangqa/templates/registration/signup.html
@@ -0,0 +1,24 @@
+{% extends "picture-base.html" %}
+{% load staticfiles %}
+{% block bodyclasses %}{{ block.super }} registration signup{% endblock %}
+{% block othercss %}
+<link rel="stylesheet" href="{% static "stylesheets/sass/registration.css" %}">
+{% endblock %}
+{% block body %}
+<h2>注册97随访 科学了解乙肝治疗</h2>
+<form method="post">{% csrf_token %}
+ <table class="reg-form register-form">
+ {% for item in form %}
+ <tr>
+ <td>
+ <input type="{{ item.field.widget.input_type }}" name="{{ item.name }}" {% if item.field.widget.input_type == "text" %}value="{{ item.value|default_if_none:"" }}"{% endif %} placeholder="{{ item.label }}" class="{{ item.name }}">
+ </td>
+ <td class="error">{{ item.errors|join:"" }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+
+ <input type="submit" value="注册完毕" class="submit register"/> &emsp; |
+ &emsp; <a href="{% url apps.profile.views.login %}">已有账号</a>
+</form>
+{% endblock body %}
diff --git a/97suifangqa/templates/sciblog/blog_detail.html b/97suifangqa/templates/sciblog/blog_detail.html
new file mode 100644
index 0000000..d9e53c9
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_detail.html
@@ -0,0 +1,245 @@
+{% extends "base.html" %}
+{% load staticfiles %}
+{% block bodyclasses %}{{ block.super }} two-sidebars blog blog-details{% endblock %}
+{% block othercss %}
+<link rel="stylesheet" href="{% static "stylesheets/sass/blog.css" %}">
+{% endblock %}
+{% block sidebar_first %}
+<aside id="sidebar-first" class="region-sidebar-first">
+ {% include "sciblog/nav-ribbon.html" %}
+ <div class="post-question">
+ {% include "sciblog/blog_search_form.html" %}
+ </div>
+ <div class="related-questions">
+ <h3>关联问题</h3>
+ {% for query in blog.query.all %}
+ <div><a href="{% url query_blogs %}?q={{ query.content }}" title="查询与此问题相关的文章">{{ query.content }}</a></div>
+ {% endfor %}
+ </div>
+ <div class="toc">
+ <h3 class="toc-title">目&emsp;录</h3>
+ <ul class="links">
+ <li class="{% if blockid == 'source' %}active{% endif %}">
+ <a href="{% url blog_detail blog.id 'source'%}">文章来源</a>
+ </li>
+ <li class="{% if blockid == 'abstract' %}active{% endif %}">
+ <a href="{% url blog_detail blog.id 'abstract'%}">文章简读</a>
+ </li>
+ <li class="{% if blockid == 'knowledge' %}active{% endif %}">
+ <a href="{% url blog_detail blog.id 'knowledge'%}">科普扫盲</a>
+ </li>
+ <li class="{% if blockid == 'follow' %}active{% endif %}">
+ <a href="{% url blog_detail blog.id 'follow'%}">随访与用药</a>
+ </li>
+ <li class="{% if blockid == 'results' %}active{% endif %}">
+ <a href="{% url blog_detail blog.id 'results'%}">治疗结果</a>
+ </li>
+ <li class="{% if blockid == 'comment' %}active{% endif %}">
+ <a href="{% url blog_detail blog.id 'comment'%}">学者科学评论</a>
+ </li>
+ <li class="{% if blockid == 'refrences' %}active{% endif %}">
+ <a href="{% url blog_detail blog.id 'refrences'%}">参考信息</a>
+ </li>
+ </ul>
+ </div>
+ <header id="header">
+ <div id="logo">
+ <img src="{% static "images/slilogo.png" %}" alt="">
+ </div>
+ </header>
+</aside>
+{% endblock %}
+{% block sidebar_second %}
+<aside id="sidebar-second" class="region-sidebar-second">
+ {% include "login-menu.inc.html" %}
+ <nav class="social">
+ <!-- Below are CSS-worthy structures. Styling incomplete, but you may start filling data -->
+ <ul class="buttons inline">
+ <li>
+ <button class="multi-segment-button action-button grey-button" id="like-button" title="收藏整篇文章" target-url="{% url blog_collect blog.id %}">
+ {% if collected %}
+ <div class="segment first like-button deaction">&emsp;&nbsp;收藏</div>
+ <div class="segment first unlike-button action">不收藏</div>
+ {% else %}
+ <div class="segment first like-button action">&emsp;&nbsp;收藏</div>
+ <div class="segment first unlike-button deaction">不收藏</div>
+ {% endif %}
+ <div class="segment last count">{{ blog.collected_by.count }}</div>
+ </button>
+ </li>
+ <li>
+ <button class="multi-segment-button action-button" id="no-idea-button" title="看不懂这篇文章" target-url="{% url blog_understood blog.id %}">
+ {% if understood %}
+ <div class="segment first no-idea-button action">&emsp;&nbsp;不懂</div>
+ <div class="segment first idea-button deaction">看懂了</div>
+ {% else %}
+ <div class="segment first no-idea-button deaction">&emsp;&nbsp;不懂</div>
+ <div class="segment first idea-button action">看懂了</div>
+ {% endif %}
+ <div class="segment last count">{{ blog.catched_by.count }}</div>
+ </button>
+ </li>
+ </ul>
+ </nav>
+ <div id="card-abstract"></div>
+ <div class="lists-container">
+ <nav class="comments expandable expanded" data-expand-group-selector="#sidebar-second .lists-container nav">
+ <h4 class="expand-heading">段落注释</h4>
+ <ol class="expand-container jargon-links" id="paracomments-list">
+ </ol>
+ </nav>
+ <nav class="jargon-list expandable" data-expand-group-selector="#sidebar-second .lists-container nav">
+ <h4 class="expand-heading">专业名词</h4>
+ <ul class="expand-container jargon-links" id="propernouns-list">
+ </ul>
+ </nav>
+ </div>
+</aside>
+{% endblock %}
+{% block before_content %}
+<section id="blog-top-nav" class="blog-top-nav content">
+ <div class="region-wrap">
+ <div class="background"></div>
+ <div class="breadcrumb">
+ <ul class="links inline">
+ <!--li><a href="" class="button dark-grey-button first">更多文章</a></li-->
+ <li><a id="return-to-results-button" href="{% url blog_detail blog.id 'results'%}" class="button dark-grey-button">返回治疗结果</a></li>
+ </ul>
+ </div>
+ <h1 class="blog-title">{{ blog.subhead }}</h1>
+ <h2 class="section-name">{% block sectionname %}临床策略{% endblock %}</h2>
+ <!-- if firstSection -->
+ {% block navigation %}
+ <nav role="navigation" class="section-nav">
+ <ul class="links inline">
+ <li><a href="#methods" class="active">治疗手段</a></li>
+ <li><a href="#objectives">目标</a></li>
+ <li><a href="">结果简述</a></li>
+ <li><a href="">副作用</a></li>
+ <li><a href="">本文结论</a></li>
+ </ul>
+ </nav>
+ {% endblock %}
+ <!-- endif -->
+ </div>
+</section>
+{% endblock %}
+{% block body %}
+ <!-- if not cards -->
+ <div class="text jargons">
+ {% autoescape off %}
+ {% block block_pieces %}
+ {% endblock %}
+ {% endautoescape %}
+ {% block explanations %}
+ <div class="jargon-explanations">
+ <div class="jargon-explanation" data-key="">
+ <h3 class="name"></h3>
+ <div class="jargon-details">
+ </div>
+ </div>
+ </div>
+ {% endblock %}
+ <div class="page-expand"></div>
+ </div>
+ <div class="jargon-explanation-box">
+ <div class="text-pointer"></div>
+ <div class="close-box"></div>
+ <img src="{% static "images/loading.gif" %}" alt="" class="loading-image">
+ <div class="content-wrap">
+ <h3 class="name"></h3>
+ <div class="jargon-details"></div>
+ </div>
+ {% if user.is_authenticated %}
+ <a class="button like-button grey-button collect"><img src="{% static "images/grey-heart.png" %}" alt="">收藏该条注释</a>
+ {% else %}
+ <div class="button like-button disabled grey-button" disabled="disabled"><a href="{% url login %}?next={{ request.path }}" class="login-button">登陆</a>97随访网站搜索此条目</div>
+ {% endif %}
+ </div>
+ <!-- else -->
+ <!-- for ... -->
+ <div id="back-to-top-button" title="返回顶部"></div>
+ <div id="related-questions-confirm" class="dialog-content confirm-dialog">
+ <p>我们将要帮您重新搜索医学文章,会离开本文页面,您确定吗?</p>
+ <div class="controls">
+ <button class="dialog-ok">确认</button>
+ &nbsp;
+ <button class="dialog-cancel grey-button">取消</button>
+ </div>
+ </div>
+ <div id="like-button-login-confirm" class="dialog-content confirm-dialog">
+ <p>需要登陆才能够收藏文章。但这将离开此页面,确定离开?</p>
+ <div class="controls">
+ <button class="dialog-ok">确认</button>
+ &nbsp;
+ <button class="dialog-cancel grey-button">取消</button>
+ </div>
+ </div>
+ <div id="no-idea-button-login-confirm" class="dialog-content confirm-dialog">
+ <p>需要登陆才能让我们知道您没有看懂此文。但这将离开此页面,确定离开?</p>
+ <div class="controls">
+ <button class="dialog-ok">确认</button>
+ &nbsp;
+ <button class="dialog-cancel grey-button">取消</button>
+ </div>
+ </div>
+ <!-- endfor -->
+ <!-- endif -->
+{% endblock %}
+{% block scripts %}
+{{ block.super }}
+<script type="text/javascript" src="{% static "javascripts/jargon-display.js" %}"></script>
+<script type="text/javascript">
+$(document).ready(function() {
+ /*
+ * list all the annotations and markup the proper nouns
+ */
+
+ var annotations= {{ annotations|safe}};
+ jargon_display(annotations);
+ })
+</script>
+<script type="text/javascript">
+ $(function(){
+ var activeUrl = null;
+ $(".dialog-ok").click(function() {
+ location.href = activeUrl;
+ })
+ $(".dialog-cancel").click(function() {
+ $.modalHide();
+ })
+ $("#sidebar-first .related-questions a").click(function(e) {
+ e.preventDefault();
+ e.stopPropagation();
+ activeUrl = $(this).attr('href');
+
+ $("#related-questions-confirm").modalShow();
+ })
+ $("body.not-logged-in").find("#no-idea-button,#like-button").click(function(e) {
+ e.preventDefault();
+ e.stopPropagation();
+ activeUrl = ""; // login url
+ $("#" + $(this).attr('id') + "-login-confirm").modalShow();
+ })
+ });
+
+ $(document).ready(function(){
+ $('button.action-button').click(function(){
+ var button = $(this);
+ var url = button.attr('target-url');
+
+ $.ajax({
+ url:url,
+ dataType:'json',
+ success: function(data) {
+ if (data.error) {
+ return;
+ }
+ $('.count', button).text(data.times);
+ button.toggleClass('acted');
+ }
+ });
+ });
+ });
+</script>
+{% endblock %}
diff --git a/97suifangqa/templates/sciblog/blog_detail_abstract.html b/97suifangqa/templates/sciblog/blog_detail_abstract.html
new file mode 100644
index 0000000..03a00f3
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_detail_abstract.html
@@ -0,0 +1,35 @@
+{% extends "sciblog/blog_detail.html" %}
+
+{% block sectionname %}
+文章简读
+{% endblock %}
+
+{% block navigation %}
+<nav role="navigation" class="section-nav">
+ <ul class="links inline">
+ <li><a href="#methods" class="active">治疗方案</a></li>
+ <li><a href="#objectives">研究目标</a></li>
+ <li><a href="#abstract_result">结果简述</a></li>
+ <li><a href="#side_effect">副作用</a></li>
+ <li><a href="#conclusion">本文结论</a></li>
+ </ul>
+</nav>
+{% endblock %}
+
+{% block block_pieces %}
+<a href="" id="methods"></a>
+<h3>治疗手段</h3>
+<p>{{ blog.method }}</p>
+<a href="" id="objectives"></a>
+<h3>研究目标</h3>
+<p>{{ blog.aim }}</p>
+<a href="" id="abstract_result"></a>
+<h3>结果简述</h3>
+<p>{{ blog.abstract_result }}</p>
+<a href="" id="side_effect"></a>
+<h3>副作用</h3>
+<p>{{ blog.abstractAE }}</p>
+<a href="" id="conclusion"></a>
+<h3>本文结论</h3>
+<p>{{ blog.conclusion}}</p>
+{% endblock %}
diff --git a/97suifangqa/templates/sciblog/blog_detail_comment.html b/97suifangqa/templates/sciblog/blog_detail_comment.html
new file mode 100644
index 0000000..53dc07c
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_detail_comment.html
@@ -0,0 +1,15 @@
+{% extends "sciblog/blog_detail.html" %}
+
+{% block sectionname %}
+学者科学评论
+{% endblock %}
+
+{% block navigation %}
+{% endblock %}
+
+{% block block_pieces %}
+{% for piece in blog.konwledge_piece.comments %}
+<h4>{{ piece.title }}</h4>
+<p>{{ piece.content }}</p>
+{% endfor %}
+{% endblock %}
diff --git a/97suifangqa/templates/sciblog/blog_detail_follow.html b/97suifangqa/templates/sciblog/blog_detail_follow.html
new file mode 100644
index 0000000..3635f9b
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_detail_follow.html
@@ -0,0 +1,39 @@
+{% extends "sciblog/blog_detail.html" %}
+
+{% block sectionname %}
+随访与用药
+{% endblock %}
+
+{% block navigation %}
+<nav role="navigation" class="section-nav">
+ <ul class="links inline">
+ <li><a href="#follow_medicine" class="active">用药与随访历史</a></li>
+ <li><a href="#endpoints">判别指标</a></li>
+ <li><a href="#guideline">治疗策略</a></li>
+ </ul>
+</nav>
+{% endblock %}
+
+{% block block_pieces %}
+<a href="" id="follow_medicine"></a>
+<h3>用药与随访历史</h3>
+<p>{{ blog.treatment_content }}</p>
+<a href="" id="endpoints"></a>
+<h3>判别疗效的指标</h3>
+<h4>主要</h4>
+{% for end in blog.endpoints.all %}
+ {% if end.type == 1 %}
+ {{ end.content }}
+ {% endif %}
+{% endfor %}
+<h4>次要</h4>
+{% for end in blog.endpoints.all %}
+ {% if end.type == 2 %}
+ {{ end.content }}
+ {% endif %}
+{% endfor %}
+<div></div>
+<a href="" id="guideline"></a>
+<h3>治疗策略</h3>
+{{ blog.guidline.content }}
+{% endblock %}
diff --git a/97suifangqa/templates/sciblog/blog_detail_knowledge.html b/97suifangqa/templates/sciblog/blog_detail_knowledge.html
new file mode 100644
index 0000000..6ab749d
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_detail_knowledge.html
@@ -0,0 +1,15 @@
+{% extends "sciblog/blog_detail.html" %}
+
+{% block sectionname %}
+科普扫盲
+{% endblock %}
+
+{% block navigation %}
+{% endblock %}
+
+{% block block_pieces %}
+{% for piece in blog.konwledge_piece.knowledges %}
+<h4>{{ piece.title }}</h4>
+<p>{{ piece.content }}</p>
+{% endfor %}
+{% endblock %}
diff --git a/97suifangqa/templates/sciblog/blog_detail_refrences.html b/97suifangqa/templates/sciblog/blog_detail_refrences.html
new file mode 100644
index 0000000..a60935d
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_detail_refrences.html
@@ -0,0 +1,25 @@
+{% extends "sciblog/blog_detail.html" %}
+
+{% block sectionname %}
+参考信息
+{% endblock %}
+
+{% block navigation %}
+<nav role="navigation" class="section-nav">
+ <ul class="links inline">
+ <li><a href="#detect_methods" class="active">检测方法</a></li>
+ <li><a href="#refrences">参考文献</a></li>
+ </ul>
+</nav>
+{% endblock %}
+
+{% block block_pieces %}
+<a href="" id="detect_methods"></a>
+<h3>检测方法罗列</h3>
+<p>{{ blog.detectionAssay }}</p>
+<a href="" id="refrences"></a>
+<h3>参考文献</h3>
+{% for ref in blog.references.all %}
+<a href="{{ ref.link }}">{{ ref.description }}</a>
+{% endfor %}
+{% endblock %}
diff --git a/97suifangqa/templates/sciblog/blog_detail_results-detail.html b/97suifangqa/templates/sciblog/blog_detail_results-detail.html
new file mode 100644
index 0000000..3e6ed25
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_detail_results-detail.html
@@ -0,0 +1,49 @@
+{% extends "sciblog/blog_detail.html" %}
+{% block bodyclasses %}{{ block.super }} blog-results blog-results-detail{% endblock %}
+{% block sectionname %}
+病友治疗结果
+{% endblock %}
+
+{% block navigation %}
+{% endblock %}
+
+{% block cards_abstract %}
+ <div class="cards-abstract">
+ <div>
+ <p>{{ result.abstract }}</p>
+ </div>
+</div>
+{% endblock %}
+
+{% load group_list %}
+{% block block_pieces %}
+<div class="cards three-columns">
+ <div class="column-first">
+ <div class="card {{ result.color }}" href="">
+ <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>
+ </div>
+ <div class="column-main right card-brief">
+ <p>{{ result.abstract }}</p>
+ </div>
+</div>
+<br />
+{{ result.content }}
+{% endblock %}
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 %}
diff --git a/97suifangqa/templates/sciblog/blog_detail_source.html b/97suifangqa/templates/sciblog/blog_detail_source.html
new file mode 100644
index 0000000..83be5f1
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_detail_source.html
@@ -0,0 +1,30 @@
+{% extends "sciblog/blog_detail.html" %}
+
+{% block sectionname %}
+文章来源
+{% endblock %}
+
+{% block navigation %}
+{% endblock %}
+
+{% block block_pieces %}
+<h4>原文献标题</h4>
+<!--下文所有p就是正文标准样式-->
+<p>{{ blog.entitle }}</p>
+<p>{{ blog.title }}</p>
+<h4>发表国际期刊</h4>
+<p>{{ blog.journal }}</p>
+<h4>期刊出版日期</h4>
+<p>{{ blog.publish_date}}<p>
+<h4>期刊影响因子</h4>
+<p>{{ blog.ifvalue }}</p>
+<!--h4>本文难度系数</h4>
+<p>{{ blog.level }}</p-->
+<h4>研究学者</h4>
+<p>{{ blog.authors }}</p>
+<h4>学者机构</h4>
+<p>{% for h in blog.hospital.all %}
+{{ h.name }}({{ h.city.nation.name }})
+{% endfor %}
+等等</p>
+{% endblock %}
diff --git a/97suifangqa/templates/sciblog/blog_detail_test.html b/97suifangqa/templates/sciblog/blog_detail_test.html
new file mode 100644
index 0000000..b6823a9
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_detail_test.html
@@ -0,0 +1,356 @@
+{% extends "base.html" %}
+{% load staticfiles %}
+{% block bodyclasses %}{{ block.super }} two-sidebars blog blog-details{% endblock %}
+{% block othercss %}
+<link rel="stylesheet" href="{% static "stylesheets/base.css" %}">
+<link rel="stylesheet" href="{% static "stylesheets/sass/blog.css" %}">
+{% endblock %}
+{% block oldcss %}{% endblock %}
+{% block sidebar_first %}
+<aside id="sidebar-first" class="region-sidebar-first">
+ <div class="post-question">
+ <form method="post" class="search" action="/query">
+ {% csrf_token %}
+ <input type="text" name="q" placeholder="乙肝甲肝各种肝炎" class="question">
+ <input type="submit" value="提问" class="submit">
+ </form>
+ </div>
+ <div class="related-questions">
+ <h3>关联问题</h3>
+ <div><a href="" title="查询与此问题相关的文章">什么是乙肝</a></div>
+ <div><a href="" title="查询与此问题相关的文章">什么是乙肝</a></div>
+ <div><a href="" title="查询与此问题相关的文章">什么是乙肝</a></div>
+ <div><a href="" title="查询与此问题相关的文章">什么是乙肝</a></div>
+ <div><a href="" title="查询与此问题相关的文章">什么是乙肝</a></div>
+ </div>
+ <div class="toc">
+ <h3 class="toc-title">目&emsp;录</h3>
+ <ul class="links">
+ <li>
+ <a href="{% url blog_detail blog.id 'source'%}">文章来源</a>
+ </li>
+ <li>
+ <a href="{% url blog_detail blog.id 'abstract'%}">文章简读</a>
+ </li>
+ <li>
+ <a href="{% url blog_detail blog.id 'knowledge'%}">科普扫盲</a>
+ </li>
+ <li>
+ <a href="{% url blog_detail blog.id 'follow'%}">随访与用药</a>
+ </li>
+ <li>
+ <a href="{% url blog_detail blog.id 'comment'%}">学者科学评论</a>
+ </li>
+ <li>
+ <a href="{% url blog_detail blog.id 'refrences'%}">参考信息</a>
+ </li>
+ </ul>
+ </div>
+ <header id="header">
+ <div id="logo">
+ <img src="{% static "images/slilogo.png" %}" alt="">
+ </div>
+ </header>
+</aside>
+{% endblock %}
+{% block sidebar_second %}
+<aside id="sidebar-second" class="region-sidebar-second">
+ {% include "login-menu.inc.html" %}
+ <nav class="social">
+ <!-- Below are CSS-worthy structures. Styling incomplete, but you may start filling data -->
+ <ul class="buttons inline">
+ <li>
+ <button class="multi-segment-button action-button grey-button" id="like-button">
+ <div class="segment first like-button action">&emsp;&nbsp;收藏</div>
+ <div class="segment first unlike-button deaction">不收藏</div>
+ <div class="segment last like-count">58</div>
+ </button>
+ </li>
+ <li>
+ <button class="multi-segment-button action-button" id="no-idea-button">
+ <div class="segment first no-idea-button action">&emsp;&nbsp;不懂</div>
+ <div class="segment first idea-button deaction">看懂了</div>
+ <div class="segment last no-idea-count">37</div>
+ </button>
+ </li>
+ </ul>
+ </nav>
+ <div class="cards-abstract">
+ <div>
+ <p>
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero,
+ </p>
+ <p>
+ In porttitor. Donec laoreet nonummy augue. Suspendisse dui purus, scelerisque at, vulputate vitae, pretium mattis, nunc. Mauris eget neque at sem venenatis eleifend.
+ </p>
+ <p>
+ Donec ut est in lectus consequat consequat. Etiam eget dui. Aliquam erat volutpat. Sed at lorem in nunc porta tristique. Proin nec augue. Quisque aliquam tempor magna.
+ </p>
+ </div>
+ </div>
+ <div class="lists-container">
+ <nav class="comments expandable expanded" data-expand-group-selector="#sidebar-second .lists-container nav">
+ <h4 class="expand-heading">段落注释</h4>
+ <ol class="expand-container jargon-links">
+ <li>
+ <a href="#gu-bing-zhuan-an-mei">核苷类似物还有其他药物,比如恩替卡韦、替诺福韦,他们的耐药率是否也是很高?</a>
+ </li>
+ <li>
+ <a href="#gu-bing-zhuan-an-mei">核苷类似物还有其他药物,比如恩替卡韦、替诺福韦,他们的耐药率是否也是很高?</a>
+ </li>
+ <li>
+ <a href="#gu-bing-zhuan-an-mei">核苷类似物还有其他药物,比如恩替卡韦、替诺福韦,他们的耐药率是否也是很高?</a>
+ </li>
+ </ol>
+ </nav>
+ <nav class="jargon-list expandable" data-expand-group-selector="#sidebar-second .lists-container nav">
+ <h4 class="expand-heading">专业名词</h4>
+ <ul class="expand-container jargon-links">
+ <li>
+ <a href="#gu-bing-zhuan-an-mei">谷丙转氨酶</a>
+ </li>
+ <li>
+ <a href="#gu-bing-zhuan-an-mei">谷丙转氨酶</a>
+ </li>
+ <li>
+ <a href="#gu-bing-zhuan-an-mei">谷丙转氨酶</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+</aside>
+{% endblock %}
+{% block before_content %}
+<section id="blog-top-nav" class="blog-top-nav content">
+ <div class="region-wrap">
+ <h1 class="blog-title">{{ blog.subhead }}</h1>
+ <h2 class="section-name">{% block sectionname %}临床策略{% endblock %}</h2>
+ <!-- if firstSection -->
+ {% block navigation %}
+ <nav role="navigation" class="section-nav">
+ <ul class="links inline">
+ <li><a href="#methods" class="active">治疗手段</a></li>
+ <li><a href="#objectives">目标</a></li>
+ <li><a href="">结果简述</a></li>
+ <li><a href="">副作用</a></li>
+ <li><a href="">本文结论</a></li>
+ </ul>
+ </nav>
+ {% endblock %}
+ <!-- endif -->
+ </div>
+</section>
+{% endblock %}
+{% block body %}
+ <!-- if not cards -->
+ <div class="text jargons">
+ {% block block_pieces %}
+ <a href="" id="methods"></a>
+ <h3>治疗手段</h3>
+ <h4>副标题</h4>
+ <p>
+ 24周随访期结束以后,<a href="#gu-bing-zhuan-an-mei" class="jargon">谷丙转氨酶</a>(ALT)的复常率(恢复正常值以内的几率)或者<a href="#yi-gan-bing-du" class="jargon">乙肝病毒</a>(HBV) NA水平降低到20,000拷贝/mL的几率在接受含有<a href="#ju-yi-er-chun-gan-rao-su" class="jargon">聚乙二醇干扰素</a>alfa-2a( 下文此类干扰素都简为“扰素”,如有说到普通干扰素会特别指出)的治疗组人群中会更高(比起那些仅用拉米夫定的患者)。
+ </p>
+ <h4>很多字很多字很多字很多字很多字很多字很多字很多字很多字很多字很多字很多字</h4>
+ <p>
+ 在结束治疗24周后,病毒水平降到400<a href="#copies-per-second" class="jargon">拷贝/mL</a>是很多人追求的治疗终点,在含有干扰素的治疗组人群中大概有20%左右获得了这样病毒学<a href="#virulogical-response" class="jargon">应答</a>,仅用拉米夫定的患者这个数字只有7%。
+ </p>
+ <p>
+ 在结束治疗24周后,病毒水平降到400<a href="#copies-per-second" class="jargon">拷贝/mL</a>是很多人追求的治疗终点,在含有干扰素的治疗组人群中大概有20%左右获得了这样病毒学<a href="#virulogical-response" class="jargon">应答</a>,仅用拉米夫定的患者这个数字只有7%。
+ </p>
+ <div class="highlight">
+ <p>
+ <a href="surface-antigen" class="jargon">表面抗原</a>(HBsAg)的清除,只有12个人发生(都在含有干扰素的治疗组人群中,占比3.4%),仅用<a href="#la-mi-fu-ding" class="jargon">拉米夫定</a>的治疗组中没有人获得HBsAg清除。
+ </p>
+ </div>
+
+
+ <h3><a href="" id="objectives"></a>治疗手段</h3>
+ <h4>副标题</h4>
+ <p>
+ 24周随访期结束以后,<a href="#gu-bing-zhuan-an-mei" class="jargon">谷丙转氨酶</a>(ALT)的复常率(恢复正常值以内的几率)或者<a href="#yi-gan-bing-du" class="jargon">乙肝病毒</a>(HBV) NA水平降低到20,000拷贝/mL的几率在接受含有<a href="#ju-yi-er-chun-gan-rao-su" class="jargon">聚乙二醇干扰素</a>alfa-2a( 下文此类干扰素都简为“扰素”,如有说到普通干扰素会特别指出)的治疗组人群中会更高(比起那些仅用拉米夫定的患者)。
+ </p>
+ <h4>很多字很多字很多字很多字很多字很多字很多字很多字很多字很多字很多字很多字</h4>
+ <p>
+ 在结束治疗24周后,病毒水平降到400<a href="#copies-per-second" class="jargon">拷贝/mL</a>是很多人追求的治疗终点,在含有干扰素的治疗组人群中大概有20%左右获得了这样病毒学<a href="#virulogical-response" class="jargon">应答</a>,仅用拉米夫定的患者这个数字只有7%。
+ </p>
+ <div class="image-wrap">
+ <a href="{% static "images/blog-images-temp/fig2-2.png" %}" class="enlarge-image">
+ <img src="{% static "images/blog-images-temp/fig2-1.png" %}" alt="">
+ </a>
+ </div>
+ <p>
+ 在结束治疗24周后,病毒水平降到400<a href="#copies-per-second" class="jargon">拷贝/mL</a>是很多人追求的治疗终点,在含有干扰素的治疗组人群中大概有20%左右获得了这样病毒学<a href="#virulogical-response" class="jargon">应答</a>,仅用拉米夫定的患者这个数字只有7%。
+ </p>
+ <div class="highlight">
+ <p>
+ <a href="surface-antigen" class="jargon">表面抗原</a>(HBsAg)的清除,只有12个人发生(都在含有干扰素的治疗组人群中,占比3.4%),仅用<a href="#la-mi-fu-ding" class="jargon">拉米夫定</a>的治疗组中没有人获得HBsAg清除。
+ </p>
+ </div>
+ <div class="jargon-explanations">
+ <div class="jargon-explanation" data-key="yi-gan-bing-du">
+ <h3 class="name">乙肝病毒</h3>
+ <p>
+ 在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。
+ </p>
+ <p>
+ 在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。
+ </p>
+ <p>
+ 在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。
+ </p>
+ <p class="references">
+ David E. Boundy (October 1991). "A taxonomy of programmers".
+ </p>
+ </div>
+ <div class="jargon-explanation" data-key="virulogical-response">
+ <h3 class="name">应答</h3>
+ <p>
+ 在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。
+ </p>
+ <p>
+ 在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。
+ </p>
+ <p>
+ 在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。
+ </p>
+ <p class="references">
+ David E. Boundy (October 1991). "A taxonomy of programmers".
+ </p>
+ </div>
+ <div class="jargon-explanation" data-key="gu-bing-zhuan-an-mei">
+ <h3 class="name">谷丙转氨酶</h3>
+ <p>
+ 在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。
+ </p>
+ <p>
+ 在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。
+ </p>
+ <p>
+ 在我们的研究中就接受含有乙二醇干扰素治疗的患者中,有40%的人乙肝病毒(HBV)DNA在治疗结束后24周时,下降到20,000拷贝/mL以下。
+ </p>
+ <p class="references">
+ David E. Boundy (October 1991). "A taxonomy of programmers".
+ </p>
+ </div>
+ </div>
+ </div>
+ <div class="jargon-explanation-box">
+ <div class="text-pointer"></div>
+ <div class="close-box"></div>
+ <img src="{% static "images/loading.gif" %}" alt="" class="loading-image">
+ <div class="content-wrap">
+ </div>
+ <a class="button like-button grey-button"><img src="{% static "images/grey-heart.png" %}" alt=""> 收藏该条注释</a>
+ </div>
+ <!-- else -->
+ <!-- for ... -->
+ <div class="cards three-columns">
+ <div class="column-first">
+ <div class="card grey" href="">
+ <div class="front">
+ <div class="card-wrap">
+ <h3 class="card-title">ALT 谷丙转氨酶</h3>
+ <h4 class="card-subtitle">谁的组织学应答好?</h4>
+ <div class="card-details">
+ 治疗结束随访24周以后<br>
+ ALT恢复正常<br>
+ ALT没有恢复正常
+ </div>
+ </div>
+ </div>
+ <div class="back">
+ <div class="card-wrap">
+ <div class="content-wrap">
+ <div>ALT 谷丙转氨酶</div>
+ <div>HBeAg e抗原</div>
+ <div>...</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="column-second">
+ <div class="card green">
+ <div class="front">
+ <div class="card-wrap">
+ <h3 class="card-title">ALT 谷丙转氨酶</h3>
+ <h4 class="card-subtitle">谁的组织学应答好?</h4>
+ <div class="card-details">
+ 治疗结束随访24周以后<br>
+ ALT恢复正常<br>
+ ALT没有恢复正常
+ </div>
+ </div>
+ </div>
+ <div class="back">
+ <div class="card-wrap">
+ <div class="content-wrap">
+ <div>ALT 谷丙转氨酶</div>
+ <div>HBeAg e抗原</div>
+ <div>...</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="column-third">
+ <div class="card blue">
+ <div class="front">
+ <div class="card-wrap">
+ <h4 class="card-title">ALT 谷丙转氨酶</h4>
+ <h5 class="card-subtitle">谁的组织学应答好?</h5>
+ <div class="card-details">
+ 治疗结束随访24周以后<br>
+ ALT恢复正常<br>
+ ALT没有恢复正常
+ </div>
+ </div>
+ </div>
+ <div class="back">
+ <div class="card-wrap">
+ <div class="content-wrap">
+ <div>ALT 谷丙转氨酶</div>
+ <div>HBeAg e抗原</div>
+ <div>...</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endblock %}
+ <div id="back-to-top-button" title="返回顶部" class="hidden"></div>
+ </div>
+ <div id="related-questions-confirm" class="dialog-content">
+ <p>我们将要帮您重新搜索医学文章,会离开本文页面,您确定吗?</p>
+ <div class="controls">
+ <button class="dialog-ok">确认</button>
+ &nbsp;
+ <button class="dialog-cancel grey-button">取消</button>
+ </div>
+ </div>
+ <!-- endfor -->
+ <!-- endif -->
+{% endblock %}
+{% block scripts %}
+{{ block.super }}
+<script type="text/javascript">
+ $(function(){
+ var activeUrl = null;
+ $("#related-questions-confirm .dialog-ok").click(function() {
+ location.href = activeUrl;
+ })
+ $("#related-questions-confirm .dialog-cancel").click(function() {
+ $.modalHide();
+ })
+ $("#sidebar-first .related-questions a").click(function(e) {
+ e.preventDefault();
+ e.stopPropagation();
+ activeUrl = $(this).attr('href');
+
+ $("#related-questions-confirm").modalShow();
+ })
+ })
+</script>
+{% endblock %}
diff --git a/97suifangqa/templates/sciblog/blog_list.html b/97suifangqa/templates/sciblog/blog_list.html
new file mode 100644
index 0000000..7e8b7b2
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_list.html
@@ -0,0 +1,113 @@
+{% 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>用户姓名</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>
+ </div>
+{% endblock %}
+{% block body %}
+ <section id="blog-list-top-nav">
+ {% include "login-menu.inc.html" %}
+ <nav class="search-type-nav">
+ <ul class="links inline">
+ <li class="first-level"><a href="" class="{% if tab == 'list' %}active{% endif %}">搜索结果</a></li>
+ <!--li class="first-level"><a href="">术语</a></li-->
+ <li class="first-level"><a href="{% url blog_collection %}" class="{% if tab == 'collection' %}active{% endif %}">我的收藏</a></li>
+ </ul>
+ </nav>
+ </section>
+ <section id="blog-list-content">
+ <h2 class="section-name">专业术语</h2>
+ {% for noun in ppnouns %}
+ <ul class="articles">
+ <li class="article">
+ <div class="article-title"><!--a href=""-->{{noun.firstkeyword }}<!--/a--></div>
+ <div class="excerpt">
+ {{ noun.firstparagraph }}
+ </div>
+ </li>
+ {% endfor %}
+ </ul>
+ <h2 class="section-name">医学文章</h2>
+ {% if has_blogs %}
+ <div class="articles">
+ {% for blog in blogs %}
+ <div class="article">
+ <div class="article-title"><a href="{% url blog_detail blog.id %}">{{ blog.subhead }}</a></div>
+ <ul class="article-subtitles inline">
+ <!--li>
+ <span>难度:</span>
+ {% load tools %}
+ <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 }}</span></li>
+ <li> <span>作者:</span><span>{{ blog.communication_author }}</span></li>
+ </ul>
+ <br />
+ <div class="excerpt">
+ {{ blog.conclusion|safe }}
+ </div>
+ </div>
+ {% endfor %}
+ </div>
+ {% else %}
+ <div class="not-found">
+ <img src="{% static "images/blog-not-found.png" %}" alt="">
+ <div class="message">没有搜索到{% if tab == 'list'%}文章{% else %}收藏{% endif %}</div>
+ </div>
+ {% endif %}
+ </section>
+
+{% endblock %}
diff --git a/97suifangqa/templates/sciblog/blog_search_form.html b/97suifangqa/templates/sciblog/blog_search_form.html
new file mode 100644
index 0000000..e2869e9
--- /dev/null
+++ b/97suifangqa/templates/sciblog/blog_search_form.html
@@ -0,0 +1,5 @@
+<form method="get" class="searchdiv" action="{% url query_blogs %}">
+ <input type="text" name="q" placeholder="在这里搜索关键词" class="question" value="{{ q }}">
+ <input type="submit" value="搜 索" class="submit">
+</form>
+
diff --git a/97suifangqa/templates/sciblog/index.html b/97suifangqa/templates/sciblog/index.html
new file mode 100644
index 0000000..86769c2
--- /dev/null
+++ b/97suifangqa/templates/sciblog/index.html
@@ -0,0 +1,23 @@
+{% extends "base.html" %}
+{% load staticfiles %}
+{% block bodyclasses %}{{ block.super }} blog blog-index{% endblock %}
+{% block othercss %}
+<link rel="stylesheet" href="{% static "stylesheets/sass/blog.css" %}">
+{% endblock %}
+{% block body %}
+ <div class="background"></div>
+ {% include "login-menu.inc.html" %}
+ <div class="post-question">
+ {% include "sciblog/blog_search_form.html" %}
+ </div>
+
+ <header id="header">
+ <div id="logo">
+ <img src="{% static "images/logo-overlay-white.png" %}" alt="">
+ </div>
+ </header>
+
+{% endblock %}
+{% block after_content %}
+<div id="copyright">&copy; Augbase</div>
+{% endblock %} \ No newline at end of file
diff --git a/97suifangqa/templates/sciblog/nav-ribbon.html b/97suifangqa/templates/sciblog/nav-ribbon.html
new file mode 100644
index 0000000..16b2bc1
--- /dev/null
+++ b/97suifangqa/templates/sciblog/nav-ribbon.html
@@ -0,0 +1,15 @@
+<nav id="nav-ribbon" role="navigation">
+ <div class="controls-wrap">
+ <div class="head-background"></div>
+ <div class="links-wrap">
+ <ul class="links inline">
+ <li class="first"><a href="/blog/index">首页</a></li>
+ <li><a href="{% url list_blogs %}">知识库</a></li>
+ <!--li><a href="">随访工具</a></li-->
+ <!--li class="last"><a href="">我的花费</a></li-->
+ </ul>
+ </div>
+ <div class="tail">导航</div>
+ <div class="tail-cut"></div>
+ </div>
+</nav> \ No newline at end of file
diff --git a/97suifangqa/templates/search/indexes/indicator/indicator_text.txt b/97suifangqa/templates/search/indexes/indicator/indicator_text.txt
new file mode 100644
index 0000000..4ccb33e
--- /dev/null
+++ b/97suifangqa/templates/search/indexes/indicator/indicator_text.txt
@@ -0,0 +1,6 @@
+{{ object.name }}
+{{ object.pinyin }}
+{{ object.englishName }}
+{{ object.description }}
+{{ object.helpText }}
+
diff --git a/97suifangqa/templates/search/indexes/indicator/indicatorcategory_text.txt b/97suifangqa/templates/search/indexes/indicator/indicatorcategory_text.txt
new file mode 100644
index 0000000..df4ffac
--- /dev/null
+++ b/97suifangqa/templates/search/indexes/indicator/indicatorcategory_text.txt
@@ -0,0 +1,5 @@
+{{ object.name }}
+{{ object.pinyin }}
+{{ object.englishName }}
+{{ object.description }}
+
diff --git a/97suifangqa/templates/search/indexes/info/query_text.txt b/97suifangqa/templates/search/indexes/info/query_text.txt
new file mode 100644
index 0000000..1451635
--- /dev/null
+++ b/97suifangqa/templates/search/indexes/info/query_text.txt
@@ -0,0 +1,2 @@
+{{ object.content }}
+{{ object.user.get_full_name }}
diff --git a/97suifangqa/templates/search/indexes/sciblog/blogannotation_text.txt b/97suifangqa/templates/search/indexes/sciblog/blogannotation_text.txt
new file mode 100644
index 0000000..a347fc0
--- /dev/null
+++ b/97suifangqa/templates/search/indexes/sciblog/blogannotation_text.txt
@@ -0,0 +1,5 @@
+{{ object.brief_content }}
+{{ object.detail }}
+{% for keyword in object.keywords.all %}
+{{ keyword.content }}
+{% endfor %}
diff --git a/97suifangqa/templates/search/indexes/sciblog/sciblog_text.txt b/97suifangqa/templates/search/indexes/sciblog/sciblog_text.txt
new file mode 100644
index 0000000..edc145c
--- /dev/null
+++ b/97suifangqa/templates/search/indexes/sciblog/sciblog_text.txt
@@ -0,0 +1,30 @@
+{{ object.title }}
+{{ object.subhead }}
+{{ object.journal }}
+{{ object.entitle }}
+{{ object.authors }}
+{{ object.method }}
+{{ object.aim }}
+{{ object.abstract_result }}
+{{ object.abstractAE }}
+{{ object.treatment_content }}
+{{ object.endpoint_content }}
+{% for endpoint in object.endpoint_content.all %}
+{{ endpoint.content }}
+{% endfor %}
+
+{% for que in object.query.all %}
+{{ que.content }}
+{% endfor %}
+
+{{ object.conclusion }}
+
+{% for piece in object.konwledge_piece.all %}
+{{ piece.content }}
+{% endfor %}
+
+{{ object.detectionAssay }}
+
+{% for result in object.results.all %}
+{{ result.content }}
+{% endfor %}
diff --git a/97suifangqa/templates/search/query/index.html b/97suifangqa/templates/search/query/index.html
new file mode 100644
index 0000000..7e504fc
--- /dev/null
+++ b/97suifangqa/templates/search/query/index.html
@@ -0,0 +1,19 @@
+{% extends "base.html" %}
+
+{% block otherlinks %}
+ <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,600">
+{% endblock %}
+
+{% block bodyclass %}bg{% endblock %}
+
+{% block body %}
+ {% include "profile/person-info.html" %}
+ <div class="body">
+ <form method="post" class="search" action="/blog/query">
+ {% csrf_token %}
+ <input type="text" name="q" placeholder="乙肝甲肝各种肝炎" class="queinput">
+ <input type="submit" value="提问" class="quebtn">
+ </form>
+ <div class="site_logo"></div>
+ </div>
+{% endblock %}
diff --git a/97suifangqa/templates/search/search.html b/97suifangqa/templates/search/search.html
new file mode 100644
index 0000000..7308de0
--- /dev/null
+++ b/97suifangqa/templates/search/search.html
@@ -0,0 +1,39 @@
+{% extends 'base.html' %}
+
+{% block page %}
+ <h2>Search</h2>
+
+ <form method="get" action=".">
+ <table>
+ {{ form.as_table }}
+ <tr>
+ <td>&nbsp;</td>
+ <td>
+ <input type="submit" value="Search" />
+ </td>
+ </tr>
+ </table>
+
+ {% if query %}
+ <h3>Results</h3>
+
+ {% for result in page.object_list %}
+ <p>
+ <a href="{{ result.object.get_absolute_url }}">{{ result.object.show }}</a>
+ </p>
+ {% empty %}
+ <p>No results found.</p>
+ {% endfor %}
+
+ {% if page.has_previous or page.has_next %}
+ <div>
+ {% if page.has_previous %}<a href="?q={{ query }}&amp;page={{ page.previous_page_number }}">{% endif %}&laquo; Previous{% if page.has_previous %}</a>{% endif %}
+ |
+ {% if page.has_next %}<a href="?q={{ query }}&amp;page={{ page.next_page_number }}">{% endif %}Next &raquo;{% if page.has_next %}</a>{% endif %}
+ </div>
+ {% endif %}
+ {% else %}
+ {# Show some example queries to run, maybe query syntax, something else? #}
+ {% endif %}
+ </form>
+{% endblock %}