├── src ├── db.sqlite3 ├── cbdbweb │ ├── __init__.py │ ├── asgi.py │ ├── wsgi.py │ ├── urls.py │ └── settings.py ├── frontend │ ├── static │ │ └── .gitkeep │ ├── src │ │ ├── components │ │ │ ├── views │ │ │ │ ├── sna.vue │ │ │ │ ├── q-e-byPerson.vue │ │ │ │ ├── home.vue │ │ │ │ └── q-r-twoPerson.vue │ │ │ ├── global │ │ │ │ ├── nav-bottom.vue │ │ │ │ ├── nav-top.vue │ │ │ │ └── nav-left.vue │ │ │ ├── utility │ │ │ │ ├── warning-text.vue │ │ │ │ ├── show-source.vue │ │ │ │ ├── show-year.vue │ │ │ │ ├── view-selected.vue │ │ │ │ ├── select-relation-network.vue │ │ │ │ ├── query-result.vue │ │ │ │ ├── select-relationship.vue │ │ │ │ ├── select-entry.vue │ │ │ │ ├── select-office.vue │ │ │ │ ├── import-place.vue │ │ │ │ ├── utility-functions.js │ │ │ │ ├── select-place.vue │ │ │ │ └── select-person.vue │ │ │ ├── README.md │ │ │ └── treeTable │ │ │ │ ├── tree-item.vue │ │ │ │ └── tree-table.vue │ │ ├── assets │ │ │ ├── logo.png │ │ │ ├── relationDataNetwork.json │ │ │ ├── geodata_dev.json │ │ │ ├── entryData.json │ │ │ ├── relationData.json │ │ │ ├── lang │ │ │ │ ├── zh-cmn-Hant.js │ │ │ │ └── en.js │ │ │ └── dynastyData.json │ │ ├── store │ │ │ └── index.js │ │ ├── main.js │ │ ├── App.vue │ │ └── router │ │ │ └── index.js │ ├── config │ │ ├── prod.env.js │ │ ├── dev.env.js │ │ └── index.js │ ├── build │ │ ├── logo.png │ │ ├── vue-loader.conf.js │ │ ├── build.js │ │ ├── check-versions.js │ │ ├── utils.js │ │ ├── webpack.base.conf.js │ │ ├── webpack.dev.conf.js │ │ └── webpack.prod.conf.js │ ├── postcss.config.js │ ├── index.html │ └── package.json ├── requirements.txt ├── manage.py └── Dockerfile ├── dataProcessing ├── Office_type_tree.xlsx ├── officeData.json └── position_json.py ├── .gitignore ├── .all-contributorsrc └── README.md /src/db.sqlite3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/cbdbweb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/frontend/static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/frontend/src/components/views/sna.vue: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/requirements.txt: -------------------------------------------------------------------------------- 1 | #requirements.txt 2 | Django==3.1.2 3 | gunicorn==20.0.4 -------------------------------------------------------------------------------- /src/frontend/config/prod.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = { 3 | NODE_ENV: '"production"' 4 | } 5 | -------------------------------------------------------------------------------- /src/frontend/build/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbdb-project/cbdb-online-query-app/HEAD/src/frontend/build/logo.png -------------------------------------------------------------------------------- /src/frontend/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: { browsers: "last 5 version" } 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /src/frontend/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbdb-project/cbdb-online-query-app/HEAD/src/frontend/src/assets/logo.png -------------------------------------------------------------------------------- /dataProcessing/Office_type_tree.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cbdb-project/cbdb-online-query-app/HEAD/dataProcessing/Office_type_tree.xlsx -------------------------------------------------------------------------------- /src/frontend/config/dev.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const merge = require('webpack-merge') 3 | const prodEnv = require('./prod.env') 4 | 5 | module.exports = merge(prodEnv, { 6 | NODE_ENV: '"development"' 7 | }) 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /venv/ 3 | /src/cbdbweb/__pycache__/ 4 | /src/frontend/node_modules/ 5 | /src/frontend/dist/ 6 | /src/frontend/npm-debug.log* 7 | /src/frontend/yarn-debug.log* 8 | /src/frontend/yarn-error.log* 9 | *.zip 10 | 11 | # Editor directories and files 12 | .idea 13 | .vscode 14 | *.suo 15 | *.ntvs* 16 | *.njsproj 17 | *.sln 18 | .babelrc 19 | .editorconfig 20 | .postcssrc.js -------------------------------------------------------------------------------- /src/frontend/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |4 | Copyright © 2019 5 | CBDB Group, 6 | Harvard.All rights reserved 7 |
8 |9 | Developed by Kvision Lab, 10 | Peking University. 11 |
12 |{{ sNotes }}
16 |
6 | {{ $t("navbarTop.title") }}
7 |
11 |
|
31 |
14 | {{ $t("home.introText") }} 15 |
16 |17 | {{ $t("home.historyText") }} 18 |
19 |20 | {{ $t("home.introDetail") }} https://projects.iq.harvard.edu/cbdb/home 24 |
25 |36 | {{ $t("home.introTextProject") }} 37 |
38 |39 | {{ $t("home.helpFileIntro") 40 | }}{{ $t("home.guide") }} 44 |
45 |46 | {{ $t("home.contribution1") 47 | }}{{ 48 | $t("home.githubRepo") 49 | }}{{ $t("home.contribution2") }} 51 |
52 |6 | {{ items.length }} results 7 |
8 |