From 1e4a9c0565c3d2f52ec205ae7627ebfc84278735 Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Wed, 30 Oct 2013 10:16:21 +0800 Subject: * merged commits from 'maxwell lou' by time '20131028_09:52'; * moved 'ValueKind' model from 'recommend/models' to 'indicator/models' * added field 'type' for 'indicator.models.Indicator' * added field 'kind' for 'indicator.models.IndicatorRecord', 'InnateConfine' * updated methods for models 'Indicator', 'IndicatorRecord', 'InnateConfine' * updated views and templates for 'apps/indicator' * added 'INDICATOR_RECOMMEND_PERIOD' into 'settings.py' * added 'type' field for 'indicator.models.Indicator' in 'search_indexes.py' * added a confirm step for 'EditHistoryData' page when delete a record * removed dir 'backupdata'; 'queries.txt' moved to 'backup' dir * moved *.json to 'backup' dir * removed 'apps/managers*.py' * updated 'indicator/popup/IndexDesc.html' * created dir 'apps/indicator/obsolete'; * moved 'indicator/forms.py' to dir 'obsolete'; * splitted views related forms.py from 'views.py', and placed in 'obsolete/views_forms.py' * loadded newest data into database * cleaned pervious data files in 'backup' dir * updated 'README.txt'; added a solution to a redis problem * added field 'type' of 'indicator.models.Indicator'; for filtering search results and only returning 'NORMAL_TYPE' --- 97suifangqa/templates/base.html | 2 +- 97suifangqa/templates/blog_list_backup.html | 139 +++++++++++++++++++++ 97suifangqa/templates/picture-base.html | 4 +- 97suifangqa/templates/sciblog/blog_detail.html | 25 ++-- .../templates/sciblog/blog_detail_abstract.html | 5 +- .../templates/sciblog/blog_detail_comment.html | 3 +- .../templates/sciblog/blog_detail_follow.html | 21 +++- .../templates/sciblog/blog_detail_knowledge.html | 4 +- .../templates/sciblog/blog_detail_refrences.html | 5 +- .../sciblog/blog_detail_results-detail.html | 22 ++-- .../templates/sciblog/blog_detail_results.html | 4 +- .../templates/sciblog/blog_detail_source.html | 6 +- .../templates/sciblog/blog_detail_test.html | 4 +- 97suifangqa/templates/sciblog/blog_list.html | 63 +++++++--- .../templates/sciblog/blog_list_collection.html | 137 ++++++++++++++++++++ .../templates/sciblog/blog_search_form.html | 2 +- 97suifangqa/templates/sciblog/index.html | 2 +- 97suifangqa/templates/sciblog/nav-ribbon.html | 6 +- .../search/indexes/sciblog/blogannotation_text.txt | 2 + 19 files changed, 394 insertions(+), 62 deletions(-) create mode 100644 97suifangqa/templates/blog_list_backup.html create mode 100644 97suifangqa/templates/sciblog/blog_list_collection.html (limited to '97suifangqa/templates') diff --git a/97suifangqa/templates/base.html b/97suifangqa/templates/base.html index a93f207..a54037f 100644 --- a/97suifangqa/templates/base.html +++ b/97suifangqa/templates/base.html @@ -26,7 +26,7 @@ - {% block title %}97 随访{% endblock %} + {% block title %}医时代{% endblock %} {% block css %} {% block othercss %}{% endblock %} diff --git a/97suifangqa/templates/blog_list_backup.html b/97suifangqa/templates/blog_list_backup.html new file mode 100644 index 0000000..9afadee --- /dev/null +++ b/97suifangqa/templates/blog_list_backup.html @@ -0,0 +1,139 @@ +{% extends "picture-base.html" %} +{% block bodyclasses %}{{ block.super }} blog blog-list{% endblock %} +{% load staticfiles %} +{% block othercss %} + +{% endblock %} +{% block sidebar_first_content %} + {% include "sciblog/nav-ribbon.html" %} +
+
+ {% include "sciblog/blog_search_form.html" %} +
+
+
+
+ +
+

搜索记录

+
    + {% for search in search_history %} +
  • {{ search }}
  • + {% endfor%} +
+
+ +
+

我的收藏

+ +
+ +
+
+{% endblock %} +{% block body %} + +
+ {% include "login-menu.inc.html" %} + +
+
+ +
+
+

医学文章

+
+
+ + {% if has_blogs %} +
+ {% for blog in blogs %} +
+
{{ blog.subhead }}
+
    + +
  • 杂志:{{ blog.journal }}
  • +
  • 作者:{{ blog.communication_author }}
  • +
+
+
+ {{ blog.conclusion|safe }} +
+
+
+ {% endfor %} +
+ {% else %} +
+ +
{% if tab == 'list'%}没有搜索到匹配的{% else %}暂时未收藏{% endif %}医学文章
+
+ {% endif %} + +
+ + +
+
+

专业术语

+
+
+ + {% for noun in ppnouns %} + + +
+ +{% endblock %} + +{# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango: #} diff --git a/97suifangqa/templates/picture-base.html b/97suifangqa/templates/picture-base.html index 087d890..7b09f5a 100644 --- a/97suifangqa/templates/picture-base.html +++ b/97suifangqa/templates/picture-base.html @@ -6,9 +6,9 @@
{% block sidebar_first_content %}{% endblock %} diff --git a/97suifangqa/templates/sciblog/blog_detail.html b/97suifangqa/templates/sciblog/blog_detail.html index d9e53c9..3273feb 100644 --- a/97suifangqa/templates/sciblog/blog_detail.html +++ b/97suifangqa/templates/sciblog/blog_detail.html @@ -11,9 +11,12 @@ {% include "sciblog/blog_search_form.html" %}
@@ -42,9 +45,10 @@
+ @@ -84,12 +88,12 @@
@@ -103,10 +107,11 @@ -

{{ blog.subhead }}

+

{{ blog.subhead|safe }}

{% block sectionname %}临床策略{% endblock %}

{% block navigation %} @@ -153,14 +158,14 @@ {% if user.is_authenticated %} {% else %} - + {% endif %}