Improves general layout for admin

This commit is contained in:
Alberto Garcia Cabeza
2016-05-31 17:10:08 +02:00
parent 1975018d6a
commit 56bb06b168
8 changed files with 79 additions and 84 deletions

View File

@@ -1,14 +1,8 @@
<header>
<section class="top-links">
<div class="row">
<%= render 'shared/locale_switcher' %>
</div>
</section>
<div class="row">
<div class="expanded row">
<div class="top-bar">
<%= link_to Setting['org_name'], root_path, class: "logo show-for-small-only" %>
<%= link_to Setting['org_name'], admin_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>
@@ -17,7 +11,7 @@
<div id="responsive-menu">
<div class="top-bar-title">
<%= link_to root_path, class: "hide-for-small-only" do %>
<%= link_to admin_root_path, class: "hide-for-small-only" do %>
<%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
<%= Setting['org_name'] %>
&nbsp;|&nbsp;<%= t("admin.dashboard.index.title") %>