From 9430fa0781677826b17b3b50cf8b051cb4435d33 Mon Sep 17 00:00:00 2001 From: RobbieHan Date: Mon, 8 Apr 2019 16:17:54 +0800 Subject: [PATCH] network_asset --- .idea/workspace.xml | 390 +++++++++++++----- apps/cmdb/forms.py | 48 ++- apps/cmdb/models.py | 2 + apps/cmdb/views.py | 50 ++- apps/cmdb/views_eam.py | 36 +- apps/system/migrations/0001_initial.py | 112 ----- .../migrations/0002_auto_20181115_2124.py | 22 - .../__pycache__/0001_initial.cpython-36.pyc | Bin 4032 -> 0 bytes .../0002_auto_20181115_2124.cpython-36.pyc | Bin 704 -> 0 bytes apps/system/urls.py | 2 + apps/system/views_user.py | 31 ++ sandboxMP/settings.py | 1 + static/plugins/echarts/echarts.js | 12 + templates/base-static.html | 17 + templates/cmdb/cmdb_index.html | 258 +++++++++++- templates/cmdb/network_asset.html | 38 +- templates/cmdb/networkasset_form.html | 10 + templates/head-footer.html | 3 +- .../system/users/personal_passwd_change.html | 81 ++++ templates/system/users/user.html | 4 +- 20 files changed, 834 insertions(+), 283 deletions(-) delete mode 100644 apps/system/migrations/0001_initial.py delete mode 100644 apps/system/migrations/0002_auto_20181115_2124.py delete mode 100644 apps/system/migrations/__pycache__/0001_initial.cpython-36.pyc delete mode 100644 apps/system/migrations/__pycache__/0002_auto_20181115_2124.cpython-36.pyc create mode 100644 static/plugins/echarts/echarts.js create mode 100644 templates/system/users/personal_passwd_change.html diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 74c4bd7..576cf6d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,9 +5,21 @@ - + + + + + + + + + + + + +