improves admin header layout

This commit is contained in:
decabeza
2017-09-15 13:05:46 +02:00
parent 8ed791e860
commit 90f2b84856

View File

@@ -2,31 +2,27 @@
<div class="top-links">
<div class="expanded row">
<%= render 'shared/locale_switcher' %>
<%= link_to t("admin.dashboard.index.back") + " " + setting['org_name'],
root_path, class: "float-right back-web" %>
</div>
</div>
<div class="expanded row">
<div class="top-bar">
<%= link_to setting['org_name'], namespaced_root_path, class: "logo show-for-small-only" %>
<span data-responsive-toggle="responsive-menu" data-hide-for="medium" class="float-right">
<span class="menu-icon dark" data-toggle></span>
<%= t("application.menu")%>
</span>
<div id="responsive-menu">
<div class="top-bar-title">
<h1>
<%= link_to namespaced_root_path, class: "hide-for-small-only" do %>
<%= image_tag(image_path_for('logo_header.png'), class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
<%= link_to namespaced_root_path do %>
<%= setting['org_name'] %>
&nbsp;|&nbsp;<%= namespaced_header_title %>
<br><small><%= namespaced_header_title %></small>
<% end %>
</h1>
</div>
<div id="responsive-menu">
<div class="top-bar-right">
<ul class="dropdown menu" data-dropdown-menu>