Sha256: 4a289364cec71f3898fd2aa4757963db1a5d69e138ba5d5f6612e59b8b2740f7

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

<script type="text/javascript">
  adalog.entriesList.init();
</script>

<div class="entries-list">

  <h1><%= heading %></h1>

  <% @entries.each do |entry| %>

    <div class="pure-g entry -toggle-details">
      <div class="pure-u-1 pure-u-md-1-2">
        <div class="title-and-message">
          <div class="title"><%= entry.title %></div>
          <div class="message"><%= entry.message %></div>
        </div>
      </div>
      <div class="pure-u-1 pure-u-md-1-2">
        <div class="timestamp"><%= humanize_time(entry.timestamp) %></div>
      </div>
      <div class="pure-u-1">
        <div class="details">
          <!-- <button class="pure-button button-small -show-details">Show Details</button> -->
          <!-- <button class="pure-button button-small -hide-details">Hide Details</button> -->
          <% unless entry.details_blank? %>
            <pre class="-details-content -format-as-<%= entry.format %>"><%= entry.details.to_json %></pre>
          <% end %>
          <% unless entry.details_blank? %>
            <div class="details-toggle-note fsize-tiny">Click to toggle details</div>
          <% end %>
        </div>
      </div>
    </div>

  <% end %>

</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adalog-0.5.0 lib/adalog/web/views/index.html.erb
adalog-0.4.1 lib/adalog/web/views/index.html.erb
adalog-0.4.0 lib/adalog/web/views/index.html.erb