mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 04:06:53 +08:00
36 lines
1.6 KiB
Text
36 lines
1.6 KiB
Text
<% provide(:head_title, t("projects.index.head_title")) %>
|
|
|
|
<% if current_team %>
|
|
<%= render partial: 'shared/sidebar/projects.html.erb', locals: { team: current_team } %>
|
|
<% content_for :breadcrumbs do %>
|
|
<%= render partial: "projects/index/breadcrumbs" if @current_folder %>
|
|
<% end %>
|
|
<%= render partial: "shared/secondary_navigation" %>
|
|
<span style="display: none;" data-hook="projects-index-html"></span>
|
|
|
|
<%= render partial: 'projects/index/modals/new_project' %>
|
|
<%= render partial: 'projects/index/modals/edit_project' %>
|
|
<%= render partial: 'projects/index/modals/manage_users' %>
|
|
<%= render partial: 'projects/index/modals/export_projects' %>
|
|
|
|
<div class="projects-container">
|
|
<%= render partial: 'projects/index/toolbar' %>
|
|
<div class="cards-wrapper" id="cards-wrapper" data-projects-cards-url="<%= @current_folder ? project_folder_cards_url(@current_folder) : cards_projects_url %>">
|
|
<div class="table-header">
|
|
<div class="table-header-cell select-all-checkboxes">
|
|
<div class="sci-checkbox-container">
|
|
<input value="1" type="checkbox" class="sci-checkbox select-all">
|
|
<span class="sci-checkbox-label"></span>
|
|
</div>
|
|
</div>
|
|
<div class="table-header-cell"><%= t('.card.name') %></div>
|
|
<div class="table-header-cell"><%= t('.card.start_date') %></div>
|
|
<div class="table-header-cell"><%= t('.card.visibility') %></div>
|
|
<div class="table-header-cell"><%= t('.card.users') %></div>
|
|
<div class="table-header-cell"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= javascript_include_tag "projects/index" %>
|