harbor/src/portal
Shijun Sun 56e669ebbc
Fix log rotation UI issues (#17220)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-07-21 16:49:26 +08:00
..
docker-build Update docker building for UI (#16692) 2022-04-18 11:07:00 +08:00
e2e Add style lint and add code lint to the pipeline (#16954) 2022-06-08 16:35:19 +08:00
scripts Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
server Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
src Fix log rotation UI issues (#17220) 2022-07-21 16:49:26 +08:00
.browserslistrc Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
.eslintrc.json migrate tslint to eslint (#16856) 2022-05-13 16:00:45 +08:00
.prettierignore migrate tslint to eslint (#16856) 2022-05-13 16:00:45 +08:00
.prettierrc.json migrate tslint to eslint (#16856) 2022-05-13 16:00:45 +08:00
.stylelintrc.json Fix some UI issues (#16979) 2022-06-13 10:44:05 +08:00
angular.json Add style lint and add code lint to the pipeline (#16954) 2022-06-08 16:35:19 +08:00
karma.conf.js Undate Angular to the latest version (#15129) 2021-06-16 16:39:10 +08:00
package-lock.json Remove style-lint package and upgrade @angular-devkit/build-angular (#17009) 2022-06-20 10:36:57 +08:00
package.json Remove style-lint package and upgrade @angular-devkit/build-angular (#17009) 2022-06-20 10:36:57 +08:00
PACKAGE.md Add style lint and add code lint to the pipeline (#16954) 2022-06-08 16:35:19 +08:00
protractor.config.js Add container for harbor-portal 2018-09-07 13:20:08 +08:00
README.md Add harbor datetime pipe (#14331) 2021-03-01 15:45:21 +08:00
tsconfig.app.json Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00
tsconfig.json Upgrade swagger-ui to the latest version (#16443) 2022-03-02 14:47:36 +08:00
tsconfig.spec.json Refactor UI routing and remove redundant code (#14166) 2021-02-18 09:12:23 +08:00

Harbor UI

Harbor UI

This is the project based on Clarity and Angular to build Harbor UI.

Start

  1. npm install (should trigger 'npm postinstall')
  2. npm run postinstall (if not triggered, manually run this step)
  3. create "proxy.config.json" file with below content under "portal" directory, and replace "hostname" with an available Harbor hostname
  4. npm run start
  5. open your browser on https://localhost:4200
{
  "/api/*": {
    "target": "https://hostname",
    "secure": false,
    "changeOrigin": true,
    "logLevel": "debug"
  },
  "/service/*": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/c/login": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/c/oidc/login": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/sign_in": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/c/log_out": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/sendEmail": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/language": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/reset": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/c/userExists": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/reset_password": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/i18n/lang/*.json": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/swagger.json": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/swagger2.json": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/chartrepo/*": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  },
  "/LICENSE": {
    "target": "https://hostname",
    "secure": false,
    "logLevel": "debug"
  }
}