feat: dcu container worker guide

This commit is contained in:
jialin
2025-02-11 10:35:25 +08:00
parent 794f27a3c8
commit 349b895ac5
4 changed files with 22 additions and 6 deletions
@@ -38,7 +38,7 @@ const AddWorker: React.FC<ViewModalProps> = (props) => {
closeIcon={true}
maskClosable={false}
keyboard={false}
width={600}
width={700}
styles={{
body: {
height: 550
@@ -83,6 +83,7 @@ const AddWorker: React.FC<ViewModalProps> = (props) => {
<HighlightCode
code={addWorkerGuide.container.getToken}
theme="dark"
lang="bash"
></HighlightCode>
<h3>
2. {intl.formatMessage({ id: 'resources.worker.add.step2' })}{' '}
@@ -116,7 +117,7 @@ const AddWorker: React.FC<ViewModalProps> = (props) => {
}}
></div>
)}
<HighlightCode theme="dark" code={code}></HighlightCode>
<HighlightCode theme="dark" code={code} lang="sh"></HighlightCode>
<h3 className="m-b-0">
3. {intl.formatMessage({ id: 'resources.worker.add.step3' })}
</h3>
@@ -19,6 +19,10 @@
.code-pre {
white-space: pre-wrap;
}
.ant-radio-button-wrapper {
flex: auto;
}
}
.script-install {