Sha256: 4968d11c934bd9e3d67467cc96f1232486d205da5b34d0443d4f41b0f5067974

Contents?: true

Size: 1.43 KB

Versions: 4

Compression:

Stored size: 1.43 KB

Contents

= render "shared/vue/parser_multiline_form"
= render "shared/vue/config_field"

%script{type: "text/x-template", id: "vue-owned-plugin-form"}
  .form-group.card.bg-light.mb-3{"v-bind:id" => "id"}
    .card-body
      %label{"v-bind:for" => "selectId(pluginType)"}
        {{ pluginLabel }}
      %select{"v-bind:id" => "selectId(pluginType)",
              "v-bind:class" => "selectClass(pluginType)",
              "v-bind:name" => "selectName(pluginType)",
              "v-model" => "pluginName",
              "v-on:change" => "onChange"}
        %option{"v-for" => "option in options",
                "v-bind:value" => "option",
                "v-bind:selected" => "pluginName===option"}
          {{ option }}
      %parser-multiline-form{"v-if" => 'pluginName==="multiline"',
                             "v-bind:plugin-type" => "pluginType",
                             "v-bind:common-options" => "commonOptions",
                             "v-on:change-formats" => "onChangeFormats"}
      %template(v-else){"v-for" => "option in commonOptions"}
        %config-field{"v-bind:plugin-type" => "pluginType",
                      "v-bind:option" => "option",
                      "v-bind:initial-expression" => "expression",
                      "v-bind:initial-time-format" => "timeFormat",
                      "v-bind:initial-text-value" => "initialParams[option.name]",
                      "v-on:change-parse-config" => "onChangeParseConfig"}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fluentd-ui-1.1.0 app/views/shared/vue/_owned_plugin_form.html.haml
fluentd-ui-1.0.1 app/views/shared/vue/_owned_plugin_form.html.haml
fluentd-ui-1.0.0 app/views/shared/vue/_owned_plugin_form.html.haml
fluentd-ui-1.0.0.beta.1 app/views/shared/vue/_owned_plugin_form.html.haml