mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 22:51:24 +08:00
29 lines
1.7 KiB
Text
29 lines
1.7 KiB
Text
<template id="protocolActionToolbar">
|
|
<button id="protocolVersions" class="btn btn-light single-object-action hidden only-active">
|
|
<%= image_tag 'icon/versions.svg' %>
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.versions") %></span>
|
|
</button>
|
|
<button id="manageProtocolAccess" class="btn btn-light single-object-action hidden only-active">
|
|
<i class="fas fa-door-open"></i>
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.access") %></span>
|
|
</button>
|
|
<button id="duplicateProtocol" class="btn btn-light single-object-action hidden only-active" data-url="<%= clone_protocols_path %>" data-for="copyable">
|
|
<i class="fas fa-copy"></i>
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.duplicate") %></span>
|
|
</button>
|
|
<button id="exportProtocol" class="btn btn-light single-object-action hidden only-active" data-url="<%= export_protocols_path %>">
|
|
<i class="fas fa-download"></i>
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.export") %></span>
|
|
</button>
|
|
<button id="archiveProtocol" class="btn btn-light multiple-object-action hidden only-active" data-url="<%= archive_protocols_path %>" data-for="archivable">
|
|
<i class="fas fa-archive"></i>
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.archive") %></span>
|
|
</button>
|
|
<button id="restoreProtocol" class="btn btn-light multiple-object-action hidden only-archive" data-url="<%= restore_protocols_path %>" data-for="restorable">
|
|
<i class="fas fa-undo"></i>
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.restore") %></span>
|
|
</button>
|
|
<div class="emptyPlaceholder hidden">
|
|
<%= t("protocols.index.action_toolbar.empty_placeholder") %>
|
|
</div>
|
|
</template>
|