Sha256: 6e23f4a687b2850b568a15986822dc19cc0d81a642c78c05e71ce13ebb3a88fc

Contents?: true

Size: 1.53 KB

Versions: 8

Compression:

Stored size: 1.53 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}}

    {{#if showCounter}}
      <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>
    {{/if}}
  </div>
  {{#if applyRetroactivelyCheckbox}}
    {{#if pattern.isNew}}
      <div class="retro-checkbox">
        <input checked={{pattern.retroactive}} type="checkbox" class="checkbox" onclick={{action "checkboxChanged" pattern}}>
        Apply retroactively
      </div>
    {{/if}}
  {{/if}}
  {{~#if pattern.error~}}
    <pre class="api-error">
      {{~pattern.error~}}
    </pre>
  {{~/if~}}
{{/each}}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
logster-2.7.1 client-app/app/templates/components/patterns-list.hbs
logster-2.7.0 client-app/app/templates/components/patterns-list.hbs
logster-2.6.3 client-app/app/templates/components/patterns-list.hbs
logster-2.6.2 client-app/app/templates/components/patterns-list.hbs
logster-2.6.1 client-app/app/templates/components/patterns-list.hbs
logster-2.6.0 client-app/app/templates/components/patterns-list.hbs
logster-2.5.1 client-app/app/templates/components/patterns-list.hbs
logster-2.5.0 client-app/app/templates/components/patterns-list.hbs