mirror of https://github.com/rancher/ui.git
other driver
This commit is contained in:
parent
f4a156797f
commit
ac99cbdef0
|
|
@ -9,27 +9,17 @@
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class="over-hr mt-20 mb-20">
|
<div class="row inline-form box mt-30">
|
||||||
<span>{{t 'machine.driverOther.driverSection'}}</span>
|
<h4>{{t 'machine.driverOther.driverSection'}}</h4>
|
||||||
</div>
|
<label class="acc-label">{{t 'machine.driverOther.driver.label'}}{{field-required}}</label>
|
||||||
|
|
||||||
<div class="row inline-form">
|
|
||||||
<div class="col span-2 col-inline">
|
|
||||||
<label>{{t 'machine.driverOther.driver.label'}}{{field-required}}</label>
|
|
||||||
</div>
|
|
||||||
<div class="col span-8">
|
|
||||||
{{new-select
|
{{new-select
|
||||||
classNames="form-control"
|
classNames="form-control"
|
||||||
content=otherChoices
|
content=otherChoices
|
||||||
value=otherDriver
|
value=otherDriver
|
||||||
}}
|
}}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="over-hr mt-20 mb-20">
|
|
||||||
<span>{{t 'machine.driverOther.optionsSection' driverName=(str-replace driver match="Config" with="")}}</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<h4 class="mt-30">{{t 'machine.driverOther.optionsSection' driverName=(str-replace driver match="Config" with="")}}</h4>
|
||||||
{{#each fieldNames as |fieldName|}}
|
{{#each fieldNames as |fieldName|}}
|
||||||
{{api-field
|
{{api-field
|
||||||
resource=driverOpts
|
resource=driverOpts
|
||||||
|
|
@ -40,6 +30,8 @@
|
||||||
typeDocs=typeDocumentations
|
typeDocs=typeDocumentations
|
||||||
}}
|
}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{{partial "host/add-options"}}
|
{{partial "host/add-options"}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,7 @@ MAIN {
|
||||||
border-bottom: solid 2px darken($border, 5%);
|
border-bottom: solid 2px darken($border, 5%);
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.bg-secondary {
|
&.bg-secondary {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue