Sha256: 16e96e227d1f4951f3f6b45717e8aede02a8de6e9247a51a3312381872cc1712
Contents?: true
Size: 1.04 KB
Versions: 11
Compression:
Stored size: 1.04 KB
Contents
<div class="dataset"> <table class="table table-bordered"> <thead> <tr> <% for field in _.pairs(@fields): %> <% if _.indexOf(@sortableBy, field[0]) == -1: %> <th> <div class="row-container"><div class="row-data"> <%= field[1] %> </div></div> </th> <% else: %> <% icon_class = "" %> <% icon_class = "" if @sortBy[field[0]] == "" %> <% icon_class = "iux-default-icon-arrow-asc" if @sortBy[field[0]] == "asc" %> <% icon_class = "iux-default-icon-arrow-desc" if @sortBy[field[0]] == "desc" %> <th class="sort-button" id="<%= field[0] %>" data-direction="<%= @sortBy[field[0]] %>"> <div class="row-container"><div class="row-data"> <%= field[1] %> <div class="icon <%= icon_class %>"></div> </div></div> </th> <% end %> <% end %> </tr> </thead> <tbody class="records"> </tbody> </table> </div>
Version data entries
11 entries across 11 versions & 1 rubygems