Update temp_file.
This commit is contained in:
parent
b254f99f2d
commit
e5e68bbaae
|
@ -6,6 +6,11 @@ class Site
|
||||||
DEBUG = false
|
DEBUG = false
|
||||||
has_many :page_sets, :autosave => true, :dependent => :destroy
|
has_many :page_sets, :autosave => true, :dependent => :destroy
|
||||||
accepts_nested_attributes_for :page_sets, :allow_destroy => true
|
accepts_nested_attributes_for :page_sets, :allow_destroy => true
|
||||||
|
field :root_url, type: String
|
||||||
|
field :update_flag, type: Boolean, default: true
|
||||||
|
field :password_high_security, type: Boolean, default: false
|
||||||
|
field :change_password_regularly, type: Boolean, default: false
|
||||||
|
field :change_password_period, type: String
|
||||||
field :title, as: :slug_title, type: String, localize: true
|
field :title, as: :slug_title, type: String, localize: true
|
||||||
field :school, type: String
|
field :school, type: String
|
||||||
field :department, type: String
|
field :department, type: String
|
||||||
|
@ -49,6 +54,15 @@ class Site
|
||||||
field :google_oauth_enabled, :type => Boolean, :default => false
|
field :google_oauth_enabled, :type => Boolean, :default => false
|
||||||
field :google_client_id
|
field :google_client_id
|
||||||
field :google_client_secret
|
field :google_client_secret
|
||||||
|
|
||||||
|
field :gmail_oauth2_enabled, :type => Boolean, :default => false
|
||||||
|
field :gmail_login_flag, :type => Boolean, :default => false
|
||||||
|
field :gmail_client_id
|
||||||
|
field :gmail_client_secret
|
||||||
|
field :gmail_access_token
|
||||||
|
field :gmail_refresh_token
|
||||||
|
field :gmail
|
||||||
|
|
||||||
field :meta_tags
|
field :meta_tags
|
||||||
field :every_page_sharer, type: Array, :default => ["facebook","line","twitter","google","printer"]
|
field :every_page_sharer, type: Array, :default => ["facebook","line","twitter","google","printer"]
|
||||||
|
|
||||||
|
@ -70,6 +84,8 @@ class Site
|
||||||
field :orbit_bar_submenu_text_color , type: String, :default => "#ffffff"
|
field :orbit_bar_submenu_text_color , type: String, :default => "#ffffff"
|
||||||
field :orbit_bar_animation_time , type: String, :default => "0.3s"
|
field :orbit_bar_animation_time , type: String, :default => "0.3s"
|
||||||
field :login_text , type: String, :default => "", localize: true
|
field :login_text , type: String, :default => "", localize: true
|
||||||
|
field :sign_up_hint ,:type => Hash, :default => {}
|
||||||
|
field :sign_up_hint_enable ,:type => Hash, :default => {}
|
||||||
mount_uploader :default_image, ImageUploader
|
mount_uploader :default_image, ImageUploader
|
||||||
mount_uploader :site_logo, ImageUploader
|
mount_uploader :site_logo, ImageUploader
|
||||||
mount_uploader :site_logo_1, ImageUploader
|
mount_uploader :site_logo_1, ImageUploader
|
||||||
|
|
Loading…
Reference in New Issue