Sha256: c7b9d642134ca6ba1d937a2447acc57a2993e83537c17ade2ccd80ce14bf4906
Contents?: true
Size: 731 Bytes
Versions: 2
Compression:
Stored size: 731 Bytes
Contents
<table class="table table-bordered table-hover" style="margin-bottom: 0px"> <thead> <tr> <% for field in _.pairs(@fields): %> <% if _.indexOf(@sortableBy, field[0]) == -1: %> <th><%= field[1] %></th> <% else: %> <% icon_class = "" %> <% icon_class = "" if @sortBy[field[0]] == "" %> <% icon_class = "ASC" if @sortBy[field[0]] == "asc" %> <% icon_class = "DESC" if @sortBy[field[0]] == "desc" %> <th><a id="<%= field[0] %>" class="button sort-button" href="#" data-direction="<%= icon_class %>"><%= field[1] %> <%= icon_class %></a></th> <% end %> <% end %> </tr> </thead> <tbody class="records"> </tbody> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iugu-ux-0.8.6 | vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-table.jst.eco |
iugu-ux-0.8.5 | vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-table.jst.eco |