{
"pages": [
{
"name": "home",
"title": "Saltcorn wiki",
"layout": {
"above": [
{
"font": "",
"icon": "",
"type": "blank",
"block": true,
"contents": "Saltcorn Wiki
\n",
"labelFor": "",
"isFormula": {},
"textStyle": ""
},
{
"font": "",
"icon": "",
"type": "blank",
"block": true,
"contents": "This is the wiki for saltcorn, an open source extensible no-code application builder. The wiki itself is built on saltcorn! You can contribute to the wiki by creating an account.
\n",
"labelFor": "",
"isFormula": {},
"textStyle": ""
},
{
"font": "",
"icon": "",
"type": "blank",
"block": false,
"contents": "Links
\n\n\n\t- Main Website
\n\t- GitHub Repository
\n\t- Bug Reports and Feedback
\n\t- Forum
\n\t- Saltcorn Blog
\n\t- Roadmap
\n
\n",
"labelFor": "",
"isFormula": {},
"textStyle": ""
},
{
"name": "e25265",
"type": "view",
"view": "TOC",
"state": "shared",
"configuration": {}
},
{
"type": "container",
"style": {
"margin-bottom": "2rem"
},
"bgType": "None",
"hAlign": "left",
"margin": [
0,
0,
0,
0
],
"rotate": 0,
"vAlign": "top",
"bgColor": "#ffffff",
"display": "block",
"padding": [
0,
0,
0,
0
],
"bgFileId": 0,
"contents": {
"url": "/view/EditPage",
"text": "Create new Page",
"type": "link",
"block": false,
"link_src": "View",
"nofollow": false,
"isFormula": {
"url": false
},
"link_icon": "fas fa-plus-square",
"textStyle": "",
"link_style": "btn btn-primary",
"target_blank": false
},
"imageSize": "contain",
"isFormula": {},
"minHeight": 0,
"textColor": "#ffffff",
"widthUnit": "px",
"heightUnit": "px",
"htmlElement": "div",
"showForRole": [
null,
true,
null,
null,
true,
null,
null,
null,
true,
null,
false
],
"gradEndColor": "#88ff88",
"setTextColor": false,
"fullPageWidth": false,
"gradDirection": "0",
"minHeightUnit": "px",
"showIfFormula": "",
"gradStartColor": "#ff8888",
"maxScreenWidth": "",
"minScreenWidth": "",
"show_for_owner": false
}
]
},
"min_role": 10,
"menu_label": "Search for...",
"description": "Wiki for Saltcorn",
"fixed_states": {
"a8c7f9": {
"id": 6
},
"fixed_stateforshowpageview": null
},
"root_page_for_roles": []
}
],
"roles": [],
"views": [
{
"name": "EditPage",
"table": "WikiPages",
"min_role": 8,
"menu_label": "Search for...",
"viewtemplate": "Edit",
"configuration": {
"layout": {
"above": [
{
"widths": [
2,
10
],
"besides": [
{
"above": [
null,
{
"font": "",
"type": "blank",
"block": false,
"contents": "Title",
"labelFor": "",
"isFormula": {},
"textStyle": ""
}
]
},
{
"above": [
null,
{
"type": "field",
"fieldview": "edit",
"field_name": "title",
"configuration": {}
}
]
}
],
"breakpoints": [
"",
""
]
},
{
"type": "line_break"
},
{
"widths": [
2,
4,
2,
4
],
"besides": [
{
"font": "",
"icon": "",
"type": "blank",
"block": false,
"contents": "Section",
"labelFor": "",
"isFormula": {},
"textStyle": ""
},
{
"type": "field",
"block": false,
"fieldview": "edit",
"textStyle": "",
"field_name": "section",
"configuration": {}
},
{
"font": "",
"icon": "",
"type": "blank",
"block": false,
"contents": "Order",
"labelFor": "",
"isFormula": {},
"textStyle": ""
},
{
"type": "field",
"block": false,
"fieldview": "edit",
"textStyle": "",
"field_name": "order",
"configuration": {}
}
],
"breakpoints": [
"sm",
"sm"
]
},
{
"type": "line_break"
},
{
"widths": [
2,
10
],
"besides": [
{
"above": [
null,
{
"font": "",
"type": "blank",
"block": false,
"contents": "Contents",
"labelFor": "",
"isFormula": {},
"textStyle": ""
}
]
},
{
"above": [
null,
{
"type": "field",
"fieldview": "CKEditor4",
"field_name": "contents",
"configuration": {}
}
]
}
],
"breakpoints": [
"",
""
]
},
{
"type": "line_break"
},
{
"type": "action",
"block": false,
"rndid": "42a085",
"minRole": 10,
"isFormula": {},
"action_icon": "",
"action_name": "Save",
"action_size": "",
"action_bgcol": "",
"action_label": "",
"action_style": "btn-primary",
"configuration": {},
"action_textcol": "",
"action_bordercol": ""
}
]
},
"columns": [
{
"type": "Field",
"fieldview": "edit",
"field_name": "title",
"configuration": {}
},
{
"type": "Field",
"block": false,
"fieldview": "edit",
"textStyle": "",
"field_name": "section",
"configuration": {}
},
{
"type": "Field",
"block": false,
"fieldview": "edit",
"textStyle": "",
"field_name": "order",
"configuration": {}
},
{
"type": "Field",
"fieldview": "CKEditor4",
"field_name": "contents",
"configuration": {}
},
{
"type": "Action",
"rndid": "42a085",
"minRole": 10,
"isFormula": {},
"action_icon": "",
"action_name": "Save",
"action_size": "",
"action_bgcol": "",
"action_label": "",
"action_style": "btn-primary",
"configuration": {},
"action_textcol": "",
"action_bordercol": ""
}
],
"viewname": "EditPage",
"exttable_name": null,
"view_when_done": "ShowPage",
"formula_destinations": [
{
"view": "Pages",
"expression": ""
}
],
"alternative_destinationsifformulaevaluatestotrue": null
},
"default_render_page": ""
},
{
"name": "Pages",
"table": "WikiPages",
"min_role": 10,
"viewtemplate": "List",
"configuration": {
"columns": [
{
"stat": "Count",
"type": "Field",
"view": "Own:ShowPage",
"fieldview": "as_text",
"field_name": "title",
"join_field": "",
"view_label": "",
"action_name": "Delete",
"agg_relation": ""
},
{
"stat": "Count",
"type": "ViewLink",
"view": "Own:ShowPage",
"fieldview": "as_text",
"field_name": "title",
"join_field": "",
"view_label": "Show",
"action_name": "Delete",
"agg_relation": ""
},
{
"stat": "Count",
"type": "ViewLink",
"view": "Own:EditPage",
"fieldview": "as_text",
"field_name": "title",
"join_field": "",
"view_label": "Edit",
"action_name": "Delete",
"agg_relation": ""
}
],
"viewname": "Pages",
"view_to_create": "EditPage",
"create_view_display": "Link"
},
"default_render_page": null
},
{
"name": "PagesAdmin",
"table": "WikiPages",
"min_role": 1,
"viewtemplate": "List",
"configuration": {
"columns": [
{
"stat": "Count",
"type": "Field",
"view": "Own:ShowPage",
"fieldview": "as_text",
"field_name": "title",
"join_field": "",
"view_label": "",
"action_name": "Delete",
"agg_relation": ""
},
{
"stat": "Count",
"type": "ViewLink",
"view": "Own:EditPage",
"fieldview": "as_text",
"field_name": "title",
"join_field": "",
"view_label": "",
"action_name": "Delete",
"agg_relation": ""
},
{
"stat": "Count",
"type": "Action",
"view": "Own:ShowPage",
"fieldview": "as_text",
"field_name": "title",
"join_field": "",
"view_label": "",
"action_name": "Delete",
"agg_relation": ""
}
],
"viewname": "PagesAdmin",
"view_to_create": "EditPage",
"create_view_display": "Link"
},
"default_render_page": null
},
{
"name": "ShowPage",
"table": "WikiPages",
"min_role": 10,
"viewtemplate": "Show",
"configuration": {
"layout": {
"above": [
{
"type": "field",
"fieldview": "as_text",
"textStyle": "h1",
"field_name": "title"
},
{
"type": "field",
"block": true,
"fieldview": "showAll",
"field_name": "contents"
},
{
"type": "view_link",
"view": "Own:EditPage",
"block": true,
"minRole": "4",
"isFormula": {}
}
]
},
"columns": [
{
"type": "Field",
"fieldview": "as_text",
"field_name": "title"
},
{
"type": "Field",
"fieldview": "showAll",
"field_name": "contents"
},
{
"type": "ViewLink",
"view": "Own:EditPage",
"minRole": "4"
}
],
"viewname": "ShowPage",
"page_title": "title",
"page_title_formula": true
},
"default_render_page": ""
},
{
"name": "TOC",
"table": "WikiPages",
"min_role": 10,
"viewtemplate": "Table of Contents",
"configuration": {
"url_fml": "'/view/ShowPage?title='+encodeURIComponent(title)",
"viewname": "TOC",
"label_fml": "title",
"include_fml": "",
"order_field": "order",
"exttable_name": null,
"section_field": "section"
},
"default_render_page": ""
}
],
"tables": [
{
"name": "WikiPages",
"fields": [
{
"name": "contents",
"type": "HTML",
"label": "Contents",
"stored": false,
"required": true,
"is_unique": false,
"attributes": {},
"calculated": false,
"expression": null,
"description": "",
"primary_key": false
},
{
"name": "id",
"type": "Integer",
"label": "ID",
"stored": false,
"required": true,
"is_unique": true,
"attributes": {},
"calculated": false,
"expression": null,
"description": "",
"primary_key": true
},
{
"name": "order",
"type": "Integer",
"label": "order",
"stored": false,
"required": false,
"is_unique": false,
"attributes": {
"max": null,
"min": null
},
"calculated": false,
"expression": null,
"description": "",
"primary_key": false
},
{
"name": "section",
"type": "String",
"label": "Section",
"stored": false,
"required": false,
"is_unique": false,
"attributes": {
"locale": null,
"regexp": "",
"options": "Introduction,Installation,Overview, Data model, User Interface, Events and Actions, Administration, Tutorials, Operating, Development",
"max_length": null,
"min_length": null,
"localizes_field": "",
"re_invalid_error": ""
},
"calculated": false,
"expression": null,
"description": "",
"primary_key": false
},
{
"name": "title",
"type": "String",
"label": "Title",
"stored": false,
"required": true,
"is_unique": true,
"attributes": {
"options": ""
},
"calculated": false,
"expression": null,
"description": "",
"primary_key": false
}
],
"versioned": true,
"constraints": [],
"min_role_read": 10,
"min_role_write": 8,
"ownership_formula": null,
"ownership_field_name": null
}
],
"library": [],
"plugins": [
{
"name": "base",
"source": "npm",
"location": "@saltcorn/base-plugin",
"configuration": null,
"deploy_private_key": null
},
{
"name": "sbadmin2",
"source": "npm",
"location": "@saltcorn/sbadmin2",
"configuration": null,
"deploy_private_key": null
},
{
"name": "markdown",
"source": "npm",
"location": "@saltcorn/markdown",
"configuration": null,
"deploy_private_key": null
},
{
"name": "ckeditor4",
"source": "npm",
"location": "@saltcorn/ckeditor4",
"configuration": null,
"deploy_private_key": null
},
{
"name": "toc",
"source": "npm",
"location": "@saltcorn/toc",
"configuration": null,
"deploy_private_key": null
},
{
"name": "any-bootstrap-theme",
"source": "npm",
"location": "@saltcorn/any-bootstrap-theme",
"configuration": {
"fluid": true,
"theme": "flatly",
"toppad": 2,
"css_url": null,
"in_card": false,
"css_file": null,
"fixedTop": false,
"menu_style": "Side Navbar",
"colorscheme": "navbar-dark bg-primary",
"css_integrity": null,
"backgroundColor": "#ffffff"
},
"deploy_private_key": null
},
{
"name": "@saltcorn/html",
"source": "npm",
"location": "@saltcorn/html",
"configuration": null,
"deploy_private_key": null
}
],
"triggers": []
}