├── .gitignore ├── GetFont.py ├── README.md ├── crm ├── .DS_Store ├── __init__.py ├── settings.py ├── urls.py └── wsgi.py ├── db.sqlite3 ├── manage.py ├── rbac ├── __init__.py ├── admin.py ├── apps.py ├── forms │ ├── __init__.py │ ├── base.py │ ├── menu.py │ ├── role.py │ └── user.py ├── middlewares │ └── rbac.py ├── migrations │ ├── 0001_initial.py │ └── __init__.py ├── models.py ├── service │ ├── init_permission.py │ ├── routes.py │ ├── urls.py │ └── 目录.md ├── static │ ├── __init__.py │ ├── css │ │ ├── commons.css │ │ └── nav.css │ ├── imgs │ │ ├── default.png │ │ ├── iico.png │ │ └── logo.png │ ├── js │ │ └── jquery-3.3.1.min.js │ ├── plugins │ │ ├── bootstrap │ │ │ ├── css │ │ │ │ ├── bootstrap-theme.css │ │ │ │ ├── bootstrap-theme.css.map │ │ │ │ ├── bootstrap-theme.min.css │ │ │ │ ├── bootstrap-theme.min.css.map │ │ │ │ ├── bootstrap.css │ │ │ │ ├── bootstrap.css.map │ │ │ │ ├── bootstrap.min.css │ │ │ │ └── bootstrap.min.css.map │ │ │ ├── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ └── js │ │ │ │ ├── bootstrap.js │ │ │ │ ├── bootstrap.min.js │ │ │ │ └── npm.js │ │ └── font-awesome │ │ │ ├── HELP-US-OUT.txt │ │ │ ├── css │ │ │ ├── font-awesome.css │ │ │ └── font-awesome.min.css │ │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ │ ├── less │ │ │ ├── animated.less │ │ │ ├── bordered-pulled.less │ │ │ ├── core.less │ │ │ ├── fixed-width.less │ │ │ ├── font-awesome.less │ │ │ ├── icons.less │ │ │ ├── larger.less │ │ │ ├── list.less │ │ │ ├── mixins.less │ │ │ ├── path.less │ │ │ ├── rotated-flipped.less │ │ │ ├── screen-reader.less │ │ │ ├── stacked.less │ │ │ └── variables.less │ │ │ └── scss │ │ │ ├── _animated.scss │ │ │ ├── _bordered-pulled.scss │ │ │ ├── _core.scss │ │ │ ├── _fixed-width.scss │ │ │ ├── _icons.scss │ │ │ ├── _larger.scss │ │ │ ├── _list.scss │ │ │ ├── _mixins.scss │ │ │ ├── _path.scss │ │ │ ├── _rotated-flipped.scss │ │ │ ├── _screen-reader.scss │ │ │ ├── _stacked.scss │ │ │ ├── _variables.scss │ │ │ └── font-awesome.scss │ └── rbac │ │ ├── __init__.py │ │ ├── css │ │ ├── __init__.py │ │ └── rbac.css │ │ ├── js │ │ ├── __init__.py │ │ └── rbac.js │ │ ├── 插菜单需要引入 │ │ └── 菜单js和css放这做可插拔 ├── templates │ ├── __init__.py │ ├── layout.html │ ├── rbac │ │ ├── __init__.py │ │ ├── breadcrumb.html │ │ ├── change.html │ │ ├── delete.html │ │ ├── distribute_permissions.html │ │ ├── menu_list.html │ │ ├── multi_menu.html │ │ ├── multi_permissions.html │ │ ├── role_list.html │ │ └── user_list.html │ └── 存放可插拔式模板 ├── templatetags │ ├── __init__.py │ ├── rbac.py │ └── 可插拔式创建一级菜单 ├── tests.py ├── urls.py ├── views │ ├── __init__.py │ ├── menu.py │ ├── role.py │ └── user.py ├── 【图】权限系统验证流程.png ├── 【总】权限分配思路.md ├── 【总】权限和菜单思路.md ├── 【细】菜单1-3级的实现.md └── 【说明】权限组件使用文档.md ├── stark ├── __init__.py ├── admin.py ├── apps.py ├── forms │ ├── __init__.py │ ├── forms单独渲染插件.md │ └── widgets.py ├── migrations │ └── __init__.py ├── models.py ├── service │ └── v1.py ├── static │ └── stark │ │ ├── css │ │ ├── commons.css │ │ ├── nav.css │ │ └── search-group.css │ │ ├── imgs │ │ ├── default.png │ │ └── logo.png │ │ ├── js │ │ └── jquery-3.3.1.min.js │ │ └── plugins │ │ ├── bootstrap │ │ ├── css │ │ │ ├── bootstrap-theme.css │ │ │ ├── bootstrap-theme.css.map │ │ │ ├── bootstrap-theme.min.css │ │ │ ├── bootstrap-theme.min.css.map │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.css.map │ │ │ ├── bootstrap.min.css │ │ │ └── bootstrap.min.css.map │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── js │ │ │ ├── bootstrap.js │ │ │ ├── bootstrap.min.js │ │ │ └── npm.js │ │ ├── datetimepicker │ │ ├── css │ │ │ ├── bootstrap-datetimepicker.css │ │ │ └── bootstrap-datetimepicker.min.css │ │ └── js │ │ │ ├── bootstrap-datetimepicker.js │ │ │ ├── bootstrap-datetimepicker.min.js │ │ │ └── locales │ │ │ └── bootstrap-datetimepicker.zh-CN.js │ │ └── font-awesome │ │ ├── HELP-US-OUT.txt │ │ ├── css │ │ ├── font-awesome.css │ │ └── font-awesome.min.css │ │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ │ ├── less │ │ ├── animated.less │ │ ├── bordered-pulled.less │ │ ├── core.less │ │ ├── fixed-width.less │ │ ├── font-awesome.less │ │ ├── icons.less │ │ ├── larger.less │ │ ├── list.less │ │ ├── mixins.less │ │ ├── path.less │ │ ├── rotated-flipped.less │ │ ├── screen-reader.less │ │ ├── stacked.less │ │ └── variables.less │ │ └── scss │ │ ├── _animated.scss │ │ ├── _bordered-pulled.scss │ │ ├── _core.scss │ │ ├── _fixed-width.scss │ │ ├── _icons.scss │ │ ├── _larger.scss │ │ ├── _list.scss │ │ ├── _mixins.scss │ │ ├── _path.scss │ │ ├── _rotated-flipped.scss │ │ ├── _screen-reader.scss │ │ ├── _stacked.scss │ │ ├── _variables.scss │ │ └── font-awesome.scss ├── templates │ ├── layout.html │ └── stark │ │ ├── change.html │ │ ├── changelist.html │ │ ├── delete.html │ │ └── forms │ │ ├── __init__.py │ │ └── widgets │ │ ├── __init__.py │ │ └── datetime_picker.html ├── tests.py ├── utils │ └── pagination.py ├── views.py └── 【说明】stark组件使用说明.md └── web ├── __init__.py ├── admin.py ├── apps.py ├── migrations ├── 0001_initial.py ├── 0002_department.py ├── 0003_userinfo.py ├── 0004_auto_20190129_0639.py ├── 0005_course.py ├── 0006_classlist.py ├── 0007_auto_20190130_0327.py ├── 0008_auto_20190131_0138.py ├── 0009_consultrecord.py ├── 0010_remove_consultrecord_date.py ├── 0011_paymentrecord_student.py ├── 0012_scorerecord.py ├── 0013_courserecord.py ├── 0014_studyrecord.py └── __init__.py ├── models.py ├── stark.py ├── templates ├── __init__.py ├── attendance.html ├── consult_record.html ├── index.html ├── login.html └── record_view.html ├── tests.py ├── utils ├── MD5.py └── __init__.py └── views ├── __init__.py ├── account.py ├── base.py ├── check_payment_record.py ├── class_list.py ├── consult_record.py ├── course.py ├── course_record.py ├── depart.py ├── payment_record.py ├── private_customer.py ├── public_customer.py ├── school.py ├── score_record.py ├── student.py └── userinfo.py /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | */.DS_Store 3 | 4 | /.idea 5 | */.idea 6 | 7 | /__pycache__ 8 | */__pycache__ 9 | 10 | -------------------------------------------------------------------------------- /GetFont.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # __author__ = "zok" 362416272@qq.com 3 | # Date: 2019-12-05 Python: 3.7 4 | 5 | import requests 6 | import re 7 | 8 | response = requests.get('http://www.fontawesome.com.cn/faicons/') 9 | 10 | ret = re.findall(r'