Sha256: 3dbc966993cf2e068b5c7ec2161341d38aeacce653dcbff673cb9c3c6a1bdd75

Contents?: true

Size: 924 Bytes

Versions: 1

Compression:

Stored size: 924 Bytes

Contents

<div class='container-fluid'>
  <h3 class='page-header'><%= t '.title' %></h3>

  <div class='row'>
    <div class='col-md-12'>
      <div class='panel panel-default'>
        <div class='panel-body'>
          <%= content_tag 'table', id: 'logs', class: 'table table-striped',
            data: {source: logs_path(format: :json)} do %>
            <thead>
              <tr>
                <th></th>
                <th class='timestamp'>
                  <%= Log.human_attribute_name(:created_at) %>
                </th>
                <th class='message'>
                  <%= Log.human_attribute_name(:message) %>
                </th>
                <th class='category'>
                  <%= Log.human_attribute_name(:category) %>
                </th>
              </tr>
            </thead>
            <tbody>
            </tbody>
          <% end %>
        </div>
      </div>
    </div>
  </div>

</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chaltron-0.1.0 app/views/chaltron/logs/index.html.erb~