2014-07-01 10:21:32 +00:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title><%= current_site.title %> | <%= t('dashboard_') %></title>
|
|
|
|
<%= render 'shared/meta' %>
|
|
|
|
<%= render 'shared/google_font' %>
|
|
|
|
<%= stylesheet_link_tag "member" %>
|
|
|
|
<%= yield :page_specific_css %>
|
|
|
|
<%= render 'shared/ie_html5_fix' %>
|
|
|
|
<%= javascript_include_tag "member" %>
|
|
|
|
<%= yield :page_specific_javascript %>
|
|
|
|
<%= csrf_meta_tag %>
|
|
|
|
</head>
|
|
|
|
<body id="users">
|
2014-07-28 13:46:36 +00:00
|
|
|
<%= render_orbit_bar unless @no_orbit_bar %>
|
2014-07-01 10:21:32 +00:00
|
|
|
<%= render :partial => 'layouts/side_bar', :locals => {:link_name => t(:user), :link_url => admin_site_site_info_path(site_id: current_site.id), :icon => 'icons-users', :side_bar_content => 'admin/members/side_bar'} %>
|
|
|
|
<section id="main-wrap">
|
|
|
|
<div class="wrap-inner">
|
|
|
|
<div id="filter" class="topnav clearfix">
|
|
|
|
<ul class="breadcrumb text-info pull-left">
|
|
|
|
<% if !@role.blank? %>
|
|
|
|
<li><%= link_to( t("role"), admin_roles_path ) %> <span class="divider">/</span></li>
|
|
|
|
<li class="active">( <%= @role.title %> ) <%= t(@app_type_name) %></a></li>
|
|
|
|
<% elsif !@attribute.blank? %>
|
|
|
|
<li><%= link_to( t("#{@attribute_type}"), admin_roles_path ) %><span class="divider">/</span></li>
|
|
|
|
<li class="active"><%= @attribute.title %></a></li>
|
|
|
|
<% else %>
|
|
|
|
<li><a href="<%= admin_members_path %>"><%= t(:member_) %></a> <span class="divider">/</span></li>
|
|
|
|
<% if !@plugin.blank? %>
|
|
|
|
<li class="active">
|
|
|
|
<a href="<%= @plugin.admin_partial_path %>">
|
|
|
|
<%= @plugin.name %>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<% if !params[:action].eql?('index') %>
|
|
|
|
<% if params[:action].eql?('new') %>
|
|
|
|
<li><span class="divider">/</span></li>
|
|
|
|
<li class='active'><%= t(:new_) %></li>
|
|
|
|
<% else %>
|
|
|
|
<li><span class="divider">/</span></li>
|
|
|
|
<li class='active'><%= t(params[:action]) %></li>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<%= yield :right_nav %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="subnav">
|
|
|
|
<%= render 'admin/personal_plugins/plugin_list' %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<%= yield %>
|
|
|
|
<%= javascript_include_tag "lib/pageslide.js" %>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</body>
|
|
|
|
</html>
|