Skip to content

Commit

Permalink
🧊 default template icon (#405)
Browse files Browse the repository at this point in the history
* skip updating immutable fields on pvcs

* render icon only if url provided

* default template icon

* remove unused import

* fix arrays mapping

* remove default icon from modules

* remove logging
  • Loading branch information
petar-cvit authored Jul 11, 2024
1 parent 450a121 commit 5f8144d
Show file tree
Hide file tree
Showing 9 changed files with 539 additions and 215 deletions.

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions cyclops-ui/src/components/pages/EditModule/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.ant-col.ant-form-item-label {
padding: 0 !important;
}

label.ant-form-item-required:before {
bottom: 1em !important;
position: relative !important;
}

code {
color: #000080;
}

.ant-collapse-content-box {
padding-top: 12px;
border: 1px solid #d3d3d3;
border-top: none;
border-left: 3px solid #faca93;
border-bottom-left-radius: 7px;
border-bottom-right-radius: 7px;
background-color: #ffffff;
}

.custom {
.ant-collapse-content-box {
padding: 0;
}
}
2 changes: 1 addition & 1 deletion cyclops-ui/src/components/pages/ModuleDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import { gvkString } from "../../utils/k8s/gvk";
import { mapResponseError } from "../../utils/api/errors";
import Secret from "../k8s-resources/Secret";
import { CheckboxChangeEvent } from "antd/es/checkbox";

const languages = [
"javascript",
"java",
Expand Down Expand Up @@ -907,7 +908,6 @@ const ModuleDetails = () => {
</Checkbox>
<Divider style={{ marginTop: "12px", marginBottom: "12px" }} />
</div>

<ReactAce
style={{ width: "100%" }}
mode={"sass"}
Expand Down
Loading

0 comments on commit 5f8144d

Please sign in to comment.