orbit-4-2/app/views/mobile/_header.mobile.erb

19 lines
1.1 KiB
Plaintext

<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%>);
">
<h1 class="openmenu">
<% if @site.mobile_icon.present?%>
<%= image_tag( @site.mobile_icon, :size=>"120x120") rescue '' %>
<% else %>
<%= image_tag asset_path('mobile/logo.png')%>
<% end %>
</h1>
<i class="openmenu icons-arrow-down-5"></i>
<!--
<%= link_to mobile_dialog_language_path(:app => params[:app]), {:class => "ui-btn-right language", "data-iconpos" => "notext", "data-icon" => "search", "data-rel" => "dialog"} do %>
<i class="icons-earth"></i>
<% end %>
-->
</header>