Work on wizard settings

This commit is contained in:
Alexei Nikitin 2014-04-07 21:44:47 +04:00
parent 9dab4b39e6
commit 630c44135a
4 changed files with 1279 additions and 1261 deletions
app
server/articles

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,9 +1,9 @@
#color-settings
table.table.table-bordered
tr
th
th Color
th Group
th(data-i18n="wizard_settings.active") Active
th(data-i18n="wizard_settings.color") Color
th(data-i18n="wizard_settings.group") Group
for group in colorGroups
tr.color-group(data-name=group.name)
td.enabled-cell

View file

@ -1 +1,13 @@
c = require '../commons/schemas' ArticleSchema = c.object() c.extendNamedProperties ArticleSchema # name first ArticleSchema.properties.body = { type: 'string', title: 'Content', format: 'markdown' } ArticleSchema.properties.i18n = { type: 'object', title: 'i18n', format: 'i18n', props: ['name', 'body'] } c.extendBasicProperties(ArticleSchema, 'article') c.extendSearchableProperties(ArticleSchema) c.extendVersionedProperties(ArticleSchema, 'article') module.exports = ArticleSchema
c = require '../commons/schemas'
ArticleSchema = c.object()
c.extendNamedProperties ArticleSchema # name first
ArticleSchema.properties.body = { type: 'string', title: 'Content', format: 'markdown' }
ArticleSchema.properties.i18n = { type: 'object', title: 'i18n', format: 'i18n', props: ['name', 'body'] }
c.extendBasicProperties(ArticleSchema, 'article')
c.extendSearchableProperties(ArticleSchema)
c.extendVersionedProperties(ArticleSchema, 'article')
module.exports = ArticleSchema