mirror of https://github.com/rancher/ui.git
Template Lint
This commit is contained in:
parent
c832f12676
commit
a047d2db9b
|
|
@ -16,7 +16,8 @@
|
|||
<div class="col span-12">
|
||||
<div class="row">
|
||||
<div class="col span-12">
|
||||
<label class="acc-label" for="">{{t "loggingPage.fluentd.endpoint.label"}}
|
||||
<label class="acc-label" for="">
|
||||
{{t "loggingPage.fluentd.endpoint.label"}}
|
||||
{{#if (eq idx 0)}}
|
||||
{{field-required}}
|
||||
{{/if}}
|
||||
|
|
@ -29,13 +30,16 @@
|
|||
focus-out=(action "alertMessage" idx)
|
||||
}}
|
||||
{{#if (and endpointError (eq idx index))}}
|
||||
<span class="text-error text-small">{{t endpointErrorText}}</span>
|
||||
<span class="text-error text-small">
|
||||
{{t endpointErrorText}}
|
||||
</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col span-12">
|
||||
<label class="acc-label" for="">{{t "loggingPage.fluentd.sharedKey.label"}}
|
||||
<label class="acc-label" for="">
|
||||
{{t "loggingPage.fluentd.sharedKey.label"}}
|
||||
</label>
|
||||
{{input
|
||||
type="password"
|
||||
|
|
@ -47,7 +51,8 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col span-6">
|
||||
<label class="acc-label" for="">{{t "loggingPage.fluentd.username.label"}}
|
||||
<label class="acc-label" for="">
|
||||
{{t "loggingPage.fluentd.username.label"}}
|
||||
</label>
|
||||
{{input
|
||||
type="text"
|
||||
|
|
@ -57,7 +62,8 @@
|
|||
}}
|
||||
</div>
|
||||
<div class="col span-6">
|
||||
<label class="acc-label" for="">{{t "loggingPage.fluentd.password.label"}}
|
||||
<label class="acc-label" for="">
|
||||
{{t "loggingPage.fluentd.password.label"}}
|
||||
</label>
|
||||
{{input
|
||||
type="password"
|
||||
|
|
@ -69,7 +75,9 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col span-12 pt-0">
|
||||
<label class="acc-label" for="">{{t "loggingPage.fluentd.hostname.label"}}</label>
|
||||
<label class="acc-label" for="">
|
||||
{{t "loggingPage.fluentd.hostname.label"}}
|
||||
</label>
|
||||
{{input
|
||||
type="text"
|
||||
value=item.hostname
|
||||
|
|
@ -80,7 +88,8 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col span-12">
|
||||
<label class="acc-label" for="">{{t "loggingPage.fluentd.weight.label"}}
|
||||
<label class="acc-label" for="">
|
||||
{{t "loggingPage.fluentd.weight.label"}}
|
||||
</label>
|
||||
{{input-int
|
||||
class="form-control input-sm public"
|
||||
|
|
@ -92,7 +101,11 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col span-12 pt-0" style="margin-top: 43px;">
|
||||
{{input type="checkbox" classNames="form-control" checked=item.standby}}
|
||||
{{input
|
||||
type="checkbox"
|
||||
classNames="form-control"
|
||||
checked=item.standby
|
||||
}}
|
||||
{{t "loggingPage.fluentd.standby.label"}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -101,24 +114,40 @@
|
|||
{{/each}}
|
||||
<div>
|
||||
<button class="btn bg-link icon-btn p-0" {{action "add"}}>
|
||||
<span class="darken"><i class="icon icon-plus text-small"/></span>
|
||||
<span>{{t "loggingPage.fluentd.addServer"}}</span>
|
||||
<span class="darken">
|
||||
<i class="icon icon-plus text-small"/>
|
||||
</span>
|
||||
<span>
|
||||
{{t "loggingPage.fluentd.addServer"}}
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col span-6 pt-0" style="margin-top: 43px;">
|
||||
{{input type="checkbox" classNames="form-control" checked=config.compress}}
|
||||
{{input
|
||||
type="checkbox"
|
||||
classNames="form-control"
|
||||
checked=config.compress
|
||||
}}
|
||||
{{t "loggingPage.fluentd.compress.label"}}
|
||||
<p class="text-info text-small" style="margin-left: 25px;">{{t "loggingPage.fluentd.compress.helpText"}}</p>
|
||||
<p class="text-info text-small" style="margin-left: 25px;">
|
||||
{{t "loggingPage.fluentd.compress.helpText"}}
|
||||
</p>
|
||||
</div>
|
||||
<div class="col span-6 pt-0" style="margin-top: 43px;">
|
||||
{{input type="checkbox" classNames="form-control" checked=config.enableTls}}
|
||||
{{input
|
||||
type="checkbox"
|
||||
classNames="form-control"
|
||||
checked=config.enableTls
|
||||
}}
|
||||
{{t "loggingPage.fluentd.enableTls.label"}}
|
||||
{{#if config.enableTls}}
|
||||
<div class="clearfix">
|
||||
<label class="acc-label pt-5">{{t "loggingPage.fluentd.certificate.label"}}</label>
|
||||
<label class="acc-label pt-5">
|
||||
{{t "loggingPage.fluentd.certificate.label"}}
|
||||
</label>
|
||||
</div>
|
||||
{{input-text-file
|
||||
classNames="box"
|
||||
|
|
@ -135,4 +164,7 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
{{logging/form-log-format logPreview=logPreview model=model}}
|
||||
{{logging/form-log-format
|
||||
logPreview=logPreview
|
||||
model=model
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue