From 5bcf6aa3b784c81aad353b3cefb433493f05f4a0 Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Thu, 15 Aug 2013 00:20:55 +0800 Subject: * updated 'apps/indicator/templates/indicator/' pages, extends "base.html", make use of the django template system * added 'static_url', 'indicator_url' js variables * implemented the AJAX function for 'apps/indicator/templates/' pages TODO: * finish 'indicator.views': get_card_data_chart(), get_card_data_table() * link the front pages with the django models, forms and search! --- .../templates/indicator/NewDeleteIndex.html | 42 +++++++++++++++------- .../templates/indicator/SheetDefault.html | 42 ++++++++++++++++------ .../indicator/templates/indicator/SideBar.html | 28 ++++++++++----- .../apps/indicator/templates/indicator/index.html | 27 +++++++------- .../templates/indicator/popup/DeleteCardTip.html | 29 +++++++++------ .../templates/indicator/popup/EditHistoryData.html | 38 ++++++++++++++------ .../templates/indicator/popup/IndexDesc.html | 29 +++++++++------ 7 files changed, 161 insertions(+), 74 deletions(-) (limited to '97suifangqa/apps/indicator/templates') diff --git a/97suifangqa/apps/indicator/templates/indicator/NewDeleteIndex.html b/97suifangqa/apps/indicator/templates/indicator/NewDeleteIndex.html index 5c1b568..29c15d0 100644 --- a/97suifangqa/apps/indicator/templates/indicator/NewDeleteIndex.html +++ b/97suifangqa/apps/indicator/templates/indicator/NewDeleteIndex.html @@ -1,17 +1,35 @@ - -{% load staticfiles %} - - - - 添加或删除关注指标 +{% extends "base.html" %} +{% load static from staticfiles %} + +{% block title %} +指标状态 | 随访工具 | 97 随访 +{% endblock %} + +{% block css %} - + +{% endblock %} + +{% block jquery %} - +{% endblock %} + +{% block scripts %} - - + + + + +{% endblock %} + +{% block page %} @@ -423,6 +441,6 @@
- - +{% endblock page %} + {# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/indicator/templates/indicator/SheetDefault.html b/97suifangqa/apps/indicator/templates/indicator/SheetDefault.html index 50d71d7..56d0e6a 100644 --- a/97suifangqa/apps/indicator/templates/indicator/SheetDefault.html +++ b/97suifangqa/apps/indicator/templates/indicator/SheetDefault.html @@ -1,14 +1,22 @@ - -{% load staticfiles %} - - - - 页面4 +{% extends "base.html" %} +{% load static from staticfiles %} + +{% block title %} +指标状态 | 随访工具 | 97 随访 +{% endblock %} + +{% block css %} +{% endblock %} + +{% block jquery %} +{% endblock %} + +{% block scripts %} @@ -16,8 +24,18 @@ - - + + + +{% endblock %} + +{% block page %} @@ -203,10 +221,12 @@
- +
- - +{% endblock page %} + {# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/indicator/templates/indicator/SideBar.html b/97suifangqa/apps/indicator/templates/indicator/SideBar.html index a6db044..710a8dd 100644 --- a/97suifangqa/apps/indicator/templates/indicator/SideBar.html +++ b/97suifangqa/apps/indicator/templates/indicator/SideBar.html @@ -1,15 +1,24 @@ - -{% load staticfiles %} - - - - demo +{% extends "base.html" %} +{% load static from staticfiles %} + +{% block title %} +边栏 | 随访工具 | 97 随访 +{% endblock %} + +{% block css %} +{% endblock %} + +{% block jquery %} +{% endblock %} + +{% block scripts %} - - +{% endblock %} + +{% block page %} - +{% endblock page %} + {# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/indicator/templates/indicator/index.html b/97suifangqa/apps/indicator/templates/indicator/index.html index 94ab354..7c280f7 100644 --- a/97suifangqa/apps/indicator/templates/indicator/index.html +++ b/97suifangqa/apps/indicator/templates/indicator/index.html @@ -1,12 +1,15 @@ - - - - - 首页 - - - 指标状态 - 关注指标 - - - +{% extends "base.html" %} +{% load static from staticfiles %} + +{% block title %} +首页 | 随访工具 | 97 随访 +{% endblock %} + +{% block body %} + +{% endblock %} + +{# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/indicator/templates/indicator/popup/DeleteCardTip.html b/97suifangqa/apps/indicator/templates/indicator/popup/DeleteCardTip.html index 3aed409..7424930 100644 --- a/97suifangqa/apps/indicator/templates/indicator/popup/DeleteCardTip.html +++ b/97suifangqa/apps/indicator/templates/indicator/popup/DeleteCardTip.html @@ -1,15 +1,24 @@ - -{% load staticfiles %} - - - - 取消关注卡片提示 +{% extends "base.html" %} +{% load static from staticfiles %} + +{% block title %} +取消关注卡片提示 | 随访工具 | 97 随访 +{% endblock %} + +{% block css %} +{% endblock %} + +{% block jquery %} +{% endblock %} + +{% block scripts %} - - +{% endblock %} + +{% block page %}
提示
@@ -21,6 +30,6 @@ 继续关注
- - +{% endblock page %} + {# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/indicator/templates/indicator/popup/EditHistoryData.html b/97suifangqa/apps/indicator/templates/indicator/popup/EditHistoryData.html index 094766d..2cf58d1 100644 --- a/97suifangqa/apps/indicator/templates/indicator/popup/EditHistoryData.html +++ b/97suifangqa/apps/indicator/templates/indicator/popup/EditHistoryData.html @@ -1,15 +1,33 @@ - -{% load staticfiles %} - - - - 编辑历史数据 +{% extends "base.html" %} +{% load static from staticfiles %} + +{% block title %} +编辑历史数据 | 随访工具 | 97 随访 +{% endblock %} + +{% block css %} +{% endblock %} + +{% block jquery %} +{% endblock %} + +{% block scripts %} - - + + + +{% endblock %} + +{% block page %}
乙肝病毒核算定量(PCR)
@@ -37,6 +55,6 @@
- - +{% endblock page %} + {# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/indicator/templates/indicator/popup/IndexDesc.html b/97suifangqa/apps/indicator/templates/indicator/popup/IndexDesc.html index db83f19..ad9f20d 100644 --- a/97suifangqa/apps/indicator/templates/indicator/popup/IndexDesc.html +++ b/97suifangqa/apps/indicator/templates/indicator/popup/IndexDesc.html @@ -1,15 +1,24 @@ - -{% load staticfiles %} - - - - 指标注释 +{% extends "base.html" %} +{% load static from staticfiles %} + +{% block title %} +指标注释 | 随访工具 | 97 随访 +{% endblock %} + +{% block css %} +{% endblock %} + +{% block jquery %} +{% endblock %} + +{% block scripts %} - - +{% endblock %} + +{% block page %}
乙肝病毒核算定量(PCR)
@@ -23,6 +32,6 @@
收藏该注释(已有 100 人收藏)
- - +{% endblock page %} + {# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} -- cgit v1.2.2