Sha256: 420bb88b0ef4809419aa30c53da8f5e1ff17ebc842a8afb66e6eedabea6d204d

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

<style type="text/css">
  .string { color: green; }
  .number { color: darkorange; }
  .boolean { color: blue; }
  .null { color: magenta; }
  .key { color: red; }

  .code {
    font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
  }

  .value {
    padding: 10px;
    border: 1px solid #cacaca;
    line-height: 1.2em;
    overflow:auto;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: #FAFAFB;
    color: #393939;
    margin: 0px;
    max-width: 800px;
    display: block;
  }

</style>



<% content_for :title do %>Logs<% end %>

<div class="row">
  <div class="col-md-12">
    <div class="card">
      <div class="header">
        <h4 class="title"><pre>Localtower::Plugins::Capture.new(self, binding).save</pre></h4>
      </div>

      <div class="content">
        <table class="table">
          <thead>
            <th>Variable</th>
            <th>Value</th>
            <th>Value Type</th>
          </thead>

          <tbody data-selector="tbody">
            <% @logs["variables"].each do |item| %>

              <tr data-selector="tr">
                <td class="code">
                  <%= item["name"] %>
                </td>

                <td>
                  <pre class="value json code"><%= Localtower::Plugins::Capture.printable(item["value"]) %></pre>
                </td>

                <td>
                  <pre class="code"><%= item["klass"] %></pre>
                </td>
              </tr>
            <% end %>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
localtower-0.2.3 app/views/localtower/pages/logs.html.erb