primate: Add support for UI customisation (#372)
authorHoang Nguyen <hoangnm@unitech.vn>
Mon, 22 Jun 2020 08:27:14 +0000 (15:27 +0700)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2020 08:27:14 +0000 (13:57 +0530)
commit439803245c0082736da9f6e89ccb563862d373b5
tree880c457c9a607bcaedf754a1167a8933d7092243
parent7c0d6aa2ef5e37fe644245c6682736b3e25e9ee5
primate: Add support for UI customisation (#372)

- New config.json global config file
- Customisation: API endpoint, app name, doc link, logo, error and banner images, theme
- Basic external plugin support to allow users to write UI plugins in any framework, build and import/plug a html file as integration

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
33 files changed:
docs/customize.md [new file with mode: 0644]
package-lock.json
package.json
public/assets/403.png [moved from src/assets/403.png with 100% similarity]
public/assets/404.png [moved from src/assets/404.png with 100% similarity]
public/assets/500.png [moved from src/assets/500.png with 100% similarity]
public/assets/banner.svg [moved from src/assets/banner.svg with 100% similarity]
public/assets/error.png [moved from src/assets/error.png with 100% similarity]
public/assets/logo.svg [moved from src/assets/logo.svg with 100% similarity]
public/assets/success.png [moved from src/assets/success.png with 100% similarity]
public/config.json [new file with mode: 0644]
public/example.html [new file with mode: 0644]
src/App.vue
src/components/header/Logo.vue
src/components/header/UserMenu.vue
src/components/widgets/Breadcrumb.vue
src/config/router.js
src/config/settings.js
src/core/use.js
src/layouts/UserLayout.vue
src/main.js
src/permission.js
src/style/vars.less [new file with mode: 0644]
src/utils/domUtil.js
src/utils/request.js
src/views/AutogenView.vue
src/views/auth/Login.vue
src/views/compute/DeployVM.vue
src/views/exception/ExceptionPage.vue
src/views/image/RegisterOrUploadTemplate.vue
src/views/plugins/IFramePlugin.vue [new file with mode: 0644]
theme.config.js [new file with mode: 0644]
vue.config.js