diff options
author | Alvin Li <liweitianux@gmail.com> | 2013-08-14 00:05:31 +0800 |
---|---|---|
committer | Alvin Li <liweitianux@gmail.com> | 2013-08-14 00:05:31 +0800 |
commit | bb095adf76bddc2f6c5925bcdebb52bff75e6578 (patch) | |
tree | c04b5ef145708e76eccc5b6e703c5742578ca4a8 /97suifangqa/apps/indicator/templates | |
parent | 87ed76dd20431eb2a4216f9356b6da417fe003ce (diff) | |
download | 97dev-bb095adf76bddc2f6c5925bcdebb52bff75e6578.tar.bz2 |
* added 'templates/search/search.html'
* updated haystack settings
* updated 'static' files settings
* added 'search function' for 'apps/indicator': IndicatorCategory, Indicator
* merged static files of '97suifang-front' by 'mjymjydark'
* merged pages of '97suifang-front' by 'mjymjydark'
* updated pages to use 'django templates syntax' for the static links
TODO:
to fix the 'static links' of 'indicator/static/javascripts/*.js'
Diffstat (limited to '97suifangqa/apps/indicator/templates')
12 files changed, 989 insertions, 0 deletions
diff --git a/97suifangqa/apps/indicator/templates/indicator/NewDeleteIndex.html b/97suifangqa/apps/indicator/templates/indicator/NewDeleteIndex.html new file mode 100644 index 0000000..5c1b568 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/NewDeleteIndex.html @@ -0,0 +1,428 @@ +<!DOCTYPE HTML> +{% load staticfiles %} +<html> +<head> + <meta http-equiv="content-type" content="text/html;charset=UTF-8"> + <title>添加或删除关注指标</title> + <link rel="stylesheet" type="text/css" href="{% static "css/normalize.css" %}"/> + <link rel="stylesheet" type="text/css" href="{% static "plugins/thickbox/thickbox.css" %}"/> + <link rel="stylesheet" type="text/css" href="{% static "css/new_delete_index.css" %}"/> + <script type="text/javascript" src="{% static "javascripts/jquery-1.6.min.js" %}"></script> + <script type="text/javascript" src="{% static "plugins/thickbox/thickbox.js" %}"></script> + <script type="text/javascript" src="{% static "javascripts/new_delete_index.js" %}"></script> +</head> +<body> + <!-- + <iframe align="left" width="420" height="720" src="SideBar.html" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> + --> + <iframe align="left" width="420" height="720" src="{% url indicator_sidebar %}" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> + <div id="new_delete_container"> + <div class="new_delete_title"> + <div class="content">添加或删除关注指标</div> + <div class="search"> + <input type="text" value="" placeholder="直接搜索指标" id="search_kw" autocomplete="off" /> + <img id="search_btn" src="{% static "images/search.png" %}"> + </div> + <div style="clear: both;"></div> + </div> + <div class="index_navigation"> + <!-- 根据url的参数tab,给对应div的class加 selected 样式 --> + <div class="index_type selected"><a href="?tab=1">血常规</a></div> + <div class="index_type"><a href="?tab=2">两对半</a></div> + <div class="index_type"><a href="?tab=3">肝功能</a></div> + <div class="index_type"><a href="?tab=4">肝穿刺</a></div> + <div class="index_type"><a href="?tab=5">血常规</a></div> + <div class="index_type"><a href="?tab=6">两对半</a></div> + <div class="index_type"><a href="?tab=7">肝功能</a></div> + <div class="index_type" id="index_all"><a href="?tab=all">所有指标</a></div> + <div style="clear:both;"></div> + </div> + <div class="show_indexes"> + <div class="index_container"> + <!-- 所有的展示 --> + <!-- 若url的参数tab 为 all, 则把该div的 display style 设为block; 不然,则设为none --> + <div class="all_condition" style="display: block;"> + <div class="index_all_title">所有指标</div> + <div class="index_all_letter"> + <div>A</div> + <div>B</div> + <div>C</div> + <div>D</div> + <div>E</div> + <div>F</div> + <div>G</div> + <div>H</div> + <div>I</div> + <div>J</div> + <div>K</div> + <div>L</div> + <div>M</div> + <div>N</div> + <div>O</div> + <div>P</div> + <div>Q</div> + <div>R</div> + <div>S</div> + <div>T</div> + <div>U</div> + <div>V</div> + <div>W</div> + <div>X</div> + <div>Y</div> + <div>Z</div> + </div> + <div style="clear:both;"></div> + <div class="index_letter_container"> + <div class="index_lines A"> + <div class="letter_title">A</div> + <div class="index_line" index_id="1"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines B"> + <div class="letter_title">B</div> + <div class="index_line" index_id="2"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines C"> + <div class="letter_title">C</div> + <div class="index_line" index_id="3"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines D"> + <div class="letter_title">D</div> + <div class="index_line" index_id="4"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines E"> + <div class="letter_title">E</div> + <div class="index_line" index_id="5"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines F"> + <div class="letter_title">F</div> + <div class="index_line" index_id="6"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines G"> + <div class="letter_title">G</div> + <div class="index_line" index_id="7"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines H"> + <div class="letter_title">H</div> + <div class="index_line" index_id="8"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines I"> + <div class="letter_title">I</div> + <div class="index_line" index_id="9"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines J"> + <div class="letter_title">J</div> + <div class="index_line" index_id="10"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines K"> + <div class="letter_title">K</div> + <div class="index_line" index_id="11"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines L"> + <div class="letter_title">L</div> + <div class="index_line" index_id="12"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines M"> + <div class="letter_title">M</div> + <div class="index_line" index_id="13"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines N"> + <div class="letter_title">N</div> + <div class="index_line" index_id="14"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines O"> + <div class="letter_title">O</div> + <div class="index_line" index_id="15"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines P"> + <div class="letter_title">P</div> + <div class="index_line" index_id="16"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines Q"> + <div class="letter_title">Q</div> + <div class="index_line" index_id="17"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines R"> + <div class="letter_title">R</div> + <div class="index_line" index_id="18"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines S"> + <div class="letter_title">S</div> + <div class="index_line" index_id="19"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines T"> + <div class="letter_title">T</div> + <div class="index_line" index_id="20"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines U"> + <div class="letter_title">U</div> + <div class="index_line" index_id="21"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines V"> + <div class="letter_title">V</div> + <div class="index_line" index_id="22"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines W"> + <div class="letter_title">W</div> + <div class="index_line" index_id="23"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines X"> + <div class="letter_title">X</div> + <div class="index_line" index_id="24"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines Y"> + <div class="letter_title">Y</div> + <div class="index_line" index_id="25"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + <div class="index_lines Z"> + <div class="letter_title">Z</div> + <div class="index_line" index_id="26"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + </div> + </div> + + <!-- 搜索后左边的展示 --> + <!-- 若url的参数tab 不等于 all,或者 url的参数 kw 不为空,则把该div的 display设置为block;不然,则设为none --> + <div class="search_condition" style="display: none;"> + <div class="index_title_container"> + <div class="index_title">搜索指标</div> + <div class="example_sheet">仿真化验单</div> + <div style="clear:both;"></div> + </div> + <div class="index_lines left"> + <!-- 如若kw参数为空,且tab不等于all(即点击指标类型后的页面),则把 <div class="index_category">XXXX</div> 隐藏掉即可 --> + <div class="index_line" index_id="1"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="2"> + <div class="index_name">乙肝病毒S蛋白定量</div> + <div class="index_category">血常规</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="3"> + <div class="index_name">乙肝病毒表面抗体</div> + <div class="index_category">血常规</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="4"> + <div class="index_name">乙肝病毒e抗原</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="5"> + <div class="index_name">乙肝病毒e抗体</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="6"> + <div class="index_name">乙肝病毒核心抗体IaM</div> + <div class="index_category">两对半</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="7"> + <div class="index_name">乙肝病毒核算定量(PCR)</div> + <div class="index_category">血常规</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + </div> + </div> + <div class="add_concerned_icon"></div> + <div class="index_container"> + <div class="index_title_container"> + <div class="index_title">已关注指标</div> + <div class="index_btn"> + <form id="index_form" method="post" action=""> + <input type="button" id="submitIndexBtn" value="提交" /> + <input type="hidden" id="commit_index" name="commit_index" value="" /> + </form> + </div> + <div style="clear:both;"></div> + </div> + <div class="index_lines right"> + <div class="index_line" index_id="1"> + <div class="index_name">V-谷丙氨酰转氨酶</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="2"> + <div class="index_name">总胆红素</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="3"> + <div class="index_name">乙肝病毒表面抗原</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="4"> + <div class="index_name">乙肝病毒表面抗体</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="5"> + <div class="index_name">乙肝病毒e抗体</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="6"> + <div class="index_name">乙肝病毒核算定量(PCR)</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="7"> + <div class="index_name">乙肝病毒基因型C型</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + <div class="index_line" index_id="8"> + <div class="index_name">乙肝病毒型混合型</div> + <div class="icon"></div> + <div style="clear:both"></div> + </div> + </div> + </div> + <div style="clear:both;"></div> + </div> + </div> +</body> +</html> +{# 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 new file mode 100644 index 0000000..50d71d7 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/SheetDefault.html @@ -0,0 +1,212 @@ +<!DOCTYPE HTML> +{% load staticfiles %} +<html> +<head> + <meta http-equiv="content-type" content="text/html;charset=UTF-8"> + <title>页面4</title> + <link rel="stylesheet" type="text/css" href="{% static "css/normalize.css" %}"/> + <link rel="stylesheet" type="text/css" href="{% static "plugins/datepicker/datepicker.css" %}"/> + <link rel="stylesheet" type="text/css" href="{% static "plugins/thickbox/thickbox.css" %}"/> + <link rel="stylesheet" type="text/css" href="{% static "css/sheet_default.css" %}"/> + <script type="text/javascript" src="{% static "javascripts/jquery-1.6.min.js" %}"></script> + <script type="text/javascript" src="{% static "plugins/datepicker/datepicker.js" %}"></script> + <script type="text/javascript" src="{% static "plugins/datepicker/language-zh-CN.js" %}"></script> + <script type="text/javascript" src="{% static "plugins/thickbox/thickbox.js" %}"></script> + <script type="text/javascript" src="{% static "plugins/highcharts/highcharts.js" %}"></script> + <script type="text/javascript" src="{% static "plugins/highcharts/highcharts-more.js" %}"></script> + <script type="text/javascript" src="{% static "javascripts/sheetdefault.js" %}"></script> + <script type="text/javascript" src="{% static "javascripts/load_card.js" %}"></script> +</head> +<body> + <!-- + <iframe align="left" width="420" height="720" src="SideBar.html" style="position:fixed;left:0;top:0" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> + --> + <iframe align="left" width="420" height="720" src="{% url indicator_sidebar %}" style="position:fixed;left:0;top:0" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> + <div id="right_container"> + <div id="index_status_container"> + <div class="index_title">指标状态</div> + <!-- 这里需要后端读取cookie,来判断用户是否已经点击大叉。若否,则显示;若是,则隐藏 --> + <div class="index_sub_title"> + <div class="content">以下可能是您感兴趣的指标,您可以点击卡片右上角“X”,取消关注。</div> + <div class="close_icon" id="index_title_closed_icon"></div> + </div> + + <!-- 左边的卡片加一个class "index_card_fir", 右边的卡片加一个class "index_card_sec" --> + <!-- 卡片div的id为 "index_card_卡片id",方便后续操作 --> + <div class="index_card index_card_fir" id="index_card_1"> + <div class="card_title">乙肝病毒核算定量 (PCR)1</div> + <div class="refer_range"> + <span class="refer_text">参考范围</span> + <span>100 x 10^4 拷贝 /mL</span> + </div> + <div class="edit_data"> + <div class="last_edit_data" style="display:none;"><span class="data_fir">0</span> x 10^<span class="data_sec">0</span> 拷贝 /mL</div> + <img src="{% static "images/pen.png" %}" class="small_edit_icon"> + <img class="explain_icon" src="{% static "images/nodata.png" %}"> + </div> + <div class="editing_data"> + <div class="input_container"> + <input class="edit_input_main" type="text" value="98" /> x 10^ + <input class="edit_input_sub" type="text" value="4" /> + </div> + <div class="add_minus_icon"> + <div class="add_icon"></div> + <div class="minus_icon"></div> + </div> + 拷贝 /mL + <div class="confirm_edit_icon"></div> + <div class="cancel_edit_icon"></div> + </div> + <div class="edit_icon_container"> + <div class="edit_icon"></div> + <div class="curve_icon"></div> + <div style="clear:both;"></div> + </div> + <div class="edit_text">点击右上角的按钮可以编辑数据</div> + <div class="card_bottom"> + <!-- + <div class="understand_index"><a class="thickbox" href="popup/IndexDesc.html?TB_iframe=true&no1_title&transfer_params&height=351&width=630&card_id=1">了解该指标</a></div> + --> + <div class="understand_index"><a class="thickbox" href="{% url indicator_indexdesc %}?TB_iframe=true&no1_title&transfer_params&height=351&width=630&card_id=1">了解该指标</a></div> + <div class="simulation_sheet"><a href="{% static "images/demo_sheet.png" %}" class="thickbox">仿真化验单</a></div> + <div class="detail_history"><a href="javascript:void(0)">详细历史记录</a></div> + <div style="clear:both;"></div> + </div> + <!-- thickbox插件,方便父级页面与子级弹出层的MVC隔离,方便子级弹出层的复杂需求,如:搜索、分页… --> + <!-- height参数为弹出层页面高度+2,width参数为弹出层页面宽度+2,card_id参数为卡片id --> + <!-- + <a class="card_delete_icon card_delete thickbox" href="popup/DeleteCardTip.html?TB_iframe=true&no1_title&transfer_params&height=166&width=630&card_id=1"></a> + --> + <a class="card_delete_icon card_delete thickbox" href="{% url indicator_deletecardtip %}?TB_iframe=true&no1_title&transfer_params&height=166&width=630&card_id=1"></a> + </div> + + <!-- 右边的卡片 --> + <div class="index_card index_card_sec" id="index_card_2"> + <div class="card_title">乙肝病毒核算定量 (PCR)2</div> + <div class="refer_range"> + <span class="refer_text">参考范围</span> + <span>100 x 10^4 拷贝 /mL</span> + </div> + <div class="edit_data"> + <div class="last_edit_data" style="display:none;"><span class="data_fir">0</span> x 10^<span class="data_sec">0</span> 拷贝 /mL</div> + <img src="{% static "images/pen.png" %}" class="small_edit_icon"> + <img class="explain_icon" src="{% static "images/nodata.png" %}"> + </div> + <div class="editing_data"> + <div class="input_container"> + <input class="edit_input_main" type="text" value="98" /> x 10^ + <input class="edit_input_sub" type="text" value="4" /> + </div> + <div class="add_minus_icon"> + <div class="add_icon"></div> + <div class="minus_icon"></div> + </div> + 拷贝 /mL + <div class="confirm_edit_icon"></div> + <div class="cancel_edit_icon"></div> + </div> + <div class="edit_icon_container"> + <div class="edit_icon"></div> + <div class="curve_icon"></div> + <div style="clear:both;"></div> + </div> + <div class="edit_text">点击右上角的按钮可以编辑数据</div> + <div class="card_bottom"> + <!-- + <div class="understand_index"><a class="thickbox" href="popup/IndexDesc.html?TB_iframe=true&no1_title&transfer_params&height=351&width=630&card_id=2">了解该指标</a></div> + --> + <div class="understand_index"><a class="thickbox" href="{% url indicator_indexdesc %}?TB_iframe=true&no1_title&transfer_params&height=351&width=630&card_id=2">了解该指标</a></div> + <div class="simulation_sheet"><a href="{% static "images/demo_sheet.png" %}" class="thickbox">仿真化验单</a></div> + <div class="detail_history"><a href="javascript:void(0)">详细历史记录</a></div> + <div style="clear:both;"></div> + </div> + <!-- + <a class="card_delete_icon card_delete thickbox" href="popup/DeleteCardTip.html?TB_iframe=true&no1_title&transfer_params&height=166&width=630&card_id=2"></a> + --> + <a class="card_delete_icon card_delete thickbox" href="{% url indicator_deletecardtip %}?TB_iframe=true&no1_title&transfer_params&height=166&width=630&card_id=2"></a> + </div> + + <div class="index_card index_card_fir" id="index_card_3"> + <div class="card_title">乙肝病毒核算定量 (PCR)3</div> + <div class="refer_range"> + <span class="refer_text">参考范围</span> + <span>100 x 10^4 拷贝 /mL</span> + </div> + <div class="edit_data"> + <div class="last_edit_data"><span class="data_fir">98</span> x 10^<span class="data_sec">4</span> 拷贝 /mL</div> + <img src="{% static "images/pen.png" %}" class="small_edit_icon"> + <img src="{% static "images/last_edit_data.png" %}" class="explain_icon"> + </div> + <div class="editing_data"> + <div class="input_container"> + <input class="edit_input_main" type="text" value="" autocomplete="off" /> x 10^ + <input class="edit_input_sub" type="text" value="" autocomplete="off" /> + </div> + <div class="add_minus_icon"> + <div class="add_icon"></div> + <div class="minus_icon"></div> + </div> + 拷贝 /mL + <div class="confirm_edit_icon"></div> + <div class="cancel_edit_icon"></div> + </div> + <div class="refresh_data"> + <div class="refresh_text">这是2013-07-01 化验单上的记录</div> + <div class="refresh_icon"></div> + <div style="clear:both;"></div> + </div> + <div class="select_date"> + <input class="datepicker" type="text" autocomplete="off" /> + </div> + <div id="chart_3" class="chart"></div> + <div class="card_bottom"> + <!-- + <div class="understand_index"><a class="thickbox" href="popup/IndexDesc.html?TB_iframe=true&no1_title&transfer_params&height=351&width=630&card_id=3">了解该指标</a></div> + --> + <div class="understand_index"><a class="thickbox" href="{% url indicator_indexdesc %}?TB_iframe=true&no1_title&transfer_params&height=351&width=630&card_id=3">了解该指标</a></div> + <div class="simulation_sheet"><a href="{% static "images/demo_sheet.png" %}" class="thickbox">仿真化验单</a></div> + <div class="detail_history"><a href="javascript:void(0)">详细历史记录</a></div> + <div style="clear:both;"></div> + </div> + <!-- + <a class="card_delete_icon card_delete thickbox" href="popup/DeleteCardTip.html?TB_iframe=true&no1_title&transfer_params&height=166&width=630&card_id=3"></a> + --> + <a class="card_delete_icon card_delete thickbox" href="{% url indicator_deletecardtip %}?TB_iframe=true&no1_title&transfer_params&height=166&width=630&card_id=3"></a> + </div> + + <div class="detail_card_info"> + <div class="card_title">乙肝病毒核算定量 (PCR)4<input class="collapse_btn" type="button" value="收 起" /></div> + <div class="search_data_div"> + <input class="recent_one_week shift_week" start_date="2013-08-04" end_date="2013-08-10" type="button" value="最近1周" /> + <input class="recent_two_week shift_week unselected" start_date="2013-07-28" end_date="2013-08-10" type="button" value="最近2周" /> + <div class="datepicker_container end_date_container"> + <label>截至日期</label> + <input class="datepicker end_date" id="search_end_date" type="text" value="" /> + </div> + <div class="datepicker_container"> + <label class="start_label">起始日期</label> + <input class="datepicker start_date" id="search_start_date" type="text" value="" /> + </div> + <div style="clear:both;"></div> + </div> + <div id="detail_chart"></div> + <div class="table_div"> + <table width="100%"> + <tr class="first_line"> + <td width="122px">日期</td> + <td width="124px">时间</td> + <td width="312px">记录</td> + </tr> + </table> + </div> + <div class="see_more"><input class="see_more_btn" type="button" value="浏览更多记录" /></div> + </div> + + <div class="act_card_container index_card_sec"> + <div class="act_card"><a href="NewDeleteIndex.html">添加或删除关注指标</a></div> + </div> + </div> + </div> +</body> +</html> +{# 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 new file mode 100644 index 0000000..a6db044 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/SideBar.html @@ -0,0 +1,77 @@ +<!DOCTYPE HTML> +{% load staticfiles %} +<html> +<head> + <meta charset=UTF-8"> + <title>demo</title> + <link rel="stylesheet" type="text/css" href="{% static "css/normalize.css" %}"/> + <link rel="stylesheet" type="text/css" href="{% static "css/sidebar.css" %}"/> + <script type="text/javascript" src="{% static "javascripts/jquery-1.6.min.js" %}"></script> + <script type="text/javascript" src="{% static "javascripts/sidebar.js" %}"></script> +</head> +<body> + <div id="sidebar_container"> + <!-- ====================== navigation ====================== --> + <div id="nav_container"> + <div class="head-background"></div> + <div class="hidden_navs"> + <ul> + <li><a href="javascript:void(0)">首页</a></li> + <li><a href="javascript:void(0)">医学知识</a></li> + </ul> + </div> + <div class="default_nav"> + <div class="tail"> + <a href="javascript:void(0)">导航</a> + </div> + <div class="tail-cut"></div> + <div class="curr_nav">随访工具</div> + </div> + </div> + <div class="clear"></div> + + <!-- ====================== compare ====================== --> + <div id="compare_container"> + <div class="post-question"> + <form action="" class="searchdiv" method="get"> + <input type="text" value="" class="question" placeholder="在这里搜索关键词" name="q"> + <input type="submit" class="submit" value="提问"> + </form> + </div> + <div class="similar_container"> + <div class="vertical_bar_component"> + <div class="v_b_c_top"></div> + <div class="v_b_c_middle"> + <div class="v_b_c_middle_top"></div> + <div class="v_b_c_middle_middle"></div> + <div class="v_b_c_middle_bottom"></div> + </div> + <div class="v_b_c_bottom"></div> + <div class="cycle1"> + <div class="cycle1_out"></div> + <div class="cycle1_in"></div> + </div> + <div class="cycle2"></div> + <div class="cycle3"></div> + <div class="cycle4"></div> + </div> + <div class="similar_content"> + <div class="similar_title">经比对,下文中的被研究患者与您很像:</div> + <div class="specifix_content"><div class="specifix_text">有 80% 的患者有感到头疼</div></div> + <div class="specifix_content"><div class="specifix_text">有 10% 的患者有感到头疼并且也感觉到肌疼</div></div> + <div class="specifix_content"><div class="specifix_text">有 20% 的患者ALT到达过正常值</div></div> + <div class="specifix_content"><div class="specifix_text">有 3% 的患者有感到肌疼</div></div> + </div> + </div> + <div class="clear"></div> + <div class="compare_btn"> + <div class="compare_btn_in">比对文献</div> + </div> + <div class="logo_container"> + <img src="{% static "images/slilogo.png" %}" /> + </div> + </div> + + </div> +</body> +{# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/indicator/templates/indicator/done.html b/97suifangqa/apps/indicator/templates/indicator/done.html new file mode 100644 index 0000000..2a11ea8 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/done.html @@ -0,0 +1,9 @@ +<html> +<head> + <title>DONE</title> +</head> + +<body> + <h1>DONE</h1> +</body> +</html> diff --git a/97suifangqa/apps/indicator/templates/indicator/index.html b/97suifangqa/apps/indicator/templates/indicator/index.html new file mode 100644 index 0000000..94ab354 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/index.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML> +<html> +<head> + <meta http-equiv="content-type" content="text/html;charset=UTF-8"> + <title>首页</title> +</head> +<body> + <a href="{% url indicator_status %}">指标状态</a> + <a href="{% url follow_indicator %}">关注指标</a> +</body> +</html> +<!-- vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=html: --> diff --git a/97suifangqa/apps/indicator/templates/indicator/popup/DeleteCardTip.html b/97suifangqa/apps/indicator/templates/indicator/popup/DeleteCardTip.html new file mode 100644 index 0000000..3aed409 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/popup/DeleteCardTip.html @@ -0,0 +1,26 @@ +<!DOCTYPE HTML> +{% load staticfiles %} +<html> +<head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <title>取消关注卡片提示</title> + <link rel="stylesheet" type="text/css" href="{% static "css/normalize.css" %}"/> + <link rel="stylesheet" type="text/css" href="{% static "css/delete_card_tip.css" %}"/> + <script type="text/javascript" src="{% static "javascripts/jquery-1.6.min.js" %}"></script> + <script type="text/javascript" src="{% static "javascripts/delete_card_tip.js" %}"></script> +</head> +<body> + <div id="delete_card_tip_container"> + <div class="delete_card_tip_title_line"> + <div class="delete_card_tip_title">提示</div> + <div class="delete_card_tip_close"></div> + </div> + <div class="delete_card_tip_content">取消关注指标后,该指标卡片将从本页面消失,您确定需要取消关注?</div> + <div class="delete_card_tip_action"> + <a class="action_confirm_cancel">取消关注</a> + <a class="action_confirm_ignore">继续关注</a> + </div> + </div> +</body> +</html> +{# 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 new file mode 100644 index 0000000..094766d --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/popup/EditHistoryData.html @@ -0,0 +1,42 @@ +<!DOCTYPE HTML> +{% load staticfiles %} +<html> +<head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <title>编辑历史数据</title> + <link rel="stylesheet" type="text/css" href="{% static "css/normalize.css" %}"/> + <link rel="stylesheet" type="text/css" href="{% static "css/edit_history_data.css" %}"/> + <script type="text/javascript" src="{% static "javascripts/jquery-1.6.min.js" %}"></script> + <script type="text/javascript" src="{% static "javascripts/edit_history_data.js" %}"></script> +</head> +<body> + <div id="edit_history_data_container"> + <div class="edit_history_data_title_line"> + <div class="edit_history_data_title">乙肝病毒核算定量(PCR)</div> + <div class="edit_history_data_close"></div> + </div> + <div class="edit_history_data_content"> + <div class="date_time"> + <span>日期:2013-07-16</span> + <span class="time">时间:11:20</span> + </div> + <div class="refer_range">参考范围:100 x 10^4 拷贝 /mL</div> + <div class="edit_data">您的记录:<span class="data_fir">100</span> x 10^<span class="data_sec">4</span> 拷贝 /mL<input type="button" id="edit_btn" value="修改记录" /></div> + <div class="editing_data"> + <div class="input_container"> + <label>修改记录:</label> + <input class="edit_input_main" type="text" value="" autocomplete="off" /> x 10^ + <input class="edit_input_sub" type="text" value="" autocomplete="off" /> + </div> + <div class="add_minus_icon"> + <div class="add_icon"></div> + <div class="minus_icon"></div> + </div> + 拷贝 /mL + <input type="button" id="save_btn" value="保存新记录" /> + </div> + </div> + </div> +</body> +</html> +{# 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 new file mode 100644 index 0000000..db83f19 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/popup/IndexDesc.html @@ -0,0 +1,28 @@ +<!DOCTYPE HTML> +{% load staticfiles %} +<html> +<head> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> + <title>指标注释</title> + <link rel="stylesheet" type="text/css" href="{% static "css/normalize.css" %}"/> + <link rel="stylesheet" type="text/css" href="{% static "css/index_desc.css" %}"/> + <script type="text/javascript" src="{% static "javascripts/jquery-1.6.min.js" %}"></script> + <script type="text/javascript" src="{% static "javascripts/index_desc.js" %}"></script> +</head> +<body> + <div id="index_desc_container"> + <div class="index_desc_title_line"> + <div class="index_desc_title">乙肝病毒核算定量(PCR)</div> + <div class="index_desc_close"></div> + </div> + <div class="index_desc_content"> + 乙型肝炎仍是全球最严重的公共卫生问题之一。乙型肝炎病毒核酸DNA是反映乙肝的感染状态和治疗效果的重要指标。HBV DNA的定量检测是目前通过国家认证临床PCR实验室的常规检测项目之一。 + <br /><br /> + 目前HBV的临床检测从传统的免疫学方法发展到分子生物学方法,这是科技水平的一个重大进步。分子生物学检测经历了早期的PCR凝胶电泳法、半定量法到现在的完全定量法,目前各种定量检测方法日趋成熟,国内以TAQMAN荧光基因探针技术为主流的多种检测试剂盒已开发出来。荧光基因探针PCR?目前HBV的临床检测从传统的免疫学方法发展到分子生物学方法,这是科技水平的一个重大进步。分子生物学检测经历了早期的PCR凝胶电泳法、半定量法到现在的完全定量法,目前各种定量检测方法日趋成熟,国内以TAQMAN荧光基因探针技术为主流的多种检测试剂盒已开发出来。荧光基因探针PCR? + </div> + <div class="collection">收藏该注释(已有 100 人收藏)</div> + <div class="go_library"><input type="button" class="go_library_btn" value="前往医学知识库" /></div> + </div> +</body> +</html> +{# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/indicator/templates/indicator/show_category.html b/97suifangqa/apps/indicator/templates/indicator/show_category.html new file mode 100644 index 0000000..1448bb3 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/show_category.html @@ -0,0 +1,32 @@ +<html> +<head> + <title>IndicatorCategory Details (id={{ object.id }})</title> +</head> + +<body> + <h1>IndicatorCategory Details (id={{ object.id }})</h1> + + <table> + <tr> + <td>name:</td> + <td>{{ object.name }}</td> + </tr> + <tr> + <td>pinyin:</td> + <td>{{ object.pinyin }}</td> + </tr> + <tr> + <td>englishName:</td> + <td>{{ object.englishName }}</td> + </tr> + <tr> + <td>description:</td> + <td>{{ object.description }}</td> + </tr> + <tr> + <td>addByUser_username:</td> + <td>{{ object.addByUser.username }}</td> + </tr> + </table> +</body> +</html> diff --git a/97suifangqa/apps/indicator/templates/indicator/show_indicator.html b/97suifangqa/apps/indicator/templates/indicator/show_indicator.html new file mode 100644 index 0000000..0ecd027 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/show_indicator.html @@ -0,0 +1,48 @@ +<html> +<head> + <title>Indicator Details (id={{ object.id }})</title> +</head> + +<body> + <h1>Indicator Details (id={{ object.id }})</h1> + + <table> + <tr> + <td>name:</td> + <td>{{ object.name }}</td> + </tr> + <tr> + <td>pinyin:</td> + <td>{{ object.pinyin }}</td> + </tr> + <tr> + <td>englishName:</td> + <td>{{ object.englishName }}</td> + </tr> + <tr> + <td>description:</td> + <td>{{ object.description }}</td> + </tr> + <tr> + <td>helpText:</td> + <td>{{ object.helpText }}</td> + </tr> + <tr> + <td>addByUser_username:</td> + <td>{{ object.addByUser.username }}</td> + </tr> + <tr> + <td>categories_name:</td> + <td> + {% for c in object.categories.all %} + {{ c.name }}; + {% endfor %} + </td> + </tr> + <tr> + <td>dataType:</td> + <td>{{ object.dataType }}</td> + </tr> + </table> +</body> +</html> diff --git a/97suifangqa/apps/indicator/templates/indicator/show_record.html b/97suifangqa/apps/indicator/templates/indicator/show_record.html new file mode 100644 index 0000000..49c7918 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/show_record.html @@ -0,0 +1,52 @@ +<html> +<head> + <title>IndicatorRecord Details (id={{ object.id }})</title> +</head> + +<body> + <h1>IndicatorRecord Details (id={{ object.id }})</h1> + + <table> + <tr> + <td>indicator_name:</td> + <td>{{ object.indicator.name }}</td> + </tr> + <tr> + <td>user_username:</td> + <td>{{ object.user.username }}</td> + </tr> + <tr> + <td>created_at:</td> + <td>{{ object.created_at }}</td> + </tr> + <tr> + <td>updated_at:</td> + <td>{{ object.updated_at }}</td> + </tr> + <tr> + <td>date:</td> + <td>{{ object.date }}</td> + </tr> + <tr> + <td>unit_name:</td> + <td>{{ object.unit.name }}</td> + </tr> + <tr> + <td>value:</td> + <td>{{ object.value }}</td> + </tr> + <tr> + <td>val_max:</td> + <td>{{ object.val_max }}</td> + </tr> + <tr> + <td>val_min:</td> + <td>{{ object.val_min }}</td> + </tr> + <tr> + <td>notes:</td> + <td>{{ object.notes }}</td> + </tr> + </table> +</body> +</html> diff --git a/97suifangqa/apps/indicator/templates/indicator/simple.html b/97suifangqa/apps/indicator/templates/indicator/simple.html new file mode 100644 index 0000000..7775ab7 --- /dev/null +++ b/97suifangqa/apps/indicator/templates/indicator/simple.html @@ -0,0 +1,23 @@ +<html> +<head> + <title>{{ action }} {{ object }}</title> +</head> + +<body> + <h1>{{ action }} {{ object }}</h1> + + {% if form.errors %} + <p style="color: red;"> + Please correct the error{{ form.errors|pluralize }} below. + </p> + {% endif %} + + <form action="" method="post">{% csrf_token %} + <table> + {{ form.as_table }} + </table> + <input type="submit" value="Submit" /> + </form> +</body> +</html> + |