Sha256: 2ee95d4d7c21d98757c35064736280573e6baa6ed4b8ffeb26430df4d467daec

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

= render "shared/vue/grep_pattern"
%script{type: "text/x-template", id: "vue-grep-container"}
  .form-group.card
    .card-header
      %a.btn.btn-xs{"v-on:click" => "add", "v-if" => "index == 0"}
        = icon("fa-plus")
      %a.btn.btn-xs{"v-on:click" => "remove", "v-if" => "index != 0"}
        = icon("fa-minus")
      %label
        {{ containerType | humanize }}
      %label.pl-4.pr-2
        %input{"type" => "radio",
               "value" => "regexp",
               "v-bind:name" => "inputName(index)",
               "v-model" => "grepType"}
        Regexp
      %label
        %input{"type" => "radio",
               "value" => "exclude",
               "v-bind:name" => "inputName(index)",
               "v-model" => "grepType"}
        Exclude
    .card-body
      .row
        %template{"v-for" => "(enabled, i) in patterns"}
          %grep-pattern.col-xl-3{"v-if" => "enabled",
                                 "v-bind:container-type" => "containerType",
                                 "v-bind:grep-type" => "grepType",
                                 "v-bind:index" => "index",
                                 "v-bind:subIndex" => "i",
                                 "v-on:add-grep-pattern" => "addGrepPattern",
                                 "v-on:remove-grep-pattern" => "removeGrepPattern"}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluentd-ui-1.1.0 app/views/shared/vue/_grep_container.html.haml