Added field for colour setting
This commit is contained in:
parent
e15cf5cfca
commit
6f397868ec
|
@ -45,6 +45,7 @@ class Site
|
|||
field :google_analytics
|
||||
field :address
|
||||
field :phone_number, :type => Hash,:default=>{}
|
||||
field :mobile_bar_color, :type => String
|
||||
|
||||
field :mobile_on, :type => Boolean, :default => false
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<% if @site.mobile_icon.file.present? %>
|
||||
<%= image_tag( @site.mobile_icon, :size=>"120x120") rescue ''%>
|
||||
<% else %>
|
||||
<%= image_tag "orbit-logo.png",:class => "pull-left upload-picture"%>
|
||||
<%= image_tag asset_path('mobile/logo.png'),:class => "pull-left upload-picture"%>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="fileupload-preview fileupload-exists thumbnail pull-left"></div>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<header class="header" data-role="header">
|
||||
<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 %>
|
||||
|
|
Loading…
Reference in New Issue