|
|
|
<% sidebar_collapse = request.cookies['admin_sidebar_collapse'].to_s == 'true' %>
|
|
|
|
<nav id="sidebar" class="<%= sidebar_collapse ? 'active' : '' %>" data-current-controller="<%= admin_sidebar_controller %>">
|
|
|
|
<div class="sidebar-header">
|
|
|
|
<a href="/" class="sidebar-header-logo" data-toggle="tooltip" title="返回主站">
|
|
|
|
<%= image_tag('logo.png') %>
|
|
|
|
</a>
|
|
|
|
<div id="sidebarCollapse" class="navbar-btn <%= sidebar_collapse ? 'active' : '' %>">
|
|
|
|
<i class="fa fa-chevron-left fold" data-toggle="tooltip" data-placement="right" data-boundary="window" title="收起"></i>
|
|
|
|
<i class="fa fa-bars unfold" data-toggle="tooltip" data-placement="right" data-boundary="window" title="展开"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Sidebar Links -->
|
|
|
|
<ul class="list-unstyled components">
|
|
|
|
<li><%= sidebar_item(admins_path, '概览', icon: 'dashboard', controller: 'admins-dashboards') %></li>
|
|
|
|
<li>
|
|
|
|
<%= sidebar_item_group('#school-submenu', '学校统计', icon: 'area-chart') do %>
|
|
|
|
<li><%= sidebar_item(admins_daily_school_statistics_path, '统计总表', icon: 'bar-chart', controller: 'admins-daily_school_statistics') %></li>
|
|
|
|
<li><%= sidebar_item(admins_school_statistics_path, '数据变化报表', icon: 'line-chart', controller: 'admins-school_statistics') %></li>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<%= sidebar_item_group('#shixun-submenu', '实训管理', icon: 'window-restore') do %>
|
|
|
|
<li><%= sidebar_item(admins_shixuns_path, '实训列表', icon: 'jsfiddle', controller: 'admins-shixuns') %></li>
|
|
|
|
<li><%= sidebar_item(admins_shixun_settings_path, '实训配置', icon: 'cog', controller: 'admins-shixun_settings') %></li>
|
|
|
|
<li><%= sidebar_item(admins_mirror_repositories_path, '镜像管理', icon: 'cubes', controller: 'admins-mirror_repositories') %></li>
|
|
|
|
<li><%= sidebar_item(admins_myshixuns_path, '学员实训列表', icon: 'server', controller: 'admins-myshixuns') %></li>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<%= sidebar_item_group('#schools-submenu', '单位管理', icon: 'building') do %>
|
|
|
|
<li><%= sidebar_item(admins_departments_path, '部门列表', icon: 'sitemap', controller: 'admins-departments') %></li>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<!-- <li>-->
|
|
|
|
<%#= sidebar_item_group('#course-submenu', '课堂+', icon: 'mortar-board') do %>
|
|
|
|
<!-- <li><%#= sidebar_item('#', '课程列表', icon: 'calendar', controller: '') %></li>-->
|
|
|
|
<!-- <li><%#= sidebar_item('#', '课堂列表', icon: 'book', controller: '') %></li>-->
|
|
|
|
<!-- <li><%#= sidebar_item('#', '实训作业', icon: 'file-code-o', controller: '') %></li>-->
|
|
|
|
<!-- <li><%#= sidebar_item('#', '项目列表', icon: 'sitemap', controller: '') %></li>-->
|
|
|
|
<%# end %>
|
|
|
|
<!-- </li>-->
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<%= sidebar_item_group('#user-submenu', '用户', icon: 'user') do %>
|
|
|
|
<li><%= sidebar_item(admins_users_path, '用户列表', icon: 'user', controller: 'admins-users') %></li>
|
|
|
|
<!-- <li><%#= sidebar_item('#', '试用授权列表', icon: 'id-card-o', controller: '') %></li>-->
|
|
|
|
<!-- <li><%#= sidebar_item('#', '自动授权列表', icon: 'id-card', controller: '') %></li>-->
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<%= sidebar_item_group('#apply-review-submenu', '审核', icon: 'gavel') do %>
|
|
|
|
<li><%= sidebar_item(admins_identity_authentications_path, '实名认证', icon: 'id-card-o', controller: 'admins-identity_authentications') %></li>
|
|
|
|
<li><%= sidebar_item(admins_professional_authentications_path, '职业认证', icon: 'drivers-license', controller: 'admins-professional_authentications') %></li>
|
|
|
|
<li><%= sidebar_item(admins_department_applies_path, '部门审批', icon: 'newspaper-o', controller: 'admins-department_applies') %></li>
|
|
|
|
<li><%= sidebar_item(admins_unit_applies_path, '单位审批', icon: 'building-o', controller: 'admins-unit_applies') %></li>
|
|
|
|
<li><%= sidebar_item(admins_shixun_authorizations_path, '实训发布', icon: 'object-ungroup', controller: 'admins-shixun_authorizations') %></li>
|
|
|
|
<li><%= sidebar_item(admins_subject_authorizations_path, '实践课程发布', icon: 'object-group', controller: 'admins-subject_authorizations') %></li>
|
|
|
|
<li><%= sidebar_item(admins_library_applies_path, '教学案例发布', icon: 'language', controller: 'admins-library_applies') %></li>
|
|
|
|
<li><%= sidebar_item(admins_project_package_applies_path, '众包需求发布', icon: 'joomla', controller: 'admins-project_package_applies') %></li>
|
|
|
|
<li><%= sidebar_item(admins_video_applies_path, '视频发布', icon: 'film', controller: 'admins-video_applies') %></li>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<%= sidebar_item_group('#major-identification-submenu', '工程认证', icon: 'anchor') do %>
|
|
|
|
<li><%= sidebar_item(admins_major_informations_path, '本科专业目录', icon: 'outdent', controller: 'admins-major_informations') %></li>
|
|
|
|
<li><%= sidebar_item(admins_auth_schools_path, '认证单位列表', icon: 'th', controller: 'admins-auth_schools') %></li>
|
|
|
|
<li><%= sidebar_item(admins_graduation_standards_path, '毕业要求通用标准', icon: 'file-word-o', controller: 'admins-graduation_standards') %></li>
|
|
|
|
<li><%= sidebar_item(admins_ec_templates_path, '导入模板管理', icon: 'file-excel-o', controller: 'admins-ec_templates') %></li>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<%= sidebar_item_group('#helps-submenu', '帮助中心', icon: 'info-circle') do %>
|
|
|
|
<li><%= sidebar_item(edit_admins_about_path, '关于我们', icon: 'smile-o', controller: 'admins-abouts') %></li>
|
|
|
|
<li><%= sidebar_item(edit_admins_contact_us_path, '联系我们', icon: 'commenting-o', controller: 'admins-contact_us') %></li>
|
|
|
|
<li><%= sidebar_item(admins_cooperatives_path, '合作伙伴', icon: 'handshake-o', controller: 'admins-cooperatives') %></li>
|
|
|
|
<li><%= sidebar_item(edit_admins_agreement_path, '服务协议', icon: 'file-text-o', controller: 'admins-agreements') %></li>
|
|
|
|
<li><%= sidebar_item(edit_admins_help_center_path, '帮助中心', icon: 'question-circle-o', controller: 'admins-help_centers') %></li>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
<li><%= sidebar_item('/', '返回主站', icon: 'sign-out', controller: 'root') %></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|