diff --git a/app/components/machine/driver-custom/template.hbs b/app/components/machine/driver-custom/template.hbs index a14043c03..4a92f126b 100644 --- a/app/components/machine/driver-custom/template.hbs +++ b/app/components/machine/driver-custom/template.hbs @@ -1,75 +1,83 @@ +{{#if projects.current.isWindows}} +
+

{{t 'machine.driverCustom.windows.windowsHeader'}}

+
+
+
    +
  1. + {{format-html-message 'machine.driverCustom.windows.step1'}} +
  2. +
  3. + {{format-html-message 'machine.driverCustom.windows.step2'}} +
    +
    {{t 'machine.driverCustom.windows.step2Copy'}}
    + {{copy-to-clipboard clipboardText=(t 'machine.driverCustom.windows.step2Copy')}} +
    +
  4. +
  5. + {{t 'machine.driverCustom.windows.step3' appName=settings.appName}} +
    +
    {{registrationCommandWindows}}
    + {{copy-to-clipboard clipboardText=registrationCommandWindows}} +
    +
  6. +
  7. + {{t 'machine.driverCustom.step5Close.part1'}} {{#link-to "hosts"}}{{t 'machine.driverCustom.step5Close.link'}}{{/link-to}} {{t 'machine.driverCustom.step5Close.part2'}} +
  8. +
+
+
+
+{{/if}} +
+ {{#if projects.current.isWindows}} +

{{t 'machine.driverCustom.windows.linuxHeader'}}

+ {{/if}}
- {{#if projects.current.isWindows}} - {{!--
--}} -
    -
  1. - {{format-html-message 'machine.driverCustom.windows.step1'}} -
  2. -
  3. - {{format-html-message 'machine.driverCustom.windows.step2'}} -
    -
    {{t 'machine.driverCustom.windows.step2Copy'}}
    - {{copy-to-clipboard clipboardText=(t 'machine.driverCustom.windows.step2Copy')}} -
    -
  4. -
  5. - {{t 'machine.driverCustom.windows.step3' appName=settings.appName}} -
    -
    {{registrationCommandWindows}}
    - {{copy-to-clipboard clipboardText=registrationCommandWindows}} -
    -
  6. -
  7. - {{t 'machine.driverCustom.step5Close.part1'}} {{#link-to "hosts"}}{{t 'machine.driverCustom.step5Close.link'}}{{/link-to}} {{t 'machine.driverCustom.step5Close.part2'}} -
  8. -
- {{!--
--}} - {{else}} - {{!--
--}} -
    -
  1. - {{format-html-message 'machine.driverCustom.step1' docsBase=settings.docsBase}} -
  2. -
  3. - {{t 'machine.driverCustom.step2'}} -
      -
    • {{format-html-message 'machine.driverCustom.step2li'}}
    • -
    -
  4. -
  5. - {{t 'machine.driverCustom.step3'}} -
    - {{form-user-labels setLabels=(action 'setLabels')}} -
    -
  6. -
  7. - {{format-html-message 'machine.driverCustom.step4' rancherImage=settings.rancherImage}} -
    - {{input type="text" value=cattleAgentIp classNames="form-control" placeholder=(t 'machine.driverCustom.agentIp.placeholder')}} -
    -
  8. -
  9. - {{t 'machine.driverCustom.step5Copy'}} {{settings.appName}}: - {{#if registrationCommand}} -
    -
    {{registrationCommand}}
    - {{copy-to-clipboard clipboardText=registrationCommand}} -
    - {{else}} -
    {{t 'machine.driverCustom.generating'}}
    - {{/if}} -
  10. -
  11. - {{t 'machine.driverCustom.step5Close.part1'}} {{#link-to "hosts"}}{{t 'machine.driverCustom.step5Close.link'}}{{/link-to}} {{t 'machine.driverCustom.step5Close.part2'}} -
  12. -
- {{!--
--}} - {{/if}} +
    +
  1. + {{format-html-message 'machine.driverCustom.step1' docsBase=settings.docsBase}} +
  2. +
  3. + {{t 'machine.driverCustom.step2'}} +
      +
    • {{format-html-message 'machine.driverCustom.step2li'}}
    • +
    +
  4. +
  5. + {{t 'machine.driverCustom.step3'}} +
    + {{form-user-labels setLabels=(action 'setLabels')}} +
    +
  6. +
  7. + {{format-html-message 'machine.driverCustom.step4' rancherImage=settings.rancherImage}} +
    + {{input type="text" value=cattleAgentIp classNames="form-control" placeholder=(t 'machine.driverCustom.agentIp.placeholder')}} +
    +
  8. +
  9. + {{t 'machine.driverCustom.step5Copy'}} {{settings.appName}}: + {{#if registrationCommand}} +
    +
    {{registrationCommand}}
    + {{copy-to-clipboard clipboardText=registrationCommand}} +
    + {{else}} +
    {{t 'machine.driverCustom.generating'}}
    + {{/if}} +
  10. +
  11. + {{t 'machine.driverCustom.step5Close.part1'}} {{#link-to "hosts"}}{{t 'machine.driverCustom.step5Close.link'}}{{/link-to}} {{t 'machine.driverCustom.step5Close.part2'}} +
  12. +
+
+
diff --git a/translations/en-us.yaml b/translations/en-us.yaml index 629c7b6f4..aa60f24ed 100644 --- a/translations/en-us.yaml +++ b/translations/en-us.yaml @@ -2477,6 +2477,8 @@ machine: part2: screen within a minute. close: Close windows: + windowsHeader: Windows Host + linuxHeader: Linux Host step1: Start up a Windows Server 2016 machine somewhere and install the latest version of Docker on it. step2: "Create a transparent Docker Network:" step2Copy: docker network create -d transparent transparent