This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/mobile/_header.mobile.erb

17 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

<header class="header" data-role="header" style="
background-image: -webkit-linear-gradient(top, <%= @site.mobile_bar_color.first if @site.mobile_bar_color%>, <%= @site.mobile_bar_color.second if @site.mobile_bar_color%>);
background-image: -moz-linear-gradient(top, <%= @site.mobile_bar_color.first if @site.mobile_bar_color%>, <%= @site.mobile_bar_color.second if @site.mobile_bar_color%>);
background-image: -o-linear-gradient(top, <%= @site.mobile_bar_color.first if @site.mobile_bar_color%>, <%= @site.mobile_bar_color.second if @site.mobile_bar_color%>);
">
2012-12-19 19:21:50 +00:00
<h1 class="openmenu">
2013-12-09 07:18:11 +00:00
<% if @site.mobile_icon.present?%>
2013-12-09 06:54:36 +00:00
<%= image_tag( @site.mobile_icon, :size=>"120x120") rescue '' %>
2013-12-09 07:18:11 +00:00
<% else %>
<%= image_tag asset_path('mobile/logo.png')%>
<% end %>
2012-12-19 19:21:50 +00:00
</h1>
2013-01-09 07:57:31 +00:00
<i class="openmenu icons-arrow-down-5"></i>
2013-01-16 00:14:42 +00:00
<%= link_to mobile_dialog_language_path(:app => params[:app]), {:class => "ui-btn-right language", "data-iconpos" => "notext", "data-icon" => "search", "data-rel" => "dialog"} do %>
2012-12-19 19:21:50 +00:00
<i class="icons-earth"></i>
<% end %>
</header>