Sha256: 40ac6053132a7a826a6149b8b77ac0d0d7cdb35d27bf978b1b2c9e1168a23ce8

Contents?: true

Size: 1.31 KB

Versions: 10

Compression:

Stored size: 1.31 KB

Contents

  <div class="container bump-me">

    <div class="body-content">

      <div class="panel panel-default">
        <div class="panel-heading">
          <h3 class="panel-title">Broadcasts List</h3>
        </div>
        <div class="panel-body">
          <% if broadcasts.count > 0 %>
          <table class="table">
            <thead>
              <tr>
                <th>Created</th>
                <th>Status</th>
              </tr>
            </thead>
            <tbody>
              <% for item in broadcasts %>

              <tr data-item-id="<%= item.id %>">
                <td><%= Time.at(item.created_at/1000).strftime("%B %e, %Y at %I:%M %p") %></td>
                <td><%= item.status %></td>
              </tr>

              <% end %>
            </tbody>
          </table>
          <% else %>
          <p>
            There are no broadcasts currently. Try making one in the <a href="/host">host view</a>.
          </p>
          <% end %>
        </div>
        <div class="panel-footer">
          <% if show_previous %>
            <a href="<%= show_previous %>" class="pull-left">&larr; Previous</a>
          <% end %>
          &nbsp;
          <% if show_next %>
            <a href="<%= show_next %>" class="pull-right">Next &rarr;</a>
          <% end %>
        </div>
      </div>
    </div>
  </div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
opentok-4.9.0 sample/Broadcast/views/all.erb
opentok-4.8.1 sample/Broadcast/views/all.erb
opentok-4.8.0 sample/Broadcast/views/all.erb
opentok-4.7.1 sample/Broadcast/views/all.erb
opentok-4.7.0 sample/Broadcast/views/all.erb
opentok-4.6.0 sample/Broadcast/views/all.erb
opentok-4.5.1 sample/Broadcast/views/all.erb
opentok-4.5.0 sample/Broadcast/views/all.erb
opentok-4.4.0 sample/Broadcast/views/all.erb
opentok-4.3.0 sample/Broadcast/views/all.erb