Created
August 13, 2013 14:44
-
-
Save TXDynamics/6221858 to your computer and use it in GitHub Desktop.
Default index page for the Abase application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% provide(:page_title, 'Open Funds') %> | |
<% provide(:page_heading, 'Open Funds') %> | |
<% provide(:page_heading_sub, 'Funds with open investment status.') %> | |
<div class="row-fluid"> | |
<div class="span12"> | |
<div class="table-header"> | |
<!--[TODO] There must be a better way to do this--> | |
<strong><%= @funds.size %></strong> Funds with OPEN status in ABase" | |
</div> | |
<table id="table_bug_report" class="table table-striped table-bordered table-hover"> | |
<thead> | |
<tr> | |
<th>Security Name</th> | |
<th>Manager Name</th> | |
<th></th> | |
</tr> | |
</thead> | |
<tbody> | |
<% @funds.each do |fund| %> | |
<tr> | |
<td style="font-size: 11px;"><a href="/product_caches/<%= fund.security_id %>"><%= fund.arden_name %></a></td> | |
<td style="font-size: 11px;"><%= fund.manager_name %></td> | |
<td> | |
<div class="inline position-relative"> | |
<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown"><i class="icon-cog icon-only"></i></button> | |
<ul class="dropdown-menu dropdown-icon-only dropdown-light pull-right dropdown-caret dropdown-close"> | |
<li><a href="#" class="tooltip-success" data-rel="tooltip" title="Edit" data-placement="left"><span class="green"><i class="icon-edit"></i></span></a></li> | |
<li><a href="#" class="tooltip-warning" data-rel="tooltip" title="Flag" data-placement="left"><span class="blue"><i class="icon-flag"></i></span> </a></li> | |
<li><a href="#" class="tooltip-error" data-rel="tooltip" title="Delete" data-placement="left"><span class="red"><i class="icon-trash"></i></span> </a></li> | |
</ul> | |
</div> | |
</td> | |
</tr> | |
<% end %> | |
</tbody> | |
</table> | |
<!--Kaminari Pagination--> | |
<div class="row pull-right"><%= paginate @funds %></div> | |
</div><!--/span--> | |
</div><!--/row--> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment