2017-10-17 19:17:49 +08:00
|
|
|
<% provide(:head_title, t('users.settings.account.addons.head_title')) %>
|
2018-05-08 22:33:42 +08:00
|
|
|
<% provide(:container_class, "no-second-nav-container") %>
|
2017-10-17 19:17:49 +08:00
|
|
|
|
2023-06-21 20:13:20 +08:00
|
|
|
<%= render partial: 'users/settings/sidebar' %>
|
2020-07-13 20:51:51 +08:00
|
|
|
<div class="tab-content user-account-addons">
|
2018-05-08 22:33:42 +08:00
|
|
|
<div class="tab-pane content-pane active" role="tabpanel">
|
2017-10-17 19:17:49 +08:00
|
|
|
|
2023-05-09 17:20:53 +08:00
|
|
|
<div>
|
2021-08-16 16:51:46 +08:00
|
|
|
<h1 class="addons-title"><%= t('users.settings.account.addons.title') %></h1>
|
|
|
|
|
2023-05-09 17:20:53 +08:00
|
|
|
<div>
|
2021-08-16 16:51:46 +08:00
|
|
|
<h2 class="addons-subtitle" ><%= t('users.settings.account.addons.scinote_addons') %></h2>
|
2017-10-17 19:17:49 +08:00
|
|
|
<div data-hook="settings-addons-container">
|
|
|
|
<em data-hook="settings-addons-no-addons">
|
|
|
|
<%= t('users.settings.account.addons.no_addons') %>
|
|
|
|
</em>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-09-02 15:52:52 +08:00
|
|
|
<div class="row printer-settings">
|
2021-07-21 19:48:38 +08:00
|
|
|
<div class="col-xs-12 col-sm-12">
|
2021-08-16 16:51:46 +08:00
|
|
|
<h2 class="addons-subtitle"><%= t('users.settings.account.addons.label_printers') %></h2>
|
2023-08-01 16:30:57 +08:00
|
|
|
<div class="printers-container">
|
|
|
|
<div class="printer">
|
|
|
|
<div class="header">
|
|
|
|
<div class="title">
|
|
|
|
<%= t('users.settings.account.addons.zebra_printer.title') %>
|
2022-08-04 17:14:35 +08:00
|
|
|
</div>
|
2023-08-01 16:30:57 +08:00
|
|
|
<div class="control">
|
|
|
|
<%= t('users.settings.account.addons.printers.enabled') %>
|
|
|
|
<i class="sn-icon sn-icon-check"></i>
|
2022-08-04 17:14:35 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-08-01 16:30:57 +08:00
|
|
|
<div class="description">
|
|
|
|
<%= t('users.settings.account.addons.zebra_printer.description') %>
|
|
|
|
</div>
|
|
|
|
<%= link_to t('users.settings.account.addons.printers.details'), zebra_settings_path(), class: 'printer-details' %>
|
2022-08-04 17:14:35 +08:00
|
|
|
</div>
|
2023-08-01 16:30:57 +08:00
|
|
|
</div>
|
2021-08-02 21:38:37 +08:00
|
|
|
<div class="printers-container">
|
|
|
|
<div class="printer">
|
|
|
|
<div class="header">
|
|
|
|
<div class="title">
|
|
|
|
<%= t('users.settings.account.addons.fluics_printer.title') %>
|
2021-07-21 19:48:38 +08:00
|
|
|
</div>
|
2021-08-02 21:38:37 +08:00
|
|
|
<div class="control">
|
|
|
|
<%= t('users.settings.account.addons.printers.enabled') %>
|
2023-06-15 21:12:51 +08:00
|
|
|
<i class="sn-icon sn-icon-check"></i>
|
2021-07-21 19:48:38 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-08-02 21:38:37 +08:00
|
|
|
<div class="description">
|
|
|
|
<%= t('users.settings.account.addons.fluics_printer.description') %>
|
|
|
|
</div>
|
|
|
|
<% if !@label_printer_any && can_manage_label_printers? %>
|
|
|
|
<%= link_to label_printers_path(), class: 'printer-details btn btn-primary' do %>
|
|
|
|
<i class="fas fa-key"></i>
|
|
|
|
<%= t('users.settings.account.addons.printers.enter_api_key') %>
|
|
|
|
<% end %>
|
|
|
|
<% else %>
|
|
|
|
<%= link_to t('users.settings.account.addons.printers.printer_details'), label_printers_path(), class: 'printer-details' %>
|
|
|
|
<% end %>
|
2021-07-23 19:52:28 +08:00
|
|
|
</div>
|
2021-08-02 21:38:37 +08:00
|
|
|
</div>
|
2021-07-21 19:48:38 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-17 19:17:49 +08:00
|
|
|
</div>
|
|
|
|
<div class="tab-pane tab-pane-settings" role="tabpanel"></div>
|
|
|
|
</div>
|