mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 17:24:51 +08:00
Fix logo and flash messages in sign_in_halt layout [SCI-4243]
This commit is contained in:
parent
b23c874f9e
commit
168ba9d1c6
1 changed files with 4 additions and 10 deletions
|
@ -24,7 +24,7 @@
|
|||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<span class="navbar-brand" title="<% t('nav.label.scinote') %>">
|
||||
<%= image_tag('/images/scinote_icon.jpg', id: 'logo') %>
|
||||
<%= image_tag('/images/scinote_icon.svg', id: 'logo') %>
|
||||
</span>
|
||||
</div>
|
||||
<% if user_signed_in? %>
|
||||
|
@ -36,15 +36,9 @@
|
|||
<% end %>
|
||||
</div>
|
||||
</nav>
|
||||
<% if flash[:error]%>
|
||||
<div class="alert alert-danger alert-dismissable alert-floating">
|
||||
<div class="container">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<span class="fas fa-exclamation-circle"></span>
|
||||
<span><%= sanitize_input(flash[:error]) %></span>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render partial: 'shared/flash_alerts', locals: { flash: flash, notice: notice, alert: alert } %>
|
||||
|
||||
<div class="container sign-in-halt-container">
|
||||
<%= yield %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue