mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
minimize buttons on mobile phone
This commit is contained in:
parent
81883911c4
commit
47983812e7
3 changed files with 6 additions and 5 deletions
|
@ -16,7 +16,7 @@
|
|||
position: 'left'
|
||||
} do %>
|
||||
<span class="glyphicon glyphicon-pencil"></span>
|
||||
<%= t('experiments.canvas.canvas_edit') %>
|
||||
<span class="hidden-xs"><%=t 'experiments.canvas.canvas_edit' %></span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<!-- pexperiment actions -->
|
||||
|
@ -32,7 +32,7 @@
|
|||
</span>
|
||||
<% end %>
|
||||
<div class="toolbarButtons">
|
||||
<%= t('experiments.canvas.zoom') %>
|
||||
<span class="hidden-xs"><%=t 'experiments.canvas.zoom' %></span>
|
||||
<div id="zoom-level-buttons" class=" <%= 'btn-group' if can_edit_canvas(@experiment) && can_create_experiment(@project) %>" data-toggle="buttons">
|
||||
<%=link_to canvas_full_zoom_experiment_path(@experiment), remote: true, type: "button", class: "ajax btn btn-default active", "data-action" => "full_zoom", "data-toggle" => "button", "aria-pressed" => true do %>
|
||||
<span class="glyphicon glyphicon-th-large" aria-hidden="true" ></span>
|
||||
|
@ -53,7 +53,7 @@
|
|||
id: 'new-experiment',
|
||||
class: "btn btn-primary pull-right" do %>
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
<%= t('experiments.new.create') %>
|
||||
<span class="hidden-xs"><%=t 'experiments.new.create' %></span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
position: 'left'
|
||||
} do %>
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
<%= t('experiments.new.create') %>
|
||||
<span class="hidden-xs"><%=t 'experiments.new.create' %></span>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
<div class="pull-right" style="margin: 20px 15px 0 0;">
|
||||
<% if can_create_step_in_protocol(@protocol) %>
|
||||
<a class="btn btn-primary" data-action="new-step" href="<%= new_protocol_step_path(protocol_id: @protocol.id, format: :json) %>" data-remote="true">
|
||||
<%= t("protocols.steps.new_step") %>
|
||||
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
|
||||
<span class="hidden-xs"><%=t "protocols.steps.new_step" %></span>
|
||||
</a>
|
||||
<% end %>
|
||||
<a class="btn btn-greyed" data-action="collapse-steps">
|
||||
|
|
Loading…
Reference in a new issue