Sha256: b0d8ceb8013eb87ada6c3967430482fadf96c1420642c32d84cc6b497b3457fb

Contents?: true

Size: 888 Bytes

Versions: 7

Compression:

Stored size: 888 Bytes

Contents

<!-- vue.js -->
<% auto_reload ||= true %>
<div id="fluent-log" logUrl="<%= log_tail_daemon_agent_path(fluentd) %>" initialAutoReload="<%= auto_reload ? "true" : "" %>">
  <div class="bottom-margin form-inline">
    <button class="btn btn-primary" v-on="click: fetchLogs">
      <%= t "terms.reload_log" %>
    </button>
    <input type="text" v-model="limit" size="4" v-on="keyup: fetchLogs | key enter" class="form-control"/>
    <%= t('terms.lines') %>
    <label>
      <input type="checkbox" v-model="autoFetch" /> <%= t "terms.auto_reload", seconds: 1 %>
    </label>
    <span v-if="processing"><%= icon('fa-spin fa-refresh') %></span>
  </div>

<pre v-if="isPresentedLogs"><!-- be careful indent -->
<div class="log"><span v-repeat="logs">{{ $value }}
</span></div></pre>

  <div v-if="!isPresentedLogs && !processing">
    <p>[log is empty]</p>
  </div>
</div>
<!-- /vue.js -->

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fluentd-ui-0.4.5 app/views/shared/vue/_fluent_log.html.erb
fluentd-ui-0.4.4 app/views/shared/vue/_fluent_log.html.erb
fluentd-ui-0.4.3 app/views/shared/vue/_fluent_log.html.erb
fluentd-ui-0.4.2 app/views/shared/vue/_fluent_log.html.erb
fluentd-ui-0.4.1 app/views/shared/vue/_fluent_log.html.erb
fluentd-ui-0.4.0 app/views/shared/vue/_fluent_log.html.erb
fluentd-ui-0.3.21 app/views/shared/vue/_fluent_log.html.erb