first part of new theme integration
This commit is contained in:
30
app/views/layouts/_topbar.html.erb
Normal file
30
app/views/layouts/_topbar.html.erb
Normal file
@@ -0,0 +1,30 @@
|
||||
<!-- Topbar Start -->
|
||||
<div class="navbar-custom">
|
||||
<ul class="list-unstyled topbar-menu float-end mb-0">
|
||||
|
||||
<%= render 'layouts/locales' %>
|
||||
|
||||
<li class="dropdown notification-list">
|
||||
<a class="nav-link dropdown-toggle nav-user arrow-none me-0" data-bs-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false">
|
||||
<span class="account-user-name"><%= current_user.battletag %></span>
|
||||
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-end dropdown-menu-animated topbar-dropdown-menu profile-dropdown">
|
||||
<!-- item-->
|
||||
<div class=" dropdown-header noti-title">
|
||||
<h6 class="text-overflow m-0">Account</h6>
|
||||
</div>
|
||||
|
||||
<%= link_to '<i class="fas fa-sign-out-alt"> Logout</i>'.html_safe, destroy_user_session_path, method: :delete, class: "dropdown-item notify-item" %>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<button class="button-menu-mobile open-left">
|
||||
<i class="fas fa-bars"></i>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
<!-- end Topbar -->
|
||||
Reference in New Issue
Block a user