diff --git a/safesite/templates/alarm.html b/safesite/templates/alarm.html new file mode 100644 index 00000000..e64d0cda --- /dev/null +++ b/safesite/templates/alarm.html @@ -0,0 +1,183 @@ + +
+
+ + + + + + + + + + + + + + + +
+ 起止时间       - + + +
+ + + + + + +
+ + +      +
+
+
+
+
+
+ + + 已处理 +
+
+

2020-03-21 22:11:56

+

20.23.3 摄像头

+ 未穿防护服一般 +
+
+
+
+ + + 已处理 +
+
+

2020-03-21 22:11:56

+

20.23.3 摄像头

+ 未穿防护服一般 +
+
+
+
+ + + 已处理 +
+
+

2020-03-21 22:11:56

+

20.23.3 摄像头

+ 未穿防护服一般 +
+
+
+
+ + + 已处理 +
+
+

2020-03-21 22:11:56

+

20.23.3 摄像头

+ 未穿防护服一般 +
+
+
+
+ + + 已处理 +
+
+

2020-03-21 22:11:56

+

20.23.3 摄像头

+ 未穿防护服一般 +
+
+
+
+ + + 已处理 +
+
+

2020-03-21 22:11:56

+

20.23.3 摄像头

+ 未穿防护服一般 +
+
+
+
+ + + 已处理 +
+
+

2020-03-21 22:11:56

+

20.23.3 摄像头

+ 未穿防护服一般 +
+
+
+
+ + + 已处理 +
+
+

2020-03-21 22:11:56

+

20.23.3 摄像头

+ 未穿防护服一般 +
+
+
+
+ + + 已处理 +
+
+

2020-03-21 22:11:56

+

20.23.3 摄像头

+ 未穿防护服一般 +
+
+
+
+ + + 已处理 +
+
+

2020-03-21 22:11:56

+

20.23.3 摄像头

+ 未穿防护服一般 +
+
+ +
+ +
+
+
+ \ No newline at end of file diff --git a/safesite/urls.py b/safesite/urls.py index d88cfc4e..b6c3ffc8 100644 --- a/safesite/urls.py +++ b/safesite/urls.py @@ -111,7 +111,7 @@ urlpatterns = [ path('html/equipmentcheckform/',views.EquipmentCheckFormView.as_view()), path('html/equipmentcheckform/add',views.EquipmentCheckFormAddView.as_view()), path('html/equipmentcheckform/update/',views.EquipmentCheckFormUpdateView.as_view()), - + path('html/alarm',views.alarmindex),#告警 diff --git a/safesite/views.py b/safesite/views.py index 025531d1..4f57b104 100644 --- a/safesite/views.py +++ b/safesite/views.py @@ -552,6 +552,8 @@ def addcheckrw(req): return render(req,'checklistadd.html') def addcheckrw2(req): return render(req,'checklistadd2.html') +def alarmindex(req):#告警 + return render(req,'alarm.html') def detailjob(req,id): return render(req,'checkjobdetail.html',{'id':id}) def updchecktable(req,id):