Changes
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
{
|
||||
"dsl": {
|
||||
"backgroundColor": "none",
|
||||
"bottomRow": 690,
|
||||
"bottomRow": 780,
|
||||
"canExtend": true,
|
||||
"containerStyle": "none",
|
||||
"detachFromLayout": true,
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
UPDATE Sitzplätze
|
||||
SET status = 'belegt'
|
||||
WHERE id = '{{Custom4.model.selectedSeat.id}}'
|
||||
AND status = 'frei';
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_a4b30cc2-55bd-48f3-a541-3934d1b76d01",
|
||||
"id": "Sitzplätze_BookSeatSQL",
|
||||
"pluginId": "mysql-plugin",
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "UPDATE Sitzplätze\nSET status = 'belegt'\nWHERE id = '{{Custom4.model.selectedSeat.id}}'\n AND status = 'frei';",
|
||||
"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": "BookSeatSQL",
|
||||
"pageId": "Sitzplätze",
|
||||
"runBehaviour": "MANUAL",
|
||||
"userSetOnLoad": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
SELECT
|
||||
id,
|
||||
name,
|
||||
x,
|
||||
y,
|
||||
'frei' AS status
|
||||
FROM `Sitzplätze`
|
||||
WHERE active = 1
|
||||
ORDER BY id;
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_f265940c-0c70-481a-b898-eb6387ee3efa",
|
||||
"id": "Sitzplätze_GetSeats",
|
||||
"pluginId": "mysql-plugin",
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "SELECT\n id,\n name,\n x,\n y,\n 'frei' AS status\nFROM `Sitzplätze`\nWHERE active = 1\nORDER BY id;",
|
||||
"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": "GetSeats",
|
||||
"pageId": "Sitzplätze",
|
||||
"runBehaviour": "ON_PAGE_LOAD",
|
||||
"userSetOnLoad": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
SELECT * FROM Bildschirmbuchung LIMIT 10;
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"gitSyncId": "6a6b5b477ebc9edeca96e2f8_766cb29a-c15e-4c36-a828-dda8c3fb28eb",
|
||||
"id": "Sitzplätze_Query1",
|
||||
"pluginId": "mysql-plugin",
|
||||
"pluginType": "DB",
|
||||
"unpublishedAction": {
|
||||
"actionConfiguration": {
|
||||
"body": "SELECT * FROM Bildschirmbuchung LIMIT 10;",
|
||||
"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"
|
||||
},
|
||||
"name": "Query1",
|
||||
"pageId": "Sitzplätze",
|
||||
"runBehaviour": "MANUAL",
|
||||
"userSetOnLoad": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"animateLoading": true,
|
||||
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
|
||||
"bottomRow": 18,
|
||||
"boxShadow": "none",
|
||||
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"buttonVariant": "PRIMARY",
|
||||
"disabledWhenInvalid": false,
|
||||
"dynamicBindingPathList": [
|
||||
{
|
||||
"key": "buttonColor"
|
||||
},
|
||||
{
|
||||
"key": "borderRadius"
|
||||
}
|
||||
],
|
||||
"dynamicPropertyPathList": [],
|
||||
"dynamicTriggerPathList": [
|
||||
{
|
||||
"key": "onClick"
|
||||
}
|
||||
],
|
||||
"isDefaultClickDisabled": true,
|
||||
"isDisabled": false,
|
||||
"isLoading": false,
|
||||
"isVisible": true,
|
||||
"key": "tm4ganyf72",
|
||||
"leftColumn": 2,
|
||||
"minWidth": 120,
|
||||
"mobileBottomRow": 18,
|
||||
"mobileLeftColumn": 2,
|
||||
"mobileRightColumn": 18,
|
||||
"mobileTopRow": 14,
|
||||
"needsErrorInfo": false,
|
||||
"onClick": "{{showModal(Modal1.name);}}",
|
||||
"parentColumnSpace": 25.390625,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"placement": "CENTER",
|
||||
"recaptchaType": "V3",
|
||||
"renderMode": "CANVAS",
|
||||
"resetFormOnClick": false,
|
||||
"responsiveBehavior": "hug",
|
||||
"rightColumn": 11,
|
||||
"text": "Platz 1",
|
||||
"topRow": 14,
|
||||
"type": "BUTTON_WIDGET",
|
||||
"version": 1,
|
||||
"widgetId": "erqu29df4w",
|
||||
"widgetName": "Button1"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -42,7 +42,6 @@
|
||||
"responsiveBehavior": "hug",
|
||||
"rightColumn": 22,
|
||||
"text": "Terminplanung",
|
||||
"tooltip": "Test",
|
||||
"topRow": 9,
|
||||
"type": "BUTTON_WIDGET",
|
||||
"version": 1,
|
||||
|
||||
Reference in New Issue
Block a user