mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Merge pull request #3051 from mlorb/ml-sci-5335
Change buttons style in projects toolbar [SCI-5335]
This commit is contained in:
commit
ca955b27a8
1 changed files with 5 additions and 5 deletions
|
@ -13,22 +13,22 @@
|
||||||
<!-- new project folder button -->
|
<!-- new project folder button -->
|
||||||
<% if current_team && can_create_project_folders?(current_team) %>
|
<% if current_team && can_create_project_folders?(current_team) %>
|
||||||
<%= link_to new_project_folder_path(project_folder_id: @current_folder),
|
<%= link_to new_project_folder_path(project_folder_id: @current_folder),
|
||||||
class: 'btn btn-secondary new-project-folder-btn',
|
class: 'btn btn-light new-project-folder-btn',
|
||||||
remote: true do %>
|
remote: true do %>
|
||||||
<span class="fas fa-folder" aria-hidden="true"></span>
|
<span class="fas fa-folder" aria-hidden="true"></span>
|
||||||
<span class="hidden-xs"><%= t('projects.index.new_folder') %></span>
|
<span class="hidden-xs"><%= t('projects.index.new_folder') %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<a href="#" class="btn btn-secondary edit-btn single-object-action hidden" data-view-mode="active">
|
<a href="#" class="btn btn-light edit-btn single-object-action hidden" data-view-mode="active">
|
||||||
<span class="fas fa-folder" aria-hidden="true"></span>
|
<span class="fas fa-folder" aria-hidden="true"></span>
|
||||||
<span class="hidden-xs"><%= t('projects.index.edit_button') %></span>
|
<span class="hidden-xs"><%= t('projects.index.edit_button') %></span>
|
||||||
</a>
|
</a>
|
||||||
<a href="#" class="btn btn-secondary move-projects-btn multiple-object-action hidden">
|
<a href="#" class="btn btn-light move-projects-btn multiple-object-action hidden">
|
||||||
<span class="fas fa-arrow-right" aria-hidden="true"></span>
|
<span class="fas fa-arrow-right" aria-hidden="true"></span>
|
||||||
<span class="hidden-xs"><%= t('projects.index.move_button') %></span>
|
<span class="hidden-xs"><%= t('projects.index.move_button') %></span>
|
||||||
</a>
|
</a>
|
||||||
<%= button_to archive_group_projects_path,
|
<%= button_to archive_group_projects_path,
|
||||||
class: 'btn btn-secondary archive-projects-btn multiple-object-action project-only-action hidden',
|
class: 'btn btn-light archive-projects-btn multiple-object-action project-only-action hidden',
|
||||||
form_class: 'archive-projects-form',
|
form_class: 'archive-projects-form',
|
||||||
remote: true,
|
remote: true,
|
||||||
method: :post do %>
|
method: :post do %>
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
<span class="hidden-xs"><%= t('projects.index.archive_button') %></span>
|
<span class="hidden-xs"><%= t('projects.index.archive_button') %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<!-- export projects button -->
|
<!-- export projects button -->
|
||||||
<a href="#" class="btn btn-secondary export-projects-btn multiple-object-action hidden"
|
<a href="#" class="btn btn-light export-projects-btn multiple-object-action hidden"
|
||||||
data-export-projects-modal-url="<%= export_projects_modal_team_path(current_team) %>">
|
data-export-projects-modal-url="<%= export_projects_modal_team_path(current_team) %>">
|
||||||
<span class="fas fa-file-export"></span>
|
<span class="fas fa-file-export"></span>
|
||||||
<span class="hidden-xs-custom"><%= t('projects.export_projects.export_button') %></span>
|
<span class="hidden-xs-custom"><%= t('projects.export_projects.export_button') %></span>
|
||||||
|
|
Loading…
Reference in a new issue