2013-11-25 04:41:32 +00:00
|
|
|
<% content_for :side_bar do %>
|
|
|
|
<%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_responsive_setting_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<%= stylesheet_link_tag "lib/wrap-nav"%>
|
|
|
|
<%= stylesheet_link_tag "lib/main-forms"%>
|
|
|
|
<%= stylesheet_link_tag "lib/fileupload"%>
|
|
|
|
<%= stylesheet_link_tag "lib/togglebox"%>
|
|
|
|
|
|
|
|
<%= javascript_include_tag 'lib/bootstrap-fileupload' %>
|
|
|
|
<%= javascript_include_tag 'lib/site_set' %>
|
|
|
|
</head>
|
|
|
|
<!-- Forms -->
|
|
|
|
<%= form_for @site, :url => admin_site_path(@site), :html => {:class => "form-horizontal main-forms"} do |f| %>
|
|
|
|
<fieldset>
|
|
|
|
<!-- Input Area -->
|
|
|
|
<div class="input-area">
|
|
|
|
|
|
|
|
<!-- Enable Mobile Web -->
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label muted"><%= I18n.t('site.mobile_version')%></label>
|
2013-12-03 07:50:27 +00:00
|
|
|
<div id="mobile-site" class="controls">
|
2013-11-25 04:41:32 +00:00
|
|
|
<%= f.check_box :mobile_on , :class=>"toggle-check", :data=> { disabled: true } %>
|
|
|
|
<span class="help-block">Enable Mobile Website</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-12-04 03:42:39 +00:00
|
|
|
<!-- <div id="settings" class="control-group">
|
2013-12-03 07:50:27 +00:00
|
|
|
<label class="control-label muted"><%= I18n.t('site.announcement')%></label>
|
|
|
|
<div class="controls">
|
2013-12-04 03:42:39 +00:00
|
|
|
<% @categories.each do |category|%>
|
|
|
|
<%= check_box_tag "site[announcement_category][]", category.id.to_s, @site.announcement_category.include?(category), :class=>"toggle-check announcement_category", :data => { :title => "#{category.title}", disabled: true }, "data-deploy"=>"inline" %>
|
|
|
|
<% end %>
|
2013-12-03 07:50:27 +00:00
|
|
|
</div>
|
2013-12-04 03:42:39 +00:00
|
|
|
</div> -->
|
2013-12-03 07:50:27 +00:00
|
|
|
|
2013-11-25 04:41:32 +00:00
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label muted"><%= I18n.t('site.mobile_api_openness_on') %></label>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.check_box :mobile_api_openness_on , :class=>"toggle-check", :data=> { disabled: true } %>
|
|
|
|
<span class="help-block">Make API available for Mobile Apps</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- Form Actions -->
|
|
|
|
<div class="form-actions">
|
|
|
|
<%= f.submit t("submit"), :class => "btn btn-primary" %>
|
|
|
|
<%= f.submit t("cancel"), :class => "btn ", :type => 'reset' %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
<%end%>
|