Sha256: bb7c7846dab572bf1264831f61bc414b8d8fbdc368cfcde7640ac513adf6eb38

Contents?: true

Size: 1.21 KB

Versions: 4

Compression:

Stored size: 1.21 KB

Contents

{{#if mutable}}
  <button {{action "create"}} class="btn new-pattern"><i class="fa fa-plus"></i> New</button>
{{/if}}
{{#each allPatterns as |pattern|}}
  <div class="pattern-wrapper">
    {{input
      type="textfield"
      class="pattern-input"
      placeholder="Enter regular expression…"
      value=pattern.valueBuffer
      disabled=(or immutable pattern.saving)
    }}
    {{#if mutable}}
      {{#if pattern.hasBuffer}}
        <button {{action "save" pattern}} disabled={{pattern.saving}} class="btn ok no-text save shrink">
          <i class="fa fa-check"></i>
        </button>
      {{/if}}
      <button {{action "trash" pattern}} disabled={{pattern.saving}} class="btn no-text trash shrink">
        <i class="fa fa-trash"></i>
      </button>
    {{/if}}

    <input disabled=true title="Number of logs that have been suppressed by this pattern" class="count shrink" value={{pattern.count}}>
    <button {{action "resetCount" pattern}} class="btn no-text reset shrink" title="Reset count of suppressed logs" disabled={{pattern.zeroCount}}>
      <i class="fa fa-rotate-right"></i>
    </button>
  </div>
  {{~#if pattern.error~}}
    <pre class="api-error">
      {{~pattern.error~}}
    </pre>
  {{~/if~}}
{{/each}}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
logster-2.3.3 client-app/app/templates/components/patterns-list.hbs
logster-2.3.2 client-app/app/templates/components/patterns-list.hbs
logster-2.3.1 client-app/app/templates/components/patterns-list.hbs
logster-2.3.0 client-app/app/templates/components/patterns-list.hbs