Name
French Vocabulary

Description
Flash cards with French-English dictionary

Pack
{
  "pages": [
    {
      "name": "Flash",
      "title": "",
      "layout": {
        "widths": [
          2,
          10
        ],
        "besides": [
          {
            "name": "972664",
            "type": "view",
            "view": "Filter",
            "state": "shared"
          },
          {
            "name": "c81cb3",
            "type": "view",
            "view": "Flash",
            "state": "shared"
          }
        ]
      },
      "min_role": 1,
      "description": "",
      "fixed_states": {},
      "root_page_for_roles": [
        "admin",
        "staff",
        "user",
        "public"
      ]
    }
  ],
  "views": [
    {
      "name": "Flash",
      "table": "words",
      "min_role": 10,
      "on_root_page": false,
      "viewtemplate": "Flash cards",
      "configuration": {
        "viewname": "Flash",
        "back_view": "English",
        "after_back": "next",
        "front_view": "French"
      },
      "default_render_page": ""
    },
    {
      "name": "French",
      "table": "words",
      "min_role": 10,
      "on_root_page": false,
      "viewtemplate": "Show",
      "configuration": {
        "layout": {
          "type": "card",
          "contents": {
            "type": "container",
            "block": true,
            "width": "500",
            "bgType": "None",
            "hAlign": "center",
            "height": "300",
            "vAlign": "middle",
            "bgColor": "#ffffff",
            "contents": {
              "type": "field",
              "fieldview": "as_text",
              "textStyle": "h2",
              "field_name": "french"
            },
            "imageSize": "contain",
            "isFormula": {},
            "textColor": "#ffffff",
            "borderStyle": "solid",
            "showForRole": []
          },
          "isFormula": {}
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "french"
          }
        ],
        "viewname": "French"
      },
      "default_render_page": ""
    },
    {
      "name": "Filter",
      "table": "words",
      "min_role": 10,
      "on_root_page": false,
      "viewtemplate": "Filter",
      "configuration": {
        "layout": {
          "above": [
            {
              "type": "blank",
              "contents": "Difficulty",
              "isFormula": {}
            },
            {
              "type": "line_break"
            },
            {
              "type": "dropdown_filter",
              "field_name": "difficulty"
            }
          ]
        },
        "columns": [
          {
            "type": "DropDownFilter",
            "field_name": "difficulty"
          }
        ],
        "viewname": "Filter"
      },
      "default_render_page": ""
    },
    {
      "name": "English",
      "table": "words",
      "min_role": 10,
      "on_root_page": false,
      "viewtemplate": "Show",
      "configuration": {
        "layout": {
          "type": "card",
          "contents": {
            "type": "container",
            "block": true,
            "width": "500",
            "bgType": "None",
            "hAlign": "center",
            "height": "300",
            "vAlign": "middle",
            "bgColor": "#ffffff",
            "contents": {
              "above": [
                {
                  "type": "field",
                  "block": true,
                  "fieldview": "as_text",
                  "textStyle": "h2",
                  "field_name": "english"
                },
                {
                  "type": "container",
                  "block": true,
                  "width": "30",
                  "bgType": "None",
                  "hAlign": "left",
                  "vAlign": "top",
                  "bgColor": "#ffffff",
                  "imageSize": "contain",
                  "isFormula": {},
                  "textColor": "#ffffff",
                  "borderStyle": "solid",
                  "showForRole": []
                },
                {
                  "type": "container",
                  "block": true,
                  "bgType": "None",
                  "hAlign": "left",
                  "vAlign": "top",
                  "bgColor": "#ffffff",
                  "contents": {
                    "above": [
                      {
                        "type": "field",
                        "block": true,
                        "fieldview": "as_text",
                        "field_name": "french"
                      },
                      {
                        "type": "field",
                        "block": true,
                        "fieldview": "as_text",
                        "field_name": "part"
                      }
                    ]
                  },
                  "imageSize": "contain",
                  "isFormula": {},
                  "textColor": "#ffffff",
                  "borderStyle": "solid",
                  "showForRole": []
                }
              ]
            },
            "imageSize": "contain",
            "isFormula": {},
            "textColor": "#ffffff",
            "borderStyle": "solid",
            "showForRole": []
          },
          "isFormula": {}
        },
        "columns": [
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "english"
          },
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "french"
          },
          {
            "type": "Field",
            "fieldview": "as_text",
            "field_name": "part"
          }
        ],
        "viewname": "English"
      },
      "default_render_page": ""
    }
  ],
  "tables": [
    {
      "name": "words",
      "fields": [
        {
          "name": "english",
          "type": "String",
          "label": "english",
          "stored": false,
          "required": false,
          "is_unique": false,
          "attributes": {
            "regexp": "",
            "options": "",
            "max_length": null,
            "min_length": null,
            "re_invalid_error": ""
          },
          "calculated": false,
          "expression": null
        },
        {
          "name": "french",
          "type": "String",
          "label": "french",
          "stored": false,
          "required": false,
          "is_unique": false,
          "attributes": {
            "regexp": "",
            "options": "",
            "max_length": null,
            "min_length": null,
            "re_invalid_error": ""
          },
          "calculated": false,
          "expression": null
        },
        {
          "name": "rank",
          "type": "Integer",
          "label": "rank",
          "stored": false,
          "required": false,
          "is_unique": false,
          "attributes": {
            "max": null,
            "min": null
          },
          "calculated": false,
          "expression": null
        },
        {
          "name": "part",
          "type": "String",
          "label": "part",
          "stored": false,
          "required": false,
          "is_unique": false,
          "attributes": {
            "regexp": "",
            "options": "",
            "max_length": null,
            "min_length": null,
            "re_invalid_error": ""
          },
          "calculated": false,
          "expression": null
        },
        {
          "name": "difficulty",
          "type": "String",
          "label": "difficulty",
          "stored": false,
          "required": false,
          "is_unique": false,
          "attributes": {
            "regexp": "",
            "options": "Easiest,Easy,Medium,Hard",
            "max_length": null,
            "min_length": null,
            "re_invalid_error": ""
          },
          "calculated": false,
          "expression": null
        }
      ],
      "triggers": [],
      "versioned": false,
      "constraints": [],
      "min_role_read": 1,
      "min_role_write": 1
    }
  ],
  "plugins": [
    {
      "name": "any-bootstrap-theme",
      "source": "npm",
      "location": "@saltcorn/any-bootstrap-theme"
    },
    {
      "name": "flash-cards",
      "source": "npm",
      "location": "@saltcorn/flash-cards"
    }
  ]
}