Sha256: 79f4403a9a8ae4524d187850f988499f5132a8927b0885927c1934f935f6ac13

Contents?: true

Size: 1.74 KB

Versions: 3

Compression:

Stored size: 1.74 KB

Contents

<div class='navbar navbar-fixed-top header'>
  <div class='container'>
    <div class='navbar-header'>
      <a class='navbar-brand' href="<%= root_path %>">Letter Opener</a>
    </div>
  </div>
</div>
<div class='navbar navbar-default navbar-fixed-top navbar-action'>
  <div class='container'>
    <ul class='nav sute-nav'>
      <li class="action">
        <div class="actions">
          <input id="toggle_selection" type="checkbox" />
          <label for="toggle_selection"></label>
          <form id="delete" action="<%= root_path %>" method="post" data-confirm="Are you sure?">
            <input type="hidden" name="_method" value="delete" />
            <input type="hidden" name="message_ids" value="" />
            <button type="submit" class="btn btn-danger" title="Clear inbox">
              <span class="glyphicon glyphicon-trash"></span>
            </button>
          </form>
          <a class="btn btn-primary refresh" href="<%= root_path %>">
            <span class="glyphicon glyphicon-refresh"></span>
          </a>
        </div>
      </li>
    </ul>
  </div>
</div>
<div class="left">
  <ul class="list-group message_list">
    <% @messages.each do |message| %>
      <li class="list-group-item message">
        <input id="message_<%= message.id %>" name="message_ids[]" type="checkbox" value="<%= message.id %>" />
        <label for="message_<%= message.id %>"></label>
        <a href="<%= root_path + message.id %>" target='mail'>
          <dl>
            <dt><%= message.info[:subject] || message.id %></dt>
            <dd class="text-right"><small><%= message.sent_at %></small></dd>
          </dl>
        </a>
      </li>
    <% end %>
  </ul>
</div>
<div class="right">
  <iframe name="mail" id="mail" src="about:blank"></iframe>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
letter_opener-web-0.1.2 lib/letter_opener/web/views/index.erb
letter_opener-web-0.1.1 lib/letter_opener/web/views/index.erb
letter_opener-web-0.1.0 lib/letter_opener/web/views/index.erb