2012-10-15 07:30:48 +00:00
|
|
|
<% content_for :side_bar do %>
|
2013-08-09 07:07:05 +00:00
|
|
|
<%= render :partial => 'admin/users_new_interface/side_bar' %>
|
2012-10-15 07:30:48 +00:00
|
|
|
<% end %>
|
|
|
|
|
2012-09-17 04:06:21 +00:00
|
|
|
<%= render :partial => "js_and_css"%>
|
2012-09-11 02:52:27 +00:00
|
|
|
|
2013-08-09 07:07:05 +00:00
|
|
|
|
2013-09-18 09:31:53 +00:00
|
|
|
<% content_for :right_nav do %>
|
|
|
|
|
2013-08-30 08:47:44 +00:00
|
|
|
<div class="searchClear pull-left" style="clear: left;">
|
2013-08-09 07:07:05 +00:00
|
|
|
<form action="" method="get">
|
2013-08-30 08:47:44 +00:00
|
|
|
<%= text_field_tag 'mq',( params[:mq] ? params[:mq] : '' ), {:id=>'filter-input', :class => "search-query input-medium", :placeholder => 'Search'} %>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="view-switch pull-right" data-toggle="buttons-radio">
|
|
|
|
|
|
|
|
<form action="" method="get" class="btn-group">
|
2013-08-09 07:07:05 +00:00
|
|
|
<button class="btn btn-small <%= "active" if params[:at].blank? %>"><i class="icon-list"></i> <%= t("show_mode.index")%></button>
|
|
|
|
<button name="at" value="summary" class="btn btn-small <%= "active" if params[:at] == "summary" %>"><i class="icon-th-list"></i> <%= t("show_mode.summary")%></button>
|
|
|
|
<button name="at" value="thumbnail" class="btn btn-small <%= "active" if params[:at] == "thumbnail" %>"><i class="icon-th"></i> <%= t("show_mode.thumbnail")%></button>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<ul class="nav nav-pills filter-nav pull-right">
|
|
|
|
<li class="accordion-group">
|
|
|
|
<div class="accordion-heading">
|
2013-11-06 14:30:41 +00:00
|
|
|
<a href="#collapse-role" data-toggle="collapse" data-parent="#filter" class="accordion-toggle">Roles</a>
|
2013-08-09 07:07:05 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="filter-group accordion-group">
|
2013-11-06 14:30:41 +00:00
|
|
|
<div class="accordion-body collapse" id="collapse-role">
|
2013-08-09 07:07:05 +00:00
|
|
|
|
|
|
|
<%= render :partial => "filter"%>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-09-18 09:31:53 +00:00
|
|
|
|
|
|
|
<% end %>
|
2013-08-09 07:07:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
<div id="list-view">
|
|
|
|
<table id="member-list" class="table main-list">
|
2012-10-15 07:30:48 +00:00
|
|
|
<thead>
|
2013-08-09 07:07:05 +00:00
|
|
|
<tr class="sort-header">
|
|
|
|
<th class="gender"></th>
|
2013-12-27 07:49:21 +00:00
|
|
|
<th class="span3"><a href="#"><%= t('roles') %></a></th>
|
|
|
|
<th class="span4"><a href="#"><%= t('name') %></a></th>
|
|
|
|
<th><a href="#"><%= t('email') %></a></th>
|
2012-10-15 07:30:48 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2013-08-09 07:07:05 +00:00
|
|
|
<tbody>
|
2012-10-15 07:30:48 +00:00
|
|
|
<%= render :partial => "user_for_listing",:collection=> @users%>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2013-08-09 07:07:05 +00:00
|
|
|
</div>
|
2012-09-17 04:06:21 +00:00
|
|
|
|
2013-08-30 08:47:44 +00:00
|
|
|
<%= render :partial=> "index_paginator" if @mq.blank? %>
|