mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
Hide hamburger menu on login screen
This commit is contained in:
parent
384ec40c4e
commit
94dc314c73
1 changed files with 8 additions and 6 deletions
|
@ -3,12 +3,14 @@
|
||||||
|
|
||||||
<!-- header -->
|
<!-- header -->
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-menu" aria-expanded="false">
|
<% if user_signed_in? %>
|
||||||
<span class="sr-only">Toggle navigation</span>
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-menu" aria-expanded="false">
|
||||||
<span class="icon-bar"></span>
|
<span class="sr-only">Toggle navigation</span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
<span class="icon-bar"></span>
|
||||||
|
</button>
|
||||||
|
<% end %>
|
||||||
<%= link_to(root_path, class: 'navbar-brand', title: t('nav.label.scinote')) do %>
|
<%= link_to(root_path, class: 'navbar-brand', title: t('nav.label.scinote')) do %>
|
||||||
<%= image_tag('/images/scinote_icon.svg', id: 'logo') %>
|
<%= image_tag('/images/scinote_icon.svg', id: 'logo') %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue