improves headings and html structure

This commit is contained in:
Alberto Garcia Cabeza
2016-12-14 13:51:39 +01:00
parent 2079e2238b
commit e7327860e4
4 changed files with 20 additions and 11 deletions

View File

@@ -1,11 +1,11 @@
<header>
<section class="top-links">
<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>
</section>
</div>
<div class="expanded row">
<div class="top-bar">
@@ -19,11 +19,13 @@
<div id="responsive-menu">
<div class="top-bar-title">
<%= 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") %>
<% end %>
<h1>
<%= 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") %>
<% end %>
</h1>
</div>
<div class="top-bar-right">