Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
fix: login image
Browse files Browse the repository at this point in the history
  • Loading branch information
hibig committed Aug 19, 2023
1 parent 91e1425 commit bc2f09b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
Binary file added src/assets/images/bg2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/form-create/config/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const BASIC_TYPE = ['number', 'string', 'bool'];

const UNKNOWN_TYPE = ['dynamic'];

const COLLECTION_TYPE = ['map', 'object', 'list', 'tuple'];
const COLLECTION_TYPE = ['map', 'object', 'list', 'tuple', 'dynamic'];

export const validateYaml = (str) => {
let result: any = {};
Expand Down
4 changes: 2 additions & 2 deletions src/components/form-create/config/yaml-parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export const validateYaml = (str) => {
result = {
empty: false,
error: {
line: _.get(error, 'mark.line') + 1,
line: _.get(error, 'mark.line') || 0 + 1,
reason: _.get(error, 'reason'),
message: `${_.get(error, 'reason')} (line:${
_.get(error, 'mark.line') + 1
_.get(error, 'mark.line') || 0 + 1
})`
}
};
Expand Down
2 changes: 2 additions & 0 deletions src/components/seal-form/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
}

.wrapper.seal-relative {
overflow: hidden;
background-color: #fff;
border-radius: var(--border-radius-small);

:deep(.arco-input-wrapper) {
padding-top: 20px;
Expand Down
16 changes: 12 additions & 4 deletions src/views/login/index.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<template>
<div class="container">
<div class="container login">
<div class="logo">
<img alt="logo" src="../../assets/images/walrus-logo.png" />
<img alt="logo" src="../../assets/images/logo2.png" />
</div>
<LoginBanner />

<div class="content">
<div class="content-inner">
Expand Down Expand Up @@ -111,7 +110,10 @@
display: flex;
height: 100vh;
margin-top: 0;
background-color: #fff;
background-image: url('../../assets/images/bg2.jpeg');
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
:deep(.hljs.bash) {
background-color: #fff;
Expand Down Expand Up @@ -177,6 +179,12 @@
align-items: center;
justify-content: center;
padding-bottom: 40px;
.content-inner {
padding: 20px;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 8px;
}
}
.footer {
Expand Down
3 changes: 1 addition & 2 deletions src/views/operation-hub/connectors/components/table-list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,7 @@
query: '',
page: 1,
perPage: 10,
category: '',
projectID: route.params.projectId
category: ''
});
const dataList = ref<ConnectorRowData[]>([]);

Expand Down

0 comments on commit bc2f09b

Please sign in to comment.