Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save TXDynamics/5941412 to your computer and use it in GitHub Desktop.

Select an option

Save TXDynamics/5941412 to your computer and use it in GitHub Desktop.
Nurumie Admin Console Table Default
<div class="row-fluid">
<article class="span10">
<!-- new widget -->
<div class="jarviswidget" id="widget-id-4">
<header>
<h2>Title</h2>
</header>
<!-- wrap div -->
<div>
<div class="jarviswidget-editbox">
<div>
<label>Title:</label>
<input type="text" />
</div>
<div>
<label>Styles:</label>
<span data-widget-setstyle="purple" class="purple-btn"></span>
<span data-widget-setstyle="navyblue" class="navyblue-btn"></span>
<span data-widget-setstyle="green" class="green-btn"></span>
<span data-widget-setstyle="yellow" class="yellow-btn"></span>
<span data-widget-setstyle="orange" class="orange-btn"></span>
<span data-widget-setstyle="pink" class="pink-btn"></span>
<span data-widget-setstyle="red" class="red-btn"></span>
<span data-widget-setstyle="darkgrey" class="darkgrey-btn"></span>
<span data-widget-setstyle="black" class="black-btn"></span>
</div>
</div>
<div class="inner-spacer">
<!-- content goes here -->
<table class="table text-left table-hover" id="just-table">
<thead>
<tr>
<th>ID#</th>
<th>RPX ID</th>
<th>Name</th>
<th>Email</th>
<th>Created At</th>
<th></th>
</tr>
</thead>
<tbody>
<% @accounts.each do |account| %>
<tr>
<td><%= account.id %></td>
<td><%= account.rpx_identifier %></td>
<td><%= account.name %></td>
<td><%= account.email %></td>
<td><%= account.created_at %></td>
<td><a href=""><button type="button" class="btn btn-primary"><i class="icon-exclamation-sign"></i></button></a></td>
</tr>
<% end %>
</tbody>
</table>
</div>
<!-- end content-->
</div>
<!-- end wrap div -->
</div>
<!-- end widget -->
</article>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment