feat:添加fz页面
This commit is contained in:
		
							
								
								
									
										51
									
								
								templates/fz.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								templates/fz.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,51 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="zh-cn"> | ||||
|  | ||||
| <head> | ||||
|  | ||||
|     <meta charset="utf-8"> | ||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1"> | ||||
|     <meta name="description" content=""> | ||||
|     <meta name="author" content=""> | ||||
|  | ||||
|     <title>反诈预警平台</title> | ||||
| </head> | ||||
|  | ||||
| <body> | ||||
|                     <h1>诈骗信息</h1> | ||||
|                             <table> | ||||
|                                 <thead> | ||||
|                                     <tr> | ||||
|                                         <th>UUID</th> | ||||
|                                         <th>受害人号码</th> | ||||
|                                         <th>诈骗方式</th> | ||||
|                                         <th>诈骗类型</th> | ||||
|                                         <th>预警时间</th> | ||||
|                                         <th>预警等级</th> | ||||
|                                         <th>APP/URL名称</th> | ||||
|                                         <th>诈骗电话</th> | ||||
|                                         <th>通话时长</th> | ||||
|                                         <th>诈骗人账号</th> | ||||
|                                         <th>转账金额</th> | ||||
|                                         <th>机构授权码</th> | ||||
|                                         <th>学号</th> | ||||
|                                     </tr> | ||||
|                                 </thead> | ||||
|                                 <tbody> | ||||
|                                     {% for item in data %} | ||||
|                                     <tr class="odd gradeX"> | ||||
|                                         {% for v in item %} | ||||
|                                         {% if v == None %} | ||||
|                                         <td>-</td> | ||||
|                                         {% else %} | ||||
|                                         <td>{{v}}</td> | ||||
|                                         {% endif %} | ||||
|                                         {% endfor %} | ||||
|                                     </tr> | ||||
|                                     {% endfor %} | ||||
|                                 </tbody> | ||||
|                             </table> | ||||
| </body> | ||||
|  | ||||
| </html> | ||||
| @@ -17,6 +17,10 @@ def showTable(): | ||||
|     data = db.fz_data.LoadFzData() | ||||
|     return render_template("tables.html", data=data) | ||||
|  | ||||
| @page_bp.route("/fz", methods=["GET"]) | ||||
| def fz(): | ||||
|     data = db.fz_data.LoadFzData() | ||||
|     return render_template("fz.html", data=data) | ||||
|  | ||||
| @page_bp.route("/", methods=["GET"]) | ||||
| def index(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user