From 5ce542b6f101d697be835b24d505ff0ce6569956 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 11 Sep 2019 17:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E4=BF=A1=E6=81=AFajaxsubmit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- safesite/templates/companyinfo.html | 213 +++++++--------------------- safesite/templates/index.html | 1 + safesite/views.py | 25 +--- 3 files changed, 52 insertions(+), 187 deletions(-) diff --git a/safesite/templates/companyinfo.html b/safesite/templates/companyinfo.html index a98d72b0..27b8f255 100644 --- a/safesite/templates/companyinfo.html +++ b/safesite/templates/companyinfo.html @@ -1,165 +1,50 @@ - - +
公司信息
+
+ {% csrf_token %} + {{ companyinfo.non_field_errors }} + + + + + + + + + {% for field in companyinfo %} + + + + + {% endfor %} + + + + +
+ 属性 + + 内容 +
{{ field.label_tag }}{{ field }}{{ field.errors }}
+
+ - - - - ctc安全生产管理系统 - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-
公司信息
-
- {% csrf_token %} - {{ companyinfo.non_field_errors }} - - - - - - - - - {% for field in companyinfo %} - - - - - {% endfor %} - -
- 属性 - - 内容 -
{{ field.label_tag }}{{ field }}{{ field.errors }}
-
-
- - - - -
-
-
- -
-
-
- - {{ username }} 欢迎您! - -
-
- 安全退出 - 绑定微信 - 修改密码 - - 数据大屏 -
-
- -
- - - -
-
- - - -
-
-
- - - - - - \ No newline at end of file diff --git a/safesite/templates/index.html b/safesite/templates/index.html index c531536c..8aeacfe2 100644 --- a/safesite/templates/index.html +++ b/safesite/templates/index.html @@ -25,6 +25,7 @@ +