aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/views/layout.erb18
1 files changed, 9 insertions, 9 deletions
diff --git a/web/views/layout.erb b/web/views/layout.erb
index f09f543..6e920f8 100644
--- a/web/views/layout.erb
+++ b/web/views/layout.erb
@@ -19,6 +19,15 @@
</head>
<body>
<div id="header">
+ <div id="header_logo">
+ <a href="/"><img width="49" height="49" src="<%= TaginfoConfig.get('instance.icon', '/img/logo/world.png') %>" alt="taginfo"/></a>
+<% if @section %>
+ <a href="/"><img width="136" height="49" src="/img/logo/taginfo_with_bar.png" alt="taginfo"/></a>
+ <a class="section" href="/<%= @section %>"><%= @section_title %></a>
+<% else %>
+ <a href="/"><img width="129" height="49" src="/img/logo/taginfo.png" alt="taginfo"/></a>
+<% end %>
+ </div>
<div id="header_date" title="<%= h(t.taginfo.data_from_description) %>" tipsy="ne"><%= h(t.taginfo.data_from) %>: <%= @data_until %> UTC</div>
<div id="header_forms" class="no-print">
<form id="set_language" action="/switch_locale">
@@ -33,15 +42,6 @@
<form id="search_form" action="/search"><input type="text" id="search" name="q" value="<%= h(params[:q]) %>"/></form>
<% end %>
</div>
- <div id="header_logo">
- <a href="/"><img width="49" height="49" src="<%= TaginfoConfig.get('instance.icon', '/img/logo/world.png') %>" alt="taginfo"/></a>
-<% if @section %>
- <a href="/"><img width="136" height="49" src="/img/logo/taginfo_with_bar.png" alt="taginfo"/></a>
- <a class="section" href="/<%= @section %>"><%= @section_title %></a>
-<% else %>
- <a href="/"><img width="129" height="49" src="/img/logo/taginfo.png" alt="taginfo"/></a>
-<% end %>
- </div>
</div>
<% unless @nosearch %>
<ul id="menu">