Sha256: 44ef128603381ea6af5a2228a6b271f7aa8e22f0068335bd1898ffcd3c26d25e
Contents?: true
Size: 1.47 KB
Versions: 4
Compression:
Stored size: 1.47 KB
Contents
class @GroupHeader constructor: (@form, @group, name) -> @$title =$ "<span>#{ name }</span>" @$header =$ """<header class='group-header'></header>""" @$header.append @$title @group.$el.prepend @$header @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
4 entries across 4 versions & 1 rubygems