App weiterentwickelt

This commit is contained in:
2026-08-06 08:20:32 +00:00
parent 94fae5ebfe
commit 4d232d718f
21 changed files with 717 additions and 32 deletions
@@ -1,12 +1,12 @@
{
"gitSyncId": "6a5602cf6665afa2c813ec43_76c6357a-3141-40f7-a4e6-c25577a89efb",
"unpublishedPage": {
"isHidden": false,
"isHidden": true,
"layouts": [
{
"dsl": {
"backgroundColor": "none",
"bottomRow": 600,
"bottomRow": 590,
"canExtend": true,
"containerStyle": "none",
"detachFromLayout": true,
@@ -0,0 +1 @@
SELECT * FROM Bildschirmbuchung;
@@ -0,0 +1,31 @@
{
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_0b0f7f14-55be-4541-ac6f-a7d8ed29fbe4",
"id": "Mobiler Bildschirm_Query1",
"pluginId": "mysql-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "SELECT * FROM Bildschirmbuchung;",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": true
}
],
"timeoutInMillisecond": 10000
},
"confirmBeforeExecute": false,
"datasource": {
"id": "MySQL Bürobuchungen",
"isAutoGenerated": false,
"name": "MySQL Bürobuchungen",
"pluginId": "mysql-plugin"
},
"dynamicBindingPathList": [],
"name": "Query1",
"pageId": "Mobiler Bildschirm",
"runBehaviour": "AUTOMATIC",
"userSetOnLoad": false
}
}
@@ -0,0 +1,7 @@
INSERT INTO Bildschirmbuchung (Name, Von, Bis, Wo)
VALUES (
{{ Input1.text }},
{{ moment(DatePicker2.formattedDate, "DD/MM/YYYY").format("YYYY-MM-DD") }},
{{ moment(Datepicker1.formattedDate, "DD/MM/YYYY").format("YYYY-MM-DD") }},
{{ Input2.text }}
);
@@ -0,0 +1,35 @@
{
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_111fe4c2-ada2-4d2c-8fb7-fdaed3b8de8a",
"id": "Mobiler Bildschirm_Query2",
"pluginId": "mysql-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "INSERT INTO Bildschirmbuchung (Name, Von, Bis, Wo)\nVALUES (\n {{ Input1.text }},\n {{ moment(DatePicker2.formattedDate, \"DD/MM/YYYY\").format(\"YYYY-MM-DD\") }},\n {{ moment(Datepicker1.formattedDate, \"DD/MM/YYYY\").format(\"YYYY-MM-DD\") }},\n {{ Input2.text }}\n);",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": true
}
],
"timeoutInMillisecond": 10000
},
"confirmBeforeExecute": false,
"datasource": {
"id": "MySQL Bürobuchungen",
"isAutoGenerated": false,
"name": "MySQL Bürobuchungen",
"pluginId": "mysql-plugin"
},
"dynamicBindingPathList": [
{
"key": "body"
}
],
"name": "Query2",
"pageId": "Mobiler Bildschirm",
"runBehaviour": "MANUAL",
"userSetOnLoad": false
}
}
@@ -1,7 +1,7 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 36,
"bottomRow": 47,
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"buttonVariant": "PRIMARY",
@@ -14,19 +14,24 @@
"key": "borderRadius"
}
],
"dynamicTriggerPathList": [],
"dynamicTriggerPathList": [
{
"key": "onClick"
}
],
"isDefaultClickDisabled": true,
"isDisabled": false,
"isLoading": false,
"isVisible": true,
"key": "6r0rws2j8m",
"leftColumn": 32,
"leftColumn": 33,
"minWidth": 120,
"mobileBottomRow": 37,
"mobileLeftColumn": 46,
"mobileRightColumn": 62,
"mobileTopRow": 33,
"needsErrorInfo": false,
"onClick": "{{storeValue(\"\", \"\")}}",
"originalBottomRow": 37,
"originalTopRow": 33,
"parentId": "8sfhwbqixh",
@@ -35,10 +40,10 @@
"renderMode": "CANVAS",
"resetFormOnClick": true,
"responsiveBehavior": "hug",
"rightColumn": 61,
"rightColumn": 62,
"text": "Speichern",
"tooltip": "",
"topRow": 32,
"topRow": 43,
"type": "BUTTON_WIDGET",
"version": 1,
"widgetId": "et3nyyoger",
@@ -1,7 +1,7 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 36,
"bottomRow": 47,
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"buttonVariant": "SECONDARY",
@@ -20,7 +20,7 @@
"isLoading": false,
"isVisible": true,
"key": "6r0rws2j8m",
"leftColumn": 2,
"leftColumn": 3,
"minWidth": 120,
"mobileBottomRow": 37,
"mobileLeftColumn": 30,
@@ -35,9 +35,9 @@
"renderMode": "CANVAS",
"resetFormOnClick": true,
"responsiveBehavior": "hug",
"rightColumn": 31,
"rightColumn": 32,
"text": "Abbrechen",
"topRow": 32,
"topRow": 43,
"type": "BUTTON_WIDGET",
"version": 1,
"widgetId": "ewhatlmjfw",
@@ -5,7 +5,7 @@
"bottomRow": 25,
"boxShadow": "none",
"closeOnSelection": true,
"dateFormat": "YYYY-MM-DD HH:mm",
"dateFormat": "DD-MM-YYYY",
"datePickerType": "DATE_PICKER",
"defaultDate": "2026-07-24T08:17:03.283Z",
"dynamicBindingPathList": [
@@ -32,7 +32,7 @@
"leftColumn": 2,
"maxDate": "2121-12-31T18:29:00.000Z",
"maxDynamicHeight": 9000,
"minDate": "1920-12-31T18:30:00.000Z",
"minDate": "2022-12-22T19:30:00.000+01:00",
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 19,
@@ -49,7 +49,7 @@
"responsiveBehavior": "fill",
"rightColumn": 54,
"shortcuts": false,
"timePrecision": "minute",
"timePrecision": "None",
"topRow": 18,
"type": "DATE_PICKER_WIDGET2",
"version": 2,
@@ -5,7 +5,7 @@
"bottomRow": 18,
"boxShadow": "none",
"closeOnSelection": true,
"dateFormat": "YYYY-MM-DD HH:mm",
"dateFormat": "DD/MM/YYYY",
"datePickerType": "DATE_PICKER",
"defaultDate": "2026-07-24T08:17:03.283Z",
"dynamicBindingPathList": [
@@ -4,12 +4,12 @@
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": "1",
"bottomRow": 51,
"bottomRow": 59,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"children": [
{
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 420,
"bottomRow": 500,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"canExtend": false,
"containerStyle": "none",
@@ -81,7 +81,7 @@
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 63,
"shouldScrollContents": true,
"shouldScrollContents": false,
"topRow": 9,
"type": "FORM_WIDGET",
"widgetId": "umbpnh5dz1",
@@ -52,5 +52,5 @@
"type": "INPUT_WIDGET_V2",
"version": 2,
"widgetId": "enr8kmqeox",
"widgetName": "Input1Copy"
"widgetName": "Input2"
}
+300 -10
View File
@@ -1,10 +1,11 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"allowAddNewRow": false,
"animateLoading": true,
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": "1",
"bottomRow": 60,
"bottomRow": 59,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"cachedTableData": {},
"canFreezeColumn": true,
@@ -31,8 +32,15 @@
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"columnOrder": [],
"columnUpdatedAt": 1785406305811,
"columnOrder": [
"ID",
"Name",
"Von",
"Bis",
"Wo",
"EditActions1"
],
"columnUpdatedAt": 1785841525712,
"columnWidthMap": {},
"customIsLoading": false,
"customIsLoadingValue": "",
@@ -51,21 +59,79 @@
},
{
"key": "boxShadow"
},
{
"key": "totalRecordsCount"
},
{
"key": "primaryColumns.EditActions1.saveButtonColor"
},
{
"key": "primaryColumns.EditActions1.saveBorderRadius"
},
{
"key": "primaryColumns.EditActions1.discardBorderRadius"
},
{
"key": "primaryColumns.EditActions1.isSaveDisabled"
},
{
"key": "primaryColumns.EditActions1.isDiscardDisabled"
},
{
"key": "primaryColumns.ID.computedValue"
},
{
"key": "primaryColumns.Name.computedValue"
},
{
"key": "primaryColumns.Von.computedValue"
},
{
"key": "primaryColumns.Bis.computedValue"
},
{
"key": "primaryColumns.Wo.computedValue"
},
{
"key": "tableData"
}
],
"dynamicPropertyPathList": [
{
"key": "primaryColumns.EditActions1.isSaveDisabled"
},
{
"key": "primaryColumns.EditActions1.isDiscardDisabled"
}
],
"dynamicTriggerPathList": [
{
"key": "onPageChange"
},
{
"key": "onSort"
},
{
"key": "onAddNewRowSave"
},
{
"key": "primaryColumns.EditActions1.onSave"
}
],
"dynamicPropertyPathList": [],
"enableClientSideSearch": true,
"endOfData": false,
"flexVerticalAlignment": "start",
"horizontalAlignment": "LEFT",
"infiniteScrollEnabled": true,
"inlineEditingSaveOption": "ROW_LEVEL",
"isLoading": false,
"isSortable": true,
"isSortable": false,
"isVisible": true,
"isVisibleDownload": true,
"isVisibleDownload": false,
"isVisibleFilters": false,
"isVisiblePagination": true,
"isVisibleSearch": true,
"isVisibleSearch": false,
"key": "fsh5fgc5ew",
"label": "Data",
"leftColumn": 1,
@@ -75,18 +141,242 @@
"mobileRightColumn": 39,
"mobileTopRow": 10,
"needsErrorInfo": false,
"onAddNewRowSave": "{{Insert_Bildschirmbuchung1.run(() => {\n showAlert(\"Successfully created!\");\n Select_Bildschirmbuchung1.run()\n }, () => {\n showAlert(\"Unable to create!\");\n })}}",
"onPageChange": "{{\n Select_Bildschirmbuchung1.run();\n Total_record_Bildschirmbuchung1.run()\n }}",
"onSort": "{{\n Select_Bildschirmbuchung1.run();\n Total_record_Bildschirmbuchung1.run()\n }}",
"parentColumnSpace": 25.390625,
"parentId": "0",
"parentRowSpace": 10,
"primaryColumns": {},
"primaryColumnId": "ID",
"primaryColumns": {
"Bis": {
"alias": "Bis",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "date",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Bis\"])) : Bis })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Bis",
"index": 3,
"inputFormat": "YYYY-MM-DD HH:mm",
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Bis",
"notation": "standard",
"originalId": "Bis",
"outputFormat": "DD/MM/YYYY",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"EditActions1": {
"alias": "EditActions1",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"buttonStyle": "rgb(3, 179, 101)",
"columnType": "editActions",
"computedValue": "",
"currencyCode": "USD",
"decimals": 0,
"discardActionLabel": "Discard",
"discardBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}",
"discardButtonColor": "#F22B2B",
"discardButtonVariant": "TERTIARY",
"discardIconAlign": "left",
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "EditActions1",
"index": 0,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": true,
"isDisabled": false,
"isDiscardDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}",
"isDiscardVisible": true,
"isEditable": false,
"isSaveDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}",
"isSaveVisible": true,
"isVisible": false,
"label": "Save / Discard",
"notation": "standard",
"onSave": "{{Update_Bildschirmbuchung1.run(() => {\n showAlert(\"Successfully saved!\");\n Select_Bildschirmbuchung1.run()\n }, () => {\n showAlert(\"Unable to save!\");\n })}}",
"originalId": "EditActions1",
"saveActionLabel": "Save",
"saveBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}",
"saveButtonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}",
"saveIconAlign": "left",
"sticky": "right",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"ID": {
"alias": "ID",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "number",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"ID\"])) : ID })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "ID",
"index": 0,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": false,
"label": "ID",
"notation": "standard",
"originalId": "ID",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Name": {
"alias": "Name",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Name\"])) : Name })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Name",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Name",
"notation": "standard",
"originalId": "Name",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Von": {
"alias": "Von",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "date",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Von\"])) : Von })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Von",
"index": 2,
"inputFormat": "YYYY-MM-DDTHH:mm:ss",
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Von",
"notation": "standard",
"originalId": "Von",
"outputFormat": "DD/MM/YYYY",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Wo": {
"alias": "Wo",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Wo\"])) : Wo })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Wo",
"index": 4,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Wo",
"notation": "standard",
"originalId": "Wo",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
}
},
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 46,
"searchKey": "",
"tableData": "",
"serverSidePaginationEnabled": true,
"tableData": "{{Query1.data}}",
"textSize": "0.875rem",
"topRow": 9,
"totalRecordsCount": 0,
"totalRecordsCount": "{{Total_record_Bildschirmbuchung1.data[0].count}}",
"type": "TABLE_WIDGET_V2",
"version": 2,
"verticalAlignment": "CENTER",