Base layout and base statistics pages
This commit is contained in:
33
pages/Sales/Sales.json
Normal file
33
pages/Sales/Sales.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"gitSyncId": "6806a8bdc0c8882e5a70d0a0_9043b637-52ad-46a6-aeaf-e5d6bd81183b",
|
||||
"unpublishedPage": {
|
||||
"isHidden": false,
|
||||
"layouts": [
|
||||
{
|
||||
"dsl": {
|
||||
"backgroundColor": "none",
|
||||
"bottomRow": 1080,
|
||||
"canExtend": true,
|
||||
"containerStyle": "none",
|
||||
"detachFromLayout": true,
|
||||
"dynamicBindingPathList": [],
|
||||
"dynamicTriggerPathList": [],
|
||||
"leftColumn": 0,
|
||||
"minHeight": 1292,
|
||||
"parentColumnSpace": 1,
|
||||
"parentRowSpace": 1,
|
||||
"rightColumn": 4896,
|
||||
"snapColumns": 64,
|
||||
"snapRows": 124,
|
||||
"topRow": 0,
|
||||
"type": "CANVAS_WIDGET",
|
||||
"version": 94,
|
||||
"widgetId": "0",
|
||||
"widgetName": "MainContainer"
|
||||
}
|
||||
}
|
||||
],
|
||||
"name": "Sales",
|
||||
"slug": "sales"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
select * from mpe.poormancapacity;
|
||||
31
pages/Sales/queries/capacity_display_all/metadata.json
Normal file
31
pages/Sales/queries/capacity_display_all/metadata.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"gitSyncId": "6968b6e8271e5e0befde3194_eeefcf86-aa72-417c-8e6c-bebacc100964",
|
||||
"id": "Sales_capacity_display_all",
|
||||
"pluginId": "postgres-plugin",
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "select * from mpe.poormancapacity;",
|
||||
"encodeParamsToggle": true,
|
||||
"paginationType": "NONE",
|
||||
"pluginSpecifiedTemplates": [
|
||||
{
|
||||
"value": true
|
||||
}
|
||||
],
|
||||
"timeoutInMillisecond": 10000
|
||||
},
|
||||
"confirmBeforeExecute": false,
|
||||
"datasource": {
|
||||
"id": "xTuple_Sandbox",
|
||||
"isAutoGenerated": false,
|
||||
"name": "xTuple_Sandbox",
|
||||
"pluginId": "postgres-plugin"
|
||||
},
|
||||
"dynamicBindingPathList": [],
|
||||
"name": "capacity_display_all",
|
||||
"pageId": "Sales",
|
||||
"runBehaviour": "AUTOMATIC",
|
||||
"userSetOnLoad": false
|
||||
}
|
||||
}
|
||||
52
pages/Sales/widgets/Heading.json
Normal file
52
pages/Sales/widgets/Heading.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 7,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "truncateButtonColor"
|
||||
},
|
||||
{
|
||||
"key": "fontFamily"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicHeight": "AUTO_HEIGHT",
|
||||
"dynamicTriggerPathList": [],
|
||||
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
|
||||
"fontSize": "1.875rem",
|
||||
"fontStyle": "BOLD",
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "pii8e5rbru",
|
||||
"leftColumn": 1,
|
||||
"maxDynamicHeight": 9000,
|
||||
"minDynamicHeight": 4,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 5,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 17,
|
||||
"mobileTopRow": 1,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 7,
|
||||
"originalTopRow": 2,
|
||||
"overflow": "NONE",
|
||||
"parentColumnSpace": 25.109375,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 17,
|
||||
"shouldTruncate": false,
|
||||
"text": "Sales / Capacity Planning",
|
||||
"textAlign": "LEFT",
|
||||
"textColor": "#231F20",
|
||||
"topRow": 2,
|
||||
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"type": "TEXT_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "mt8rmbyqnn",
|
||||
"widgetName": "Heading"
|
||||
}
|
||||
93
pages/Sales/widgets/Navigation.json
Normal file
93
pages/Sales/widgets/Navigation.json
Normal file
@@ -0,0 +1,93 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 13,
|
||||
"boxShadow": "none",
|
||||
"buttonVariant": "PRIMARY",
|
||||
"childStylesheet": {
|
||||
"button": {
|
||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
}
|
||||
},
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "borderRadius"
|
||||
},
|
||||
{
|
||||
"key": "groupButtons.groupButton3.buttonColor"
|
||||
}
|
||||
],
|
||||
"dynamicTriggerPathList": [
|
||||
{
|
||||
"key": "groupButtons.groupButton1.onClick"
|
||||
},
|
||||
{
|
||||
"key": "groupButtons.groupButton3.onClick"
|
||||
}
|
||||
],
|
||||
"groupButtons": {
|
||||
"groupButton1": {
|
||||
"buttonColor": "#d4d4d8",
|
||||
"buttonType": "SIMPLE",
|
||||
"disabledWhenInvalid": false,
|
||||
"iconAlign": "right",
|
||||
"id": "groupButton1",
|
||||
"index": 0,
|
||||
"isDisabled": false,
|
||||
"isVisible": true,
|
||||
"label": "Capacity Planning",
|
||||
"menuItems": {},
|
||||
"onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}",
|
||||
"placement": "CENTER",
|
||||
"widgetId": ""
|
||||
},
|
||||
"groupButton3": {
|
||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"buttonType": "SIMPLE",
|
||||
"disabledWhenInvalid": false,
|
||||
"id": "groupButton3",
|
||||
"index": 1,
|
||||
"isDisabled": false,
|
||||
"isVisible": true,
|
||||
"label": "Units Shipped",
|
||||
"menuItems": {
|
||||
"menuItemr01yri5nag": {
|
||||
"id": "menuItemr01yri5nag",
|
||||
"index": 0,
|
||||
"isDisabled": false,
|
||||
"isVisible": true,
|
||||
"label": "Menu Item",
|
||||
"widgetId": "z3w4r50nta"
|
||||
}
|
||||
},
|
||||
"onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}",
|
||||
"placement": "CENTER",
|
||||
"widgetId": ""
|
||||
}
|
||||
},
|
||||
"isCanvas": false,
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "f10t84z5gq",
|
||||
"leftColumn": 1,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 12,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 25,
|
||||
"mobileTopRow": 8,
|
||||
"needsErrorInfo": false,
|
||||
"orientation": "horizontal",
|
||||
"originalBottomRow": 13,
|
||||
"originalTopRow": 9,
|
||||
"parentColumnSpace": 25.109375,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 25,
|
||||
"topRow": 9,
|
||||
"type": "BUTTON_GROUP_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "6tlhfmvijp",
|
||||
"widgetName": "Navigation"
|
||||
}
|
||||
244
pages/Sales/widgets/Table1.json
Normal file
244
pages/Sales/widgets/Table1.json
Normal file
@@ -0,0 +1,244 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderColor": "#E0DEDE",
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"borderWidth": "1",
|
||||
"bottomRow": 99,
|
||||
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
|
||||
"cachedTableData": {},
|
||||
"canFreezeColumn": true,
|
||||
"childStylesheet": {
|
||||
"button": {
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"boxShadow": "none",
|
||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
},
|
||||
"editActions": {
|
||||
"discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"saveButtonColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
},
|
||||
"iconButton": {
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"boxShadow": "none",
|
||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
},
|
||||
"menuButton": {
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"boxShadow": "none",
|
||||
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
|
||||
}
|
||||
},
|
||||
"columnOrder": [
|
||||
"line_type",
|
||||
"start_date",
|
||||
"end_date",
|
||||
"used_blocks"
|
||||
],
|
||||
"columnUpdatedAt": 1768910474559,
|
||||
"columnWidthMap": {},
|
||||
"compactMode": "DEFAULT",
|
||||
"customIsLoading": false,
|
||||
"customIsLoadingValue": "",
|
||||
"defaultPageSize": 0,
|
||||
"defaultSelectedRowIndex": 0,
|
||||
"defaultSelectedRowIndices": [
|
||||
0
|
||||
],
|
||||
"delimiter": ",",
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "accentColor"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
},
|
||||
{
|
||||
"key": "boxShadow"
|
||||
},
|
||||
{
|
||||
"key": "tableData"
|
||||
},
|
||||
{
|
||||
"key": "primaryColumns.line_type.computedValue"
|
||||
},
|
||||
{
|
||||
"key": "primaryColumns.start_date.computedValue"
|
||||
},
|
||||
{
|
||||
"key": "primaryColumns.end_date.computedValue"
|
||||
},
|
||||
{
|
||||
"key": "primaryColumns.used_blocks.computedValue"
|
||||
}
|
||||
],
|
||||
"dynamicPropertyPathList": [],
|
||||
"dynamicTriggerPathList": [],
|
||||
"enableClientSideSearch": true,
|
||||
"endOfData": false,
|
||||
"flexVerticalAlignment": "start",
|
||||
"horizontalAlignment": "LEFT",
|
||||
"inlineEditingSaveOption": "ROW_LEVEL",
|
||||
"isLoading": false,
|
||||
"isSortable": true,
|
||||
"isVisible": true,
|
||||
"isVisibleDownload": true,
|
||||
"isVisibleFilters": false,
|
||||
"isVisiblePagination": true,
|
||||
"isVisibleSearch": true,
|
||||
"key": "o9k9wp97q1",
|
||||
"label": "Data",
|
||||
"leftColumn": 1,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 31,
|
||||
"mobileLeftColumn": 1,
|
||||
"mobileRightColumn": 35,
|
||||
"mobileTopRow": 3,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 99,
|
||||
"originalTopRow": 15,
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"primaryColumns": {
|
||||
"end_date": {
|
||||
"alias": "end_date",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "date",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"end_date\"])) : end_date })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "end_date",
|
||||
"index": 2,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "end_date",
|
||||
"notation": "standard",
|
||||
"originalId": "end_date",
|
||||
"sticky": "",
|
||||
"textSize": "0.875rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"line_type": {
|
||||
"alias": "line_type",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "text",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"line_type\"])) : line_type })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "line_type",
|
||||
"index": 0,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "line_type",
|
||||
"notation": "standard",
|
||||
"originalId": "line_type",
|
||||
"sticky": "",
|
||||
"textSize": "0.875rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"start_date": {
|
||||
"alias": "start_date",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "date",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"start_date\"])) : start_date })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "start_date",
|
||||
"index": 1,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "start_date",
|
||||
"notation": "standard",
|
||||
"originalId": "start_date",
|
||||
"sticky": "",
|
||||
"textSize": "0.875rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"used_blocks": {
|
||||
"alias": "used_blocks",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "number",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"used_blocks\"])) : used_blocks })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "used_blocks",
|
||||
"index": 3,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "used_blocks",
|
||||
"notation": "standard",
|
||||
"originalId": "used_blocks",
|
||||
"sticky": "",
|
||||
"textSize": "0.875rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
}
|
||||
},
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 63,
|
||||
"searchKey": "",
|
||||
"tableData": "{{capacity_display_all.data}}",
|
||||
"textSize": "0.875rem",
|
||||
"topRow": 15,
|
||||
"totalRecordsCount": 0,
|
||||
"type": "TABLE_WIDGET_V2",
|
||||
"version": 2,
|
||||
"verticalAlignment": "CENTER",
|
||||
"widgetId": "7i9t3ugouj",
|
||||
"widgetName": "Table1"
|
||||
}
|
||||
Reference in New Issue
Block a user