Sha256: 35a79509fa5537055fe7e4a04c7b1a38e16906fadbbade0f5d2950e6e60d2812

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

@generalSettingsConfig = ->
  formSchema =
    website_settings:
      type: 'group'
      title: 'Website'
      groupClass: 'group-panel'
      inputs:
        website_title:
          type: 'string'
          label: 'Site Title'
          placeholder: 'Choose a short name for this site.'
        website_tagline:
          type: 'string'
          label: 'Site Tagline'
          placeholder: 'In a few words, explain what this site is about.'
        website_url:
          type: 'string'
          label: 'Site Address'
          placeholder: 'http://mysite.com'

    author_settings:
      type: 'group'
      title: 'Author'
      groupClass: 'group-panel'
      inputs:
        website_description:
          type: 'text'
          label: 'About'
          placeholder: 'Write a short bio about website author.'
        website_logo_url:
          type: 'loft-image'
          fullsizePreview: true

    social_panel:
      type: 'group'
      title: 'Social'
      groupClass: 'group-panel'
      inputs:
        social_links:
          type: 'array'
          label: 'Links to Social Profiles'
          ignoreArrayWithEmptyString: true
          placeholder: 'Put a link to your social page (Facebook, Twitter, etc...)'

  new AntsSettings('General', 'general', formSchema)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
venice-chr-0.1.5 app/assets/javascripts/admin/settings/general.coffee